mirror of
https://github.com/elastic/elasticsearch.git
synced 2025-06-28 17:34:17 -04:00
Cleanup some docs
Mark one `// NOTCONSOLE`, mark another `[source,painless]`, and another `// TESTRESPONSE` and fix a bug in it.
This commit is contained in:
parent
abdd1b6f86
commit
3fe42beb64
3 changed files with 4 additions and 5 deletions
|
@ -14,7 +14,7 @@ QueryBuilder qb = scriptQuery(
|
|||
|
||||
If you have stored on each data node a script named `myscript.painless` with:
|
||||
|
||||
[source,js]
|
||||
[source,painless]
|
||||
--------------------------------------------------
|
||||
doc['num1'].value > params.param1
|
||||
--------------------------------------------------
|
||||
|
@ -35,5 +35,3 @@ QueryBuilder qb = scriptQuery(
|
|||
<2> Script type: either `ScriptType.FILE`, `ScriptType.INLINE` or `ScriptType.INDEXED`
|
||||
<3> Scripting engine
|
||||
<4> Parameters as a `Map` of `<String, Object>`
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue