
TermRangeQuery
- Namespace
- Rowles.LeanLucene.Search.Queries
- Assembly
- Rowles.LeanLucene.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
- Inherited Members
- Extension Methods
Constructors
TermRangeQuery(string, string?, string?, bool, bool)
Initialises a new TermRangeQuery for the given field and lexicographic bounds.
Properties
Field
Gets the primary field this query targets.
IncludeLower
Gets a value indicating whether the lower bound is inclusive.
IncludeUpper
Gets a value indicating whether the upper bound is inclusive.
Methods
Equals(object?)
Determines whether the specified object is equal to the current object.
GetHashCode()
Serves as the default hash function.