Matching an integer field

Hi,

Is it possible to filter by an integer field? I want to do an exact value
match.

I have tried Elasticsearch Head to perform test queries. The integer field
is indexed, but I can not perform a match to it: the option is not
available, whereas it is available for the other fields.
I really need to match this field (it is the organization id, which is used
to split the data for our different clients). What are my options?

Thanks,
Daniel

--
You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearch+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Yes. The option is available, but unfortunately a little bit hidden in
the docs. For integers you can just use the "term" filter. Example:

Jörg

Am 05.03.13 22:21, schrieb Daniel Gonzalez:

Hi,

Is it possible to filter by an integer field? I want to do an exact
value match.

I have tried Elasticsearch Head to perform test queries. The integer
field is indexed, but I can not perform a match to it: the option is
not available, whereas it is available for the other fields.
I really need to match this field (it is the organization id, which is
used to split the data for our different clients). What are my options?

Thanks,
Daniel

You received this message because you are subscribed to the Google
Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send
an email to elasticsearch+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

--
You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearch+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.