org.apache.lucene.search.spans
public class SpanFirstQuery extends SpanQuery
Constructor Summary | |
---|---|
SpanFirstQuery(SpanQuery match, int end) Construct a SpanFirstQuery matching spans in match whose end
position is less than or equal to end . |
Method Summary | |
---|---|
boolean | equals(Object o) |
void | extractTerms(Set terms) |
int | getEnd() Return the maximum end position permitted in a match. |
String | getField() |
SpanQuery | getMatch() Return the SpanQuery whose matches are filtered. |
Spans | getSpans(IndexReader reader) |
Collection | getTerms() Returns a collection of all terms matched by this query. |
int | hashCode() |
Query | rewrite(IndexReader reader) |
String | toString(String field) |
match
whose end
position is less than or equal to end
.Deprecated: use extractTerms instead
Returns a collection of all terms matched by this query.See Also: extractTerms