OpenSearch/docs/java-api/docs
Nik Everett 16a92689fc
Docs: Drop inline callouts from the java API (#39932) (#40693)
There is a single example in the Java API docs that contains an inline
callout that is incompatible with Asciidoctor:

```
client.prepareUpdate("ttl", "doc", "1")
        .setScript(new Script(
            "ctx._source.gender = \"male\"" <1> , ScriptService.ScriptType.INLINE, null, null))
        .get();
```

This rewrites the example to use an Asciidoctor compatible end of line
callout. It also looks nicer to me because it fits better on the page.

```
client.prepareUpdate("ttl", "doc", "1")
        .setScript(new Script(
            "ctx._source.gender = \"male\"", <1>
            ScriptService.ScriptType.INLINE, null, null))
        .get();
```
2019-04-01 13:02:23 -04:00
..
bulk.asciidoc Docs: Fix build for java-api 2018-10-30 09:14:07 -04:00
delete.asciidoc Make sure to use the type _doc in the REST documentation. (#34662) 2018-10-22 11:54:04 -07:00
get.asciidoc Make sure to use the type _doc in the REST documentation. (#34662) 2018-10-22 11:54:04 -07:00
index_.asciidoc Docs: Fix Jackson reference (#36366) 2018-12-07 15:18:22 -05:00
multi-get.asciidoc Make sure to use the type _doc in the REST documentation. (#34662) 2018-10-22 11:54:04 -07:00
reindex.asciidoc Added minimal docs for reindex api in java-api docs 2018-03-16 07:42:48 +01:00
update-by-query.asciidoc [DOCS] Various spelling corrections (#37046) 2019-01-07 14:44:12 +01:00
update.asciidoc Docs: Drop inline callouts from the java API (#39932) (#40693) 2019-04-01 13:02:23 -04:00