Table of Contents

Public classSealed TermQuery

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

Single exact-term lookup against the index.

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

Constructors

Public constructor TermQuery(string, string)

Initialises a new TermQuery for the given field and term.

Properties

Internal propertyInternal CachedQualifiedTerm

Lazily-cached "field\0term" string used by IndexSearcher to avoid per-search allocation.

Public propertyRead-only Field

Gets the primary field this query targets.

Public propertyRead-only Term

Gets the exact term to match against indexed tokens.

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.