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 | |
|---|---|
| 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() |
| String | toString(String field) |
match whose end
position is less than or equal to end.