Section navigation

Public classSealed RangeQuery

Namespace
Rowles.LeanCorpus.Search.Queries
Assembly
Rowles.LeanCorpus.dll

Numeric range filter over NumericField values.

public sealed class RangeQuery : Query, IEquatable<Query>
Inheritance
RangeQuery
Implements
Inherited Members
Extension Methods

Public constructor RangeQuery(string, double, double, bool, bool)

Initialises a new RangeQuery for the given field and numeric bounds.

Public property Field

Gets the single field this query targets, or an empty value for fieldless and multi-field queries.

Public property IncludeMax

Gets whether the upper bound is inclusive.

Public property IncludeMin

Gets whether the lower bound is inclusive.

Public property Max

Gets the inclusive upper bound of the numeric range.

Public property Min

Gets the inclusive lower bound of the numeric range.

Public method Equals(object?)

Determines whether the specified object is equal to the current object.

Public method GetHashCode()

Serves as the default hash function.