suppose we have a type Recipe with field ingredients that stores a JSON string array. a couple of Recipe docs' ingredients values may therefore be: 1) [ "apples", "oranges] 2) [ "apples" ]
what query would return docs whose ingredients contain solely "apples" (thus only return #2 from the above set)? I thought query string / field query<http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/query-dsl-query-string-query.html#query-string-syntax>would work but using: ingredients:"apples" also returns #1. Thank you, -nikita -- 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/7ad78322-803f-4f61-8428-82046dfd8bfb%40googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
