com.atlassian.jira.issue.search
Class SearchProviderFactoryImpl

java.lang.Object
  extended by com.atlassian.jira.issue.search.SearchProviderFactoryImpl
All Implemented Interfaces:
SearchProviderFactory

public class SearchProviderFactoryImpl
extends Object
implements SearchProviderFactory


Field Summary
 
Fields inherited from interface com.atlassian.jira.issue.search.SearchProviderFactory
CHANGE_HISTORY_INDEX, COMMENT_INDEX, ISSUE_INDEX
 
Constructor Summary
SearchProviderFactoryImpl()
           
SearchProviderFactoryImpl(IssueIndexManager issueIndexManager)
           
 
Method Summary
 org.apache.lucene.search.IndexSearcher getSearcher(String searcherName)
          Get a Lucene IndexSearcher that can be used to search a Lucene index.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SearchProviderFactoryImpl

public SearchProviderFactoryImpl(IssueIndexManager issueIndexManager)

SearchProviderFactoryImpl

public SearchProviderFactoryImpl()
Method Detail

getSearcher

public org.apache.lucene.search.IndexSearcher getSearcher(String searcherName)
Description copied from interface: SearchProviderFactory
Get a Lucene IndexSearcher that can be used to search a Lucene index.

At the moment the possible values for the searcherName argument are SearchProviderFactory.ISSUE_INDEX (to search the issue index) and SearchProviderFactory.COMMENT_INDEX (to search the comment index).

Specified by:
getSearcher in interface SearchProviderFactory


Copyright © 2002-2013 Atlassian. All Rights Reserved.