Wesley, it sounds like you just need a standard "inner-object" mapping 
instead of a "nested mapping". The nested mapping is indexed and queried 
differently (i.e. you need to use the nested query/filter). In your case, I 
would just remove the nested type from categories and your query should 
work fine. Just double check the right casing of your field names when you 
query them.

-- 
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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/elasticsearch/a89408d5-5901-48a5-a1a7-8b07cdc04296%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to