Can anyone help with this comparison between missing fields in filter vs. query?
On Sunday, August 3, 2014 12:18:05 PM UTC-5, pulkitsinghal wrote: > > I'm using elasticsearch v0.90.5 > > With a missing filter, we can track missing fields: > > http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/query-dsl-missing-filter.html > and make sure that a null_value also counts as missing. > > How can we do the same in a query_string? > > http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/query-dsl-query-string-query.html#_field_names > Based on my test so far, the non-existent field counts as missing but the > null_value field counts as present. > > How should I write my query? > -- 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/67d6303a-2694-4097-bf6d-c8ffcaaa9a58%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
