mirror of
https://github.com/elastic/elasticsearch.git
synced 2025-06-28 17:34:17 -04:00
Docs: Use "js" instead of "json" and "sh" instead of "shell" for source highlighting
This commit is contained in:
parent
01601e9a3d
commit
2b512f1f29
37 changed files with 114 additions and 114 deletions
|
@ -23,7 +23,7 @@ in the `config/scripts/` directory on every node.
|
|||
To convert an inline script to a file, take this simple script
|
||||
as an example:
|
||||
|
||||
[source,json]
|
||||
[source,js]
|
||||
-----------------------------------
|
||||
GET /_search
|
||||
{
|
||||
|
@ -48,7 +48,7 @@ on every data node in the cluster:
|
|||
|
||||
Now you can access the script by file name (without the extension):
|
||||
|
||||
[source,json]
|
||||
[source,js]
|
||||
-----------------------------------
|
||||
GET /_search
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue