Class: NumericRangeQuery

SearchQuery. NumericRangeQuery


<private> new NumericRangeQuery()

Members


boost

boost defines the amount to boost this query.


field

field specifies the field to query.


<private> toJSON

Serializes this query to JSON for network dispatch.

Methods


max(max, inclusive)

max defines the upper bound of this numeric range query.

Parameters:
Name Type Description
max number
inclusive boolean
Returns:
Type
SearchQuery.NumericRangeQuery

min(min, inclusive)

min defines the lower bound of this numeric range query.

Parameters:
Name Type Description
min number
inclusive boolean
Returns:
Type
SearchQuery.NumericRangeQuery