com.atlassian.confluence.search.v2.lucene
Class SearcherWithTokenAction
java.lang.Object
com.atlassian.confluence.search.v2.lucene.SearcherWithTokenAction
- All Implemented Interfaces:
- com.atlassian.bonnie.ILuceneConnection.SearcherWithTokenAction<TopDocuments>
public class SearcherWithTokenAction
- extends java.lang.Object
- implements com.atlassian.bonnie.ILuceneConnection.SearcherWithTokenAction<TopDocuments>
Constructor Summary |
SearcherWithTokenAction(org.apache.lucene.search.Query query,
org.apache.lucene.search.Filter filter,
org.apache.lucene.search.Sort sort,
int startOffset,
int limit,
java.util.Set<java.lang.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,
java.util.Set<java.lang.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 . |
Method Summary |
TopDocuments |
perform(org.apache.lucene.search.IndexSearcher indexSearcher,
long searchToken)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SearcherWithTokenAction
public SearcherWithTokenAction(org.apache.lucene.search.Query query,
org.apache.lucene.search.Filter filter,
org.apache.lucene.search.Sort sort,
int startOffset,
int limit,
java.util.Set<java.lang.String> requestedFields)
SearcherWithTokenAction
@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,
java.util.Set<java.lang.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
.
perform
public TopDocuments perform(org.apache.lucene.search.IndexSearcher indexSearcher,
long searchToken)
throws java.io.IOException
- Specified by:
perform
in interface com.atlassian.bonnie.ILuceneConnection.SearcherWithTokenAction<TopDocuments>
- Throws:
java.io.IOException
Copyright © 2003-2014 Atlassian. All Rights Reserved.