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
ConstructorDescriptionSearcherWithTokenAction
(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
Modifier and TypeMethodDescriptionboolean
perform
(org.apache.lucene.search.IndexSearcher indexSearcher, long searchToken) Perform search.void
setExplain
(boolean explain)
-
Constructor Details
-
SearcherWithTokenAction
-
-
Method Details
-
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()
-