Formal Grammar of Query DSL?

Hi,

is there available any formal grammar of Query DSL for Elasticsearch? (may
be a PEG one [1] could be a good fit?)

Regards,
Lukas

[1] http://en.wikipedia.org/wiki/Parsing_expression_grammar

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

1 Like

Not a direct match,
but i did locate this grammar to lucene.

https://github.com/thoward/lucene-query-parser.js/blob/master/lucene-query.grammar

On Tuesday, April 22, 2014 1:26:23 PM UTC-7, Lukáš Vlček wrote:

Hi,

is there available any formal grammar of Query DSL for Elasticsearch? (may
be a PEG one [1] could be a good fit?)

Regards,
Lukas

[1] Parsing expression grammar - Wikipedia

--
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/eae27cb6-5bc1-44cf-91a4-43e1edc4132c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Not direct match but very interesting indeed! :slight_smile:

On Tue, Apr 22, 2014 at 10:40 PM, Nick Tackes ntackes@gmail.com wrote:

Not a direct match,
but i did locate this grammar to lucene.

https://github.com/thoward/lucene-query-parser.js/blob/master/lucene-query.grammar

On Tuesday, April 22, 2014 1:26:23 PM UTC-7, Lukáš Vlček wrote:

Hi,

is there available any formal grammar of Query DSL for Elasticsearch?
(may be a PEG one [1] could be a good fit?)

Regards,
Lukas

[1] Parsing expression grammar - Wikipedia

--
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/eae27cb6-5bc1-44cf-91a4-43e1edc4132c%40googlegroups.comhttps://groups.google.com/d/msgid/elasticsearch/eae27cb6-5bc1-44cf-91a4-43e1edc4132c%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/CAO9cvUZKODYkJ_-fUiJzEaWB4cDo_FH1ndCJf9Q7CvDiUiSyBQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.