Search key field?


(Andrej) #1

Can I run a search query on the key field? If so, how would it be
analyzed?


(Clinton Gormley) #2

On Tue, 2011-08-23 at 01:25 -0700, Andrej Rosenheinrich wrote:

Can I run a search query on the key field? If so, how would it be
analyzed?

???


(Erick Tryzelaar) #3

On Tue, Aug 23, 2011 at 1:25 AM, Andrej Rosenheinrich
andrej.rosenheinrich@unister.de wrote:

Can I run a search query on the key field? If so, how would it be
analyzed?

ES stores all the fields for an index in the mapping document. Could
you just grab it and see if your key field exists? Here's the docs for
that.

http://www.elasticsearch.org/guide/reference/api/admin-indices-get-mapping.html


(system) #4