New issue
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
Documentation incorrect - reference/2.0/modules-scripting.html #15096
Comments
The @colings86 could you take a look please? |
whoops - i tested the wrong syntax, @nicksanders presumably you're not using Elasticsearch 2.0. You should look at the documentation for the version you're using |
@clintongormley I was using Elasticsearch 2.0 and got the following error script_score query does not support [file] It is possible I was doing something else wrong but when I changed "file" to "script_file" it worked ;) |
@nicksanders you're missing one layer (and so you're using the undocumented bwc syntax). Should be:
|
@clintongormley the example on https://www.elastic.co/guide/en/elasticsearch/reference/2.0/modules-scripting.html is missing one layer too ;) |
Fix script syntax for script_score Closes #15096
thanks @nicksanders - fixed |
Fix script syntax for script_score Closes #15096
Fix script syntax for script_score Closes #15096
Fix script syntax for script_score Closes #15096
https://www.elastic.co/guide/en/elasticsearch/reference/2.0/modules-scripting.html
Documentation example below causes "script_score query does not support [file]" error
Should be
"script_file": "calculate-score"
The text was updated successfully, but these errors were encountered: