public interface

SearchProviderFactory

com.atlassian.jira.issue.search.SearchProviderFactory
Known Indirect Subclasses

Class Overview

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.

Summary

Constants
String CHANGE_HISTORY_INDEX
String COMMENT_INDEX
String ISSUE_INDEX
String WORKLOG_INDEX
Public Methods
IndexSearcher getSearcher(String searcherName)
Get a Lucene IndexSearcher that can be used to search a Lucene index.

Constants

public static final String CHANGE_HISTORY_INDEX

Constant Value: "changes"

public static final String COMMENT_INDEX

Constant Value: "comments"

public static final String ISSUE_INDEX

Constant Value: "issues"

public static final String WORKLOG_INDEX

Constant Value: "worklog"

Public Methods

public 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).