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
Currently, RuntimeField does not support the lang and params fields inside the script for runtime_mappings, but this is supported by Elasticsearch.
lang
params
Example:
{ "runtime_mappings": { "measure": { "type": "long", "script": { "lang": "painless", "source": "emit(doc['measure'].value * params.factor);", "params": { "factor": 2 } } } }, "aggs": { "measure": { "terms": { "field": "measure" } } } }
Ref: https://www.elastic.co/guide/en/elasticsearch/reference/current/runtime-mapping-fields.html
The text was updated successfully, but these errors were encountered:
I opened a PR with the fix: #202
Sorry, something went wrong.
Successfully merging a pull request may close this issue.
Currently, RuntimeField does not support the
lang
andparams
fields inside the script for runtime_mappings, but this is supported by Elasticsearch.Example:
Ref: https://www.elastic.co/guide/en/elasticsearch/reference/current/runtime-mapping-fields.html
The text was updated successfully, but these errors were encountered: