We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Building dynamic ES queries without parameters feels totally wrong. For example:
GET dev/_search { "aggs": { "suggestions": { "terms": { "field": "report.tech.pkgs_kw.k.keyword", "include": "mon.*" } } }, "size": 0 }
where "include": "mon.*" is a dynamic field filled with user input. It allows Regex, so has to be thoroughly validated and escaped.
"include": "mon.*"
There should be a way of doing it via params like in SQL.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Building dynamic ES queries without parameters feels totally wrong. For example:
where
"include": "mon.*"
is a dynamic field filled with user input. It allows Regex, so has to be thoroughly validated and escaped.There should be a way of doing it via params like in SQL.
The text was updated successfully, but these errors were encountered: