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 IndexSearchers.

NOTE: This class should perhaps be re-name to 'SearcherFactory' as SearchProviders are something a little different in JIRA.


Field Summary
static String CHANGE_HISTORY_INDEX
           
static String COMMENT_INDEX
           
static String ISSUE_INDEX
           
 
Method Summary
 org.apache.lucene.search.IndexSearcher getSearcher(String searcherName)
          Get a Lucene IndexSearcher that can be used to search a Lucene index.
 

Field Detail

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
Method Detail

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-2014 Atlassian. All Rights Reserved.