query: { filtered_query: { query: { match_all_query: {} }, filter: { range_filter: { field: "redemption_count", from: 0, to: 10, from_inclusive: false } } } }
Property | Type | Constraints | Description |
---|---|---|---|
field |
String | mandatory=true, nullable=false | The search field. |
from |
Object | The lower bound of the filter range. If not specified, the range is open-ended with respect to the lower bound. You can't leave both the lower and upper bounds open-ended. | |
from_inclusive |
Boolean | Indicates whether the lower bound of the range is inclusive. If not specified, the default is true. Set to false to make the lower bound exclusive. | |
to |
Object | The upper bound of the filter range. If not specified, the range is open-ended with respect to the upper bound. You can't leave both the upper and lower bounds open-ended. | |
to_inclusive |
Boolean | Indicates whether the upper bound of the range is inclusive. If not specified, the default is true. Set to false to made the upper bound exclusive. |