Example usage for Java org.apache.lucene.search.spans SpanNotQuery fields, constructors, methods, implement or subclass
The text is from its open source code.
SpanNotQuery(SpanQuery include, SpanQuery exclude) Construct a SpanNotQuery matching spans from include which have no overlap with spans from exclude . | |
SpanNotQuery(SpanQuery include, SpanQuery exclude, int pre, int post) Construct a SpanNotQuery matching spans from include which have no overlap with spans from exclude within pre tokens before or post tokens of include . |
SpanQuery | getExclude() Return the SpanQuery whose matches must not overlap those returned. |
SpanQuery | getInclude() Return the SpanQuery whose matches are filtered. |