Table of Contents

Public classSealed SpanTermQuery

Namespace
Rowles.LeanLucene.Search.Queries
Assembly
Rowles.LeanLucene.dll

A span query matching a single term.

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

Constructors

Public constructor SpanTermQuery(string, string)

Initialises a new SpanTermQuery for the given field and term.

Properties

Internal propertyInternal CachedQualifiedTerm

Cached qualified term to avoid repeated string.Concat.

Public propertyRead-only Field

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

Public propertyRead-only Term

Gets the term that this span query matches.

Methods

Public method Equals(object?)

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

Public method GetHashCode()

Serves as the default hash function.