Class SearcherWithTokenAction
- java.lang.Object
-
- com.atlassian.confluence.internal.search.v2.lucene.SearcherWithTokenAction
-
- All Implemented Interfaces:
ILuceneConnection.SearcherWithTokenAction<TopDocuments>
public class SearcherWithTokenAction extends Object implements ILuceneConnection.SearcherWithTokenAction<TopDocuments>
-
-
Constructor Summary
Constructors Constructor Description SearcherWithTokenAction(org.apache.lucene.search.Query query, org.apache.lucene.search.Filter filter, org.apache.lucene.search.Sort sort, int startOffset, int limit, Set<String> requestedFields)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
isExplain()
TopDocuments
perform(org.apache.lucene.search.IndexSearcher indexSearcher, long searchToken)
Perform search.void
setExplain(boolean explain)
-
-
-
Method Detail
-
perform
public TopDocuments perform(org.apache.lucene.search.IndexSearcher indexSearcher, long searchToken) throws IOException
Description copied from interface:ILuceneConnection.SearcherWithTokenAction
Perform search. The searcher is managed which means you must not close the searcher.- Specified by:
perform
in interfaceILuceneConnection.SearcherWithTokenAction<TopDocuments>
- Throws:
IOException
-
setExplain
public void setExplain(boolean explain)
-
isExplain
public boolean isExplain()
-
-