diff --git a/docs/java-api/docs/update.asciidoc b/docs/java-api/docs/update.asciidoc index 1f63cd7001b..c768cfdb397 100644 --- a/docs/java-api/docs/update.asciidoc +++ b/docs/java-api/docs/update.asciidoc @@ -101,6 +101,7 @@ If the document `index/type/1` already exists, we will have after this operation "gender": "male" <1> } -------------------------------------------------- +// NOTCONSOLE <1> This field is added by the update request If it does not exist, we will have a new document: @@ -112,7 +113,4 @@ If it does not exist, we will have a new document: "gender": "male" } -------------------------------------------------- - - - - +// NOTCONSOLE diff --git a/docs/java-api/query-dsl/template-query.asciidoc b/docs/java-api/query-dsl/template-query.asciidoc index dc31d9087e8..dfba0d63a63 100644 --- a/docs/java-api/query-dsl/template-query.asciidoc +++ b/docs/java-api/query-dsl/template-query.asciidoc @@ -41,6 +41,7 @@ For example, if you have a file named `config/scripts/template_gender.mustache` } } -------------------------------------------------- +// NOTCONSOLE Define your template query: @@ -86,4 +87,3 @@ QueryBuilder qb = new TemplateQueryBuilder( <1> template name <2> template stored in the cluster state <3> parameters -