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

View File

@ -474,10 +474,11 @@ The above request returns:
"start_offset" : 5,
"end_offset" : 8,
"type" : "word",
"position" : 3
"position" : 2
} ]
}
--------------------------------------------------
// TESTRESPONSE
[[analysis-kuromoji-number]]
===== `kuromoji_number` token filter

View File

@ -35,6 +35,7 @@ It can be installed with pip:
------------------------------------
pip install elasticsearch
------------------------------------
// NOTCONSOLE
=== Versioning
@ -124,4 +125,3 @@ distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.