Merge pull request #16785 from dsem/patch-1
Fix python script filename extension
This commit is contained in:
parent
cd4b6d5e78
commit
2d56eed306
|
@ -141,10 +141,10 @@ GET test/_search
|
|||
=== File scripts
|
||||
|
||||
You can save your scripts to a file in the `config/scripts/` directory on
|
||||
every node. The `.python` file suffix identifies the script as containing
|
||||
every node. The `.py` file suffix identifies the script as containing
|
||||
Python:
|
||||
|
||||
First, save this file as `config/scripts/my_script.python` on every node
|
||||
First, save this file as `config/scripts/my_script.py` on every node
|
||||
in the cluster:
|
||||
|
||||
[source,python]
|
||||
|
@ -188,5 +188,5 @@ GET test/_search
|
|||
----
|
||||
// AUTOSENSE
|
||||
|
||||
<1> The function score query retrieves the script with filename `my_script.python`.
|
||||
<1> The function score query retrieves the script with filename `my_script.py`.
|
||||
|
||||
|
|
Loading…
Reference in New Issue