Section navigation

Public classSealed TermsQuery

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

Matches documents containing any exact UTF-8 term in the supplied set.

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

Public constructor TermsQuery(string, IEnumerable<ReadOnlyMemory<byte>>)

Initialises a new TermsQuery.

Public constructor TermsQuery(string, params ReadOnlyMemory<byte>[])

Initialises a new TermsQuery.

Public property Field

Gets the single field this query targets, or an empty value for fieldless and multi-field queries.

Public property Terms

Gets the distinct, byte-sorted UTF-8 terms.

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.