SpanNotQuery
Removes matches which overlap with another SpanQuery or which are within x tokens before or y tokens after another SpanQuery.
Constructors
Construct a SpanNotQuery matching spans from include which have no overlap with spans from exclude.
Construct a SpanNotQuery matching spans from include which have no overlap with spans from exclude within dist tokens of include. Inversely, a negative dist value may be used to specify a certain amount of allowable overlap.
Construct a SpanNotQuery matching spans from include which have no overlap with spans from exclude within pre tokens before or post tokens of include. Inversely, negative values for pre and/or post allow a certain amount of overlap to occur.
Types
Creates SpanNotQuery scorer instances
Functions
Return the SpanQuery whose matches must not overlap those returned.
Return the SpanQuery whose matches are filtered.