Section navigation

Public classSealed FieldMaskingSpanQuery

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

Reports spans from one field as though they belonged to another field.

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

Public constructor FieldMaskingSpanQuery(SpanQuery, string)

Initialises a field-masking 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 MaskedQuery

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.