public interface

IssueSearcherFactory

com.atlassian.jira.issue.index.IssueSearcherFactory
Known Indirect Subclasses

Class Overview

Provides org.apache.lucene.search.IndexSearcher for all issue indexes.

Summary

Public Methods
@Nonnull IndexSearcher getEntitySearcher(IndexDirectoryFactory.Name index)
Get an IndexSearcher that can be used to search the chosen index.

Public Methods

@Nonnull public IndexSearcher getEntitySearcher (IndexDirectoryFactory.Name index)

Get an IndexSearcher that can be used to search the chosen index.

Note: This is an unmanaged IndexSearcher. You MUST call close() when you are done with it. Alternatively you should really call passing in CHANGE_HISTORY_INDEX as it is a managed searcher and all the closing semantics are handled for you.