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 | |
---|---|
boolean | equals(Object o) Returns true iff o is equal to this. |
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() |
int | hashCode() |
Query | rewrite(IndexReader reader) |
String | toString(String field) |
include
which
have no overlap with spans from exclude
.o
is equal to this.