Hey,
not sure if you really want to test for an empty string, or maybe for an
empty field? There is a missing filter which you could potentially use for
that, see
http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/query-dsl-missing-filter.html#query-dsl-missing-filter
--Alex
Hi Paul
You need to use a missing filter:
http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/query-dsl-missing-filter.html#query-dsl-missing-filter
You can read the section of the guide about Dealing with null values
here:
Hi,
Thanks for everyone's patience while I learn the elasticsearch query DSL.
I'm trying to get used to its verbosity.
How would I do a query like this, again in SQL parlance: select col1 from
mysource where col2 = ?
--
You received this message because you are subscribed to the Google
Hi,
Thanks for everyone's patience while I learn the elasticsearch query DSL.
I'm trying to get used to its verbosity.
How would I do a query like this, again in SQL parlance: select col1 from
mysource where col2 = and col3 in [, one, two] and col4 = foo
--
You received this message