Cleanup some docs

Mark one `// NOTCONSOLE`, mark another `[source,painless]`, and
another `// TESTRESPONSE` and fix a bug in it.
This commit is contained in:
Nik Everett 2016-08-26 15:59:45 -04:00
parent abdd1b6f86
commit 3fe42beb64
3 changed files with 4 additions and 5 deletions

View file

@ -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>`