
SpanNearQuery
- Namespace
- Rowles.LeanLucene.Search.Queries
- Assembly
- Rowles.LeanLucene.dll
Matches documents where the spans from all clauses appear within Slop positions of each other. When InOrder is true, the spans must appear in the given order.
public sealed class SpanNearQuery : SpanQuery, IEquatable<Query>
- Inheritance
-
SpanNearQuery
- Inherited Members
- Extension Methods
SpanNearQuery(SpanQuery[], int, bool)
Initialises a new SpanNearQuery with the given clauses, slop, and ordering constraint.
Clauses
Gets the ordered list of span sub-queries that must appear within the slop window.
Field
The field these spans are evaluated against. All sub-queries of a span query must agree on this field.
InOrder
Gets a value indicating whether spans must appear in the order given by Clauses.
Slop
Gets the maximum positional distance allowed between span boundaries.
Equals(object?)
Determines whether the specified object is equal to the current object.
GetHashCode()
Serves as the default hash function.