vipins
(vipins)
September 19, 2014, 9:42am
1
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 elasticsearch+unsubscribe@googlegroups.com .
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 .
dadoonet
(David Pilato)
September 19, 2014, 9:47am
2
http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/query-dsl-exists-filter.html#query-dsl-exists-filter
--
David Pilato | Technical Advocate | elasticsearch.com
david.pilato@elasticsearch.com
@dadoonet | @elasticsearchfr | @scrutmydocs
Le 19 septembre 2014 à 11:42:43, Vipin Sudhakar (sumitharjunan@gmail.com ) 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 elasticsearch+unsubscribe@googlegroups.com .
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 elasticsearch+unsubscribe@googlegroups.com .
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/etPan.541bfba1.7545e146.18d1%40MacBook-Air-de-David.local .
For more options, visit https://groups.google.com/d/optout .
dadoonet
(David Pilato)
September 19, 2014, 9:48am
3
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
david.pilato@elasticsearch.com
@dadoonet | @elasticsearchfr | @scrutmydocs
Le 19 septembre 2014 à 11:47:15, David Pilato (david@pilato.fr) 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
david.pilato@elasticsearch.com
@dadoonet | @elasticsearchfr | @scrutmydocs
Le 19 septembre 2014 à 11:42:43, Vipin Sudhakar (sumitharjunan@gmail.com ) 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 elasticsearch+unsubscribe@googlegroups.com .
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 elasticsearch+unsubscribe@googlegroups.com .
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 .
vipins
(vipins)
September 19, 2014, 10:00am
4
Thanks a lot..
On Friday, September 19, 2014 3:18:27 PM UTC+5:30, David Pilato wrote:
And you meant in Java:
Elasticsearch Platform — Find real-time answers at scale | Elastic
--
David Pilato | Technical Advocate | elasticsearch.com
http://elasticsearch.com
david....@elasticsearch.com <javascript:>
@dadoonet https://twitter.com/dadoonet | @elasticsearchfr
https://twitter.com/elasticsearchfr | @scrutmydocs
http://twitter.com/scrutmydocs
https://twitter.com/scrutmydocs
Le 19 septembre 2014 à 11:47:15, David Pilato (da...@pilato.fr
<javascript:>) a écrit:
Elasticsearch Platform — Find real-time answers at scale | Elastic
--
Le 19 septembre 2014 à 11:42:43, Vipin Sudhakar (sumith...@gmail.com
<javascript:>) 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 elasticsearc...@googlegroups.com <javascript:>.
To view this discussion on the web visit
https://groups.google.com/d/msgid/elasticsearch/1ce800f3-4192-4d5c-a08a-3766699a3b0c%40googlegroups.com
https://groups.google.com/d/msgid/elasticsearch/1ce800f3-4192-4d5c-a08a-3766699a3b0c%40googlegroups.com?utm_medium=email&utm_source=footer
.
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 elasticsearch+unsubscribe@googlegroups.com .
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/c6395319-80a9-49ad-bf22-f552e62b6730%40googlegroups.com .
For more options, visit https://groups.google.com/d/optout .