Package org.apache.lucene.search.spans
Class SpanPositionRangeQuery
java.lang.Object
org.apache.lucene.search.Query
org.apache.lucene.search.spans.SpanQuery
org.apache.lucene.search.spans.SpanPositionCheckQuery
org.apache.lucene.search.spans.SpanPositionRangeQuery
- All Implemented Interfaces:
Cloneable
- Direct Known Subclasses:
SpanFirstQuery
Checks to see if the
SpanPositionCheckQuery.getMatch() lies between a start and end position- See Also:
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.apache.lucene.search.spans.SpanPositionCheckQuery
extractTerms, getField, getMatch, getSpans, rewriteMethods inherited from class org.apache.lucene.search.spans.SpanQuery
createWeight
-
Constructor Details
-
SpanPositionRangeQuery
-
-
Method Details
-
getStart
public int getStart()- Returns:
- The minimum position permitted in a match
-
getEnd
public int getEnd()- Returns:
- the maximum end position permitted in a match.
-
toString
Description copied from class:QueryPrints a query to a string, withfieldassumed to be the default field and omitted. -
clone
Description copied from class:QueryReturns a clone of this query. -
equals
-
hashCode
public int hashCode()
-