Section navigation

Public classSealed SpanTermQuery

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

A span query matching a single term.

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

Public constructor SpanTermQuery(string, string)

Initialises a new SpanTermQuery for the given field and term.

Public property Field

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

Public property Term

Gets the term that this span query matches.

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.