
TermQuery
- Namespace
- Rowles.LeanCorpus.Search.Queries
- Assembly
- Rowles.LeanCorpus.dll
Single exact-term lookup against the index.
public sealed class TermQuery : Query, IEquatable<Query>
- Inheritance
-
TermQuery
- Implements
- Inherited Members
- Extension Methods
TermQuery(string, string)
Initialises a new TermQuery for the given field and term.
Field
Gets the single field this query targets, or an empty value for fieldless and multi-field queries.
Term
Gets the exact term to match against indexed tokens.
Equals(object?)
Determines whether the specified object is equal to the current object.
GetHashCode()
Serves as the default hash function.
Visit(QueryVisitor)
Visits this query and its children.