org.apache.lucene.search.spans
public class SpanNotQuery extends SpanQuery
| Constructor Summary | |
|---|---|
| SpanNotQuery(SpanQuery include, SpanQuery exclude) Construct a SpanNotQuery matching spans from include which
have no overlap with spans from exclude. | |
| Method Summary | |
|---|---|
| SpanQuery | getExclude() Return the SpanQuery whose matches must not overlap those returned. |
| String | getField() |
| SpanQuery | getInclude() Return the SpanQuery whose matches are filtered. |
| Spans | getSpans(IndexReader reader) |
| Collection | getTerms() |
| String | toString(String field) |
include which
have no overlap with spans from exclude.