Java org.apache.lucene.search.spans SpanNotQuery fields, constructors, methods, implement or subclass

Example usage for Java org.apache.lucene.search.spans SpanNotQuery fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for org.apache.lucene.search.spans SpanNotQuery.

The text is from its open source code.

Constructor

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.

Method

SpanQuerygetExclude()
Return the SpanQuery whose matches must not overlap those returned.
SpanQuerygetInclude()
Return the SpanQuery whose matches are filtered.