
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
TermQuery(string, string)
Initialises a new TermQuery for the given field and term.
Properties
CachedQualifiedTerm
Lazily-cached "field\0term" string used by IndexSearcher to avoid per-search allocation.
Field
Gets the primary field this query targets.
Term
Gets the exact term to match against indexed tokens.
Methods
Equals(object?)
Determines whether the specified object is equal to the current object.
GetHashCode()
Serves as the default hash function.