elasticsearch query_string filter syntax bug (version 1.7.x) -
im looking bug in following query, doesn't bring results. want act terms filter, , exact values in country / device fields
get idx/type/_search { "query": { "filtered": { "filter": { "and": { "filters": [ { "query": { "query_string": { "query": "country:\"united kingdom\" , device:\"desktop\"" } } } ] } } } } }
specifically, works:
"query": { "query_string": { "query": "\"united kingdom\"" } }
but doesnt work:
"query": { "query_string": { "query": "country:\"united kingdom\"" } }
mapping:
"country": { "type": "string", "index": "not_analyzed", "doc_values": true },
Comments
Post a Comment