elasticsearch-test-scripts
elasticsearch-test-scripts copied to clipboard
Hi I tried your example in https://github.com/imotov/elasticsearch-test-scripts/blob/master/logging_from_script.sh It doesnt seem to work. I get the following error $ curl "localhost:9200/test/doc/_search" -d '{ > ``` > "script_fields": { > "test": {...
custom_score has been deprecated and been replaced by function_score with a script_score now. In order for this to work, scripting must be enabled in elasticsearch.yml: script.disable_dynamic: false See also: http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/modules-scripting.html