Section navigation

Public classSealed SpanContainingQuery

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

Returns enclosing spans that contain a matching inner span.

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

Public constructor SpanContainingQuery(SpanQuery, SpanQuery)

Initialises a containing-span query.

Public property Big

Gets the enclosing span query.

Public property Field

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

Public property Little

Gets the contained 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.