Package org.apache.lucene.queries
Class SearchAfterSortedDocQuery
- java.lang.Object
-
- org.apache.lucene.search.Query
-
- org.apache.lucene.queries.SearchAfterSortedDocQuery
-
public class SearchAfterSortedDocQuery extends org.apache.lucene.search.Query
AQuery
that only matches documents that are greater than the providedFieldDoc
. This works only if the index is sorted according to the given searchSort
.
-
-
Constructor Summary
Constructors Constructor Description SearchAfterSortedDocQuery(org.apache.lucene.search.Sort sort, org.apache.lucene.search.FieldDoc after)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.apache.lucene.search.Weight
createWeight(org.apache.lucene.search.IndexSearcher searcher, boolean needsScores, float boost)
boolean
equals(java.lang.Object other)
int
hashCode()
java.lang.String
toString(java.lang.String field)
-
-
-
Method Detail
-
createWeight
public org.apache.lucene.search.Weight createWeight(org.apache.lucene.search.IndexSearcher searcher, boolean needsScores, float boost) throws java.io.IOException
- Overrides:
createWeight
in classorg.apache.lucene.search.Query
- Throws:
java.io.IOException
-
toString
public java.lang.String toString(java.lang.String field)
- Specified by:
toString
in classorg.apache.lucene.search.Query
-
equals
public boolean equals(java.lang.Object other)
- Specified by:
equals
in classorg.apache.lucene.search.Query
-
hashCode
public int hashCode()
- Specified by:
hashCode
in classorg.apache.lucene.search.Query
-
-