Open svanschalkwyk opened 9 months ago
I'd like to use a grammar to validate queries.
Access to the DSL grammar. I can only find SQL and Painless grammars.
Search
No response
AFAIK no, where did you find the other grammars (links?)? Is this something that belongs in https://github.com/opensearch-project/opensearch-api-specification?
@dblock just search for *.g4 files.
Oh I see, https://github.com/opensearch-project/OpenSearch/tree/main/modules/lang-painless/src/main/antlr.
[Triage - attendees 1 2 3] @svanschalkwyk Thanks for filing, we'd welcome a pull request to add this feature.
Is your feature request related to a problem? Please describe
I'd like to use a grammar to validate queries.
Describe the solution you'd like
Access to the DSL grammar. I can only find SQL and Painless grammars.
Related component
Search
Describe alternatives you've considered
No response
Additional context
No response