Interface JiraIndexManager

All Superinterfaces:
IndexLifecycleManager, IndexSearcherProvider, InternalIndexingService, IssueIndexingService, IssueIndexManager, Shutdown, Sized
All Known Implementing Classes:
BulkOnlyIndexManager, DefaultIndexManager, IndexManagerBase, OpenSearchJiraIndexManager

@Deprecated(since="11.0") @Internal public interface JiraIndexManager extends IssueIndexManager, InternalIndexingService, IndexSearcherProvider
Deprecated.
Manages Lucene search indexes. Not intended for use by 3rd party plugins. Use IssueIndexingService, IndexLifecycleManager or IndexAccessor if you need to access the indexes for platform-agnostic indexing and searching. For internal usage, IssueIndexer is also available. This interface only has a Lucene implementation, so should only be used by components that are active only when the search platform is Lucene
  • Method Details

    • get

      default org.apache.lucene.search.IndexSearcher get(String documentType)
      Deprecated.
      Returns an IndexSearcher for the specified document type.
      Specified by:
      get in interface IndexSearcherProvider
      Parameters:
      documentType - the type of DocumentTypes to get the IndexSearcher for
      Returns:
      an IndexSearcher for the specified document type
      Throws:
      IllegalArgumentException - if the document type cannot be matched to a known index directory