Section navigation

Public classSealed SpanFirstQuery

Namespace
Rowles.LeanCorpus.Search.Queries
Assembly
Rowles.LeanCorpus.dll

Matches spans whose end position is at or before a field position.

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

Public constructor SpanFirstQuery(SpanQuery, int)

Initialises a first-span query.

Public property End

Gets the exclusive upper field position.

Public property Field

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

Public property Match

Gets the wrapped span query.

Public method Equals(object?)

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

Public method GetHashCode()

Serves as the default hash function.

Public method Visit(QueryVisitor)

Visits this query and its children.