Need Query Help

Hi,

How to retrieve all the documents in which specified field has value ?

field:[* TO *] matches all documents with the field (from solr wiki
http://wiki.apache.org/solr/SolrQuerySyntax )

Anantha Govindarajan.

--
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/c621d69d-f463-4861-be99-e1cff0c224ba%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

hi
i hope i understand your question.
you should use exists filter:
http://www.elastic.co/guide/en/elasticsearch/reference/current/query-dsl-exists-filter.html

--
Please update your bookmarks! We moved to https://discuss.elastic.co/

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/a0f0f78f-2d02-4e13-81f9-f891aa30cc9e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.