And you meant in Java: 
http://www.elasticsearch.org/guide/en/elasticsearch/client/java-api/current/query-dsl-filters.html#exists-filter

-- 
David Pilato | Technical Advocate | elasticsearch.com
[email protected]
@dadoonet | @elasticsearchfr | @scrutmydocs



Le 19 septembre 2014 à 11:47:15, David Pilato ([email protected]) a écrit:

http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/query-dsl-exists-filter.html#query-dsl-exists-filter

-- 
David Pilato | Technical Advocate | elasticsearch.com
[email protected]
@dadoonet | @elasticsearchfr | @scrutmydocs



Le 19 septembre 2014 à 11:42:43, Vipin Sudhakar ([email protected]) a 
écrit:

We are migrating from mongo to ES

We have got  mongo query as below;

query.addCriteria(Criteria.where(FIELD_NAME).exists(true))

What is the equivalent query in Elastic Search usnig QueryBuilder?

Thanks.
--
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/1ce800f3-4192-4d5c-a08a-3766699a3b0c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

-- 
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/etPan.541bfbe1.12200854.18d1%40MacBook-Air-de-David.local.
For more options, visit https://groups.google.com/d/optout.

Reply via email to