Trying to compose a query and filter combination to no avail: { "from":0, "size":200, "query":{ "filtered":{ "query":{ "query_string":{ "fields":[ "_all" ], "query":"\"Test message\"" } }, "filter":{ "and":[ { "term":{ "appId":"a32b782c-3c51-4d76-9b01-c4c1ffe53d8b" } }, { "term":{ "processId":"754311ef-d807-4bb4-8c5e-1b480fb7034f" } } ] } } } }
That parses fine by ES, but never returns the results. I know the two fields are correct and in my index. If I take off the 'filter', I get the expected results, but I need the filter to narrow the results. When I compose the same query using Kibana, it tries to use an 'ffilter' query which I don't see documented anywhere: "filter": { "bool": { "must": [ { "terms": { "_type": [ "event" ] } }, { "fquery": { "query": { "query_string": { "query": "appId:(\"a32b782c-3c51-4d76-9b01-c4c1ffe53d8b\")" } }, "_cache": true } } ] } Any pointers would be most appreciated. Pulling my hair out here. -- 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+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/666c3b42-222d-420b-9997-5b660713396d%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.