
TermRangeQuery
- Namespace
- Rowles.LeanCorpus.Search.Queries
- Assembly
- Rowles.LeanCorpus.dll
Matches documents whose field value falls within a lexicographic range.
Bounds can be inclusive or exclusive; null means unbounded.
public sealed class TermRangeQuery : Query, IEquatable<Query>
- Inheritance
-
TermRangeQuery
- Implements
- Inherited Members
- Extension Methods
TermRangeQuery(string, string?, string?, bool, bool)
Initialises a new TermRangeQuery for the given field and lexicographic bounds.
Field
Gets the single field this query targets, or an empty value for fieldless and multi-field queries.
IncludeLower
Gets a value indicating whether the lower bound is inclusive.
IncludeUpper
Gets a value indicating whether the upper bound is inclusive.
LowerTerm
Gets the optional inclusive or exclusive lower bound, or null for unbounded.
UpperTerm
Gets the optional inclusive or exclusive upper bound, or null for unbounded.
Equals(object?)
Determines whether the specified object is equal to the current object.
GetHashCode()
Serves as the default hash function.