[DOCS] Replace twitter dataset in docs (#60604)

This commit is contained in:
James Rodewig 2020-08-03 12:49:56 -04:00 committed by GitHub
parent 41a93d7fd8
commit ae01606785
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
34 changed files with 151 additions and 117 deletions

View file

@ -163,7 +163,7 @@ POST _scripts/calculate-score
}
}
-----------------------------------
// TEST[setup:twitter]
// TEST[setup:my_index]
You may also specify a context as part of the url path to compile a
stored script against that specific context in the form of
@ -179,7 +179,7 @@ POST _scripts/calculate-score/score
}
}
-----------------------------------
// TEST[setup:twitter]
// TEST[setup:my_index]
This same script can be retrieved with:
@ -193,7 +193,7 @@ Stored scripts can be used by specifying the `id` parameters as follows:
[source,console]
--------------------------------------------------
GET twitter/_search
GET my-index-000001/_search
{
"query": {
"script_score": {