org.apache.lucene.search.spans
public class SpanNearQuery extends SpanQuery
| Constructor Summary | |
|---|---|
| SpanNearQuery(SpanQuery[] clauses, int slop, boolean inOrder) Construct a SpanNearQuery. | |
| Method Summary | |
|---|---|
| SpanQuery[] | getClauses() Return the clauses whose spans are matched. |
| String | getField() |
| int | getSlop() Return the maximum number of intervening unmatched positions permitted. |
| Spans | getSpans(IndexReader reader) |
| Collection | getTerms() |
| boolean | isInOrder() Return true if matches are required to be in-order. |
| String | toString(String field) |
slop total unmatched positions between
them. * When inOrder is true, the spans from each clause
must be * ordered as in clauses.