OpenSearch/docs/reference/docs
Lee Hinman b379bf5668 Default to not accepting type wrapper in indexing requests
Currently it is possible to index a document as:

```
POST /myindex/mytype/1
{ "foo"...}
```

or as:

```
POST /myindex/mytype/1
{
    "mytype": {
        "foo"...
    }
}
```

This makes indexing non-deterministic and fields can be misinterpreted
as type names.

This changes makes Elasticsearch accept only the first form by default,
ie without the type wrapper. This can be changed by setting
`index.mapping.allow_type_wrapper` to `true`` when creating the index.

Closes #4484
2014-01-13 14:37:00 -07:00
..
bulk-udp.asciidoc Migrated documentation into the main repo 2013-08-29 01:24:34 +02:00
bulk.asciidoc [DOCS] Documented rest.action.multi.allow_explicit_index 2013-11-27 17:33:09 +01:00
delete-by-query.asciidoc Uniquify anchor links to fix asciidoc/docbook generation 2013-09-30 15:32:00 -06:00
delete.asciidoc [DOCS] Fixed duplicate docs ID in delete 2013-11-21 17:38:51 +11:00
get.asciidoc Cleanup comments and class names s/ElasticSearch/Elasticsearch 2014-01-07 11:21:51 +01:00
index_.asciidoc Default to not accepting type wrapper in indexing requests 2014-01-13 14:37:00 -07:00
multi-get.asciidoc [DOCS] Documented rest.action.multi.allow_explicit_index 2013-11-27 17:33:09 +01:00
update.asciidoc [Docs] update reference to remove documentation about percolating during an index, bulk or update request. 2013-10-16 16:31:36 +02:00