Section navigation

Public classSealed TermInSetQuery

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

Matches documents containing any of the exact terms in the supplied set.

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

Public constructor TermInSetQuery(string, IEnumerable<string>)

Initialises a new TermInSetQuery.

Public constructor TermInSetQuery(string, params string[])

Initialises a new TermInSetQuery.

Public field MaxTermCount

Maximum distinct terms accepted by a single query instance.

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, sorted term set.

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.