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 Searcher
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.Searcher |
getSearcher(String searcherName)
Get a Lucene Searcher that can be used to search a Lucene index. |
ISSUE_INDEX
public static final String ISSUE_INDEX
- See Also:
- Constant Field Values
COMMENT_INDEX
public static final String COMMENT_INDEX
- See Also:
- Constant Field Values
getSearcher
public org.apache.lucene.search.Searcher getSearcher(String searcherName)
- Get a Lucene
Searcher
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-2007 Atlassian. All Rights Reserved.