Table of Contents

Public classSealed 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

Public constructor TermRangeQuery(string, string?, string?, bool, bool)

Initialises a new TermRangeQuery for the given field and lexicographic bounds.

Properties

Public propertyRead-only Field

Gets the primary field this query targets.

Public propertyRead-only IncludeLower

Gets a value indicating whether the lower bound is inclusive.

Public propertyRead-only IncludeUpper

Gets a value indicating whether the upper bound is inclusive.

Public propertyRead-only LowerTerm

Gets the optional inclusive or exclusive lower bound, or null for unbounded.

Public propertyRead-only UpperTerm

Gets the optional inclusive or exclusive upper bound, or null for unbounded.

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.