Elastic search query syntax vs lucene query syntax

Can some one clarify /confirm this .

End user uses lucene query syntax .'

For proximity searches lucene has ~ operator where elastic search expects
provide DSL in span queries

Example : lucene query "United States"~ 30(which is the user query) will be
converted to span query by the elastic search clients like NEST

Am I correct

--
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/bcf38a7c-a17f-4fa6-9278-7344631682ab%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Are you looking for the query_string query?
http://www.elastic.co/guide/en/elasticsearch/reference/1.x/query-dsl-query-string-query.html

On Thu, Apr 9, 2015 at 5:36 AM, bvnrwork budda08nitt@gmail.com wrote:

Can some one clarify /confirm this .

End user uses lucene query syntax .'

For proximity searches lucene has ~ operator where elastic search expects
provide DSL in span queries

Example : lucene query "United States"~ 30(which is the user query) will
be converted to span query by the elastic search clients like NEST

Am I correct

--
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/bcf38a7c-a17f-4fa6-9278-7344631682ab%40googlegroups.com
https://groups.google.com/d/msgid/elasticsearch/bcf38a7c-a17f-4fa6-9278-7344631682ab%40googlegroups.com?utm_medium=email&utm_source=footer
.
For more options, visit https://groups.google.com/d/optout.

--
Adrien

--
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/CAO5%3DkAhadGw_ey3gQb1ojOdOObzdH-qAdsD-zef2cSE39ME6nA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.