public class SpanPositionRangeQuery extends SpanPositionCheckQuery
SpanPositionCheckQuery.getMatch() lies between a start and end position| Constructor and Description |
|---|
SpanPositionRangeQuery(SpanQuery match,
int start,
int end) |
| Modifier and Type | Method and Description |
|---|---|
SpanPositionRangeQuery |
clone()
Returns a clone of this query.
|
boolean |
equals(java.lang.Object o) |
int |
getEnd() |
int |
getStart() |
int |
hashCode() |
java.lang.String |
toString(java.lang.String field)
Prints a query to a string, with
field assumed to be the
default field and omitted. |
extractTerms, getField, getMatch, getSpans, rewritecreateWeightpublic SpanPositionRangeQuery(SpanQuery match, int start, int end)
public int getStart()
public int getEnd()
public java.lang.String toString(java.lang.String field)
Queryfield assumed to be the
default field and omitted.public SpanPositionRangeQuery clone()
QueryCopyright © 2010 - 2024 Adobe. All Rights Reserved