Class: TermRangeQuery

SearchQuery. TermRangeQuery

<private> new TermRangeQuery()

Members

boost

boost defines the amount to boost this query.

field

Specifies the field to query.

<private> toJSON

Serializes this query to JSON for network dispatch.

Methods

max(max, inclusive) → {SearchQuery.TermRangeQuery}

max defines the upper bound of this term range query.

Parameters:
Name Type Description
max string
inclusive boolean
Returns:
Type
SearchQuery.TermRangeQuery

min(min, inclusive) → {SearchQuery.TermRangeQuery}

min defines the lower bound of this term range query.

Parameters:
Name Type Description
min string
inclusive boolean
Returns:
Type
SearchQuery.TermRangeQuery