Package com.atlassian.jira.issue.index
Interface UnmanagedIndexSearcherProvider
- All Known Subinterfaces:
IssueIndexer
- All Known Implementing Classes:
DefaultIssueIndexer
,MockIssueIndexer
public interface UnmanagedIndexSearcherProvider
Provides you access to
UnmanagedIndexSearcher
.
Most of the time you want to get the ManagedIndexSearcher
via SearcherCache
- Since:
- v8.10 - extracted from
IssueIndexer
-
Method Summary
Modifier and TypeMethodDescriptionIssue searcher has to be closed after doing stuff.
-
Method Details
-
openEntitySearcher
Issue searcher has to be closed after doing stuff. Note: when doing this you need to have the index read lock, as this may trigger creating index when not there; SeeDefaultIndexManager.indexLock
. SeeDefaultIndexManager.getEntitySearcher(IndexDirectoryFactory.Name)
()}.
-