Module script_fields

Source
Expand description

You can use the script_fields parameter to retrieve a script evaluation (based on different fields) for each hit.

https://www.elastic.co/guide/en/elasticsearch/reference/current/search-fields.html#script-fields

Structsยง

ScriptField
A script to calculate field value from the _source fields