Section navigation

Public classSealed SingleRangeQuery

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

Numeric range query over single-precision values.

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

Public constructor SingleRangeQuery(string, float, float, bool, bool)

Initialises a single-precision range query.

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 upper bound.

Public property Min

Gets the lower bound.

Public method Equals(object?)

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

Public method GetHashCode()

Serves as the default hash function.

Public method Rewrite()

Rewrites this query to an executable query form. Custom query types can override this to lower themselves to built-in queries.