Equality on numeric field in a filter

I'm trying to figure out the best way to check for equality on a numeric
field in a filter. (I'm using a custom_filters_score query, and I want to
boost documents by a specific amount if they have a certain value in a
certain numeric field)
There's a 'match' query, but no 'match' filter, at least according to the
docs.
Do I have to use numeric_range, and just set the 'from' and the 'to'
accordingly?
Thanks,
Dan

--

You can use term filter and numeric_range filter.

On Wednesday, December 5, 2012 6:12:57 PM UTC-5, Daniel Weitzenfeld wrote:

I'm trying to figure out the best way to check for equality on a numeric
field in a filter. (I'm using a custom_filters_score query, and I want to
boost documents by a specific amount if they have a certain value in a
certain numeric field)
There's a 'match' query, but no 'match' filter, at least according to the
docs.
Do I have to use numeric_range, and just set the 'from' and the 'to'
accordingly?
Thanks,
Dan

--