OpenSearch/docs/java-api
Christoph Büscher 36165265ce
Fix put mappings java API documentation (#31955)
The current docs of the put-mapping Java API is currently broken. It its current
form, it creates an index and uses the whole mapping definition given as a JSON
string as the type name. Since we didn't check the index created in the
IndicesDocumentationIT so far this went unnoticed.

This change adds test to catch this error to the documentation test, changes the
documentation so it works correctly now and adds an input validation to
PutMappingRequest#buildFromSimplifiedDef() which was used internally to reject
calls where no mapping definition is given.

Closes #31906
2018-07-17 09:09:03 +02:00
..
admin Fix put mappings java API documentation (#31955) 2018-07-17 09:09:03 +02:00
aggregations Migrate scripted metric aggregation scripts to ScriptContext design (#30111) 2018-06-25 12:01:33 +01:00
docs Fix reference to XContentBuilder.string() (#31337) 2018-06-18 15:04:26 -06:00
query-dsl [Docs] Replace InetSocketTransportAddress with TransportAdress (#30673) 2018-05-17 14:23:08 +02:00
aggs.asciidoc removing duplicated parenthese open (#17975) 2016-04-26 20:13:08 +02:00
client.asciidoc Deprecate the transport client in favour of the high-level REST client (#27085) 2017-12-01 12:24:16 +01:00
docs.asciidoc Added minimal docs for reindex api in java-api docs 2018-03-16 07:42:48 +01:00
index.asciidoc Added minimal docs for reindex api in java-api docs 2018-03-16 07:42:48 +01:00
query-dsl.asciidoc Build that java api docs from a test (#24354) 2017-05-02 13:00:56 -04:00
search.asciidoc Fix typo in terminate after API docs 2018-03-14 13:04:07 -04:00