public class SearcherWithTokenAction extends Object implements com.atlassian.bonnie.ILuceneConnection.SearcherWithTokenAction<TopDocuments>
Constructor and 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) |
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,
LuceneResultFilter luceneResultFilter)
Deprecated.
since this constructor accepts the deprecated
LuceneResultFilter as a parameter.
If you need to perform post-search result filtering, perform it on the SearchResults
returned by SearchManager . |
Modifier and Type | Method and Description |
---|---|
TopDocuments |
perform(org.apache.lucene.search.IndexSearcher indexSearcher,
long searchToken) |
public 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)
@Deprecated public 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, LuceneResultFilter luceneResultFilter)
LuceneResultFilter
as a parameter.
If you need to perform post-search result filtering, perform it on the SearchResults
returned by SearchManager
.public TopDocuments perform(org.apache.lucene.search.IndexSearcher indexSearcher, long searchToken) throws IOException
perform
in interface com.atlassian.bonnie.ILuceneConnection.SearcherWithTokenAction<TopDocuments>
IOException
Copyright © 2003–2018 Atlassian. All rights reserved.