Table of Contents

Public classSealed SpanNotQuery

Namespace
Rowles.LeanLucene.Search.Queries
Assembly
Rowles.LeanLucene.dll

Matches spans from Include that do not overlap with any span from Exclude.

public sealed class SpanNotQuery : SpanQuery, IEquatable<Query>
Inheritance
SpanNotQuery
Inherited Members
Extension Methods

Constructors

Public constructor SpanNotQuery(SpanQuery, SpanQuery)

Initialises a new SpanNotQuery with the given include and exclude span queries.

Properties

Public propertyRead-only Exclude

Gets the span query whose matches are excluded from the results of Include.

Public propertyRead-only Field

The field these spans are evaluated against. All sub-queries of a span query must agree on this field.

Public propertyRead-only Include

Gets the span query whose matches are included when they do not overlap with Exclude.

Methods

Public method Equals(object?)

Determines whether the specified object is equal to the current object.

Public method GetHashCode()

Serves as the default hash function.