Re: Testing for an Empty String With the Following

2014-04-21 Thread Alexander Reelsen
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

Re: Testing for an Empty String

2014-04-19 Thread Clinton Gormley
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:

Testing for an Empty String

2014-04-18 Thread Paul
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

Testing for an Empty String With the Following

2014-04-18 Thread Paul
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