com.atlassian.jira.issue.search
Interface SearchProviderFactory
- All Known Implementing Classes:
- SearchProviderFactoryImpl
public interface SearchProviderFactory
Provides low-level searches that can be used to query indexes. In JIRA's case these are
Lucene IndexSearcher
s.
NOTE: This class should perhaps be re-name to 'SearcherFactory' as SearchProvider
s are something
a little different in JIRA.
Method Summary |
org.apache.lucene.search.IndexSearcher |
getSearcher(String searcherName)
Get a Lucene IndexSearcher that can be used to search a Lucene index. |
ISSUE_INDEX
static final String ISSUE_INDEX
- See Also:
- Constant Field Values
COMMENT_INDEX
static final String COMMENT_INDEX
- See Also:
- Constant Field Values
CHANGE_HISTORY_INDEX
static final String CHANGE_HISTORY_INDEX
- See Also:
- Constant Field Values
getSearcher
org.apache.lucene.search.IndexSearcher getSearcher(String searcherName)
- Get a Lucene
IndexSearcher
that can be used to search a Lucene index.
At the moment the possible values for the searcherName argument are ISSUE_INDEX
(to search the
issue index) and COMMENT_INDEX
(to search the comment index).
Copyright © 2002-2012 Atlassian. All Rights Reserved.