Update type to "seat" (#35086)

otherwise this throws an exception: java.lang.IllegalArgumentException: Rejecting mapping update to [seats] as the final mapping would have more than 1 type: [seat, _doc]

May be, later for the types removal, we can modify `seats.json` to have a type `_doc` instead of `seat`
This commit is contained in:
Mayya Sharipova 2018-10-31 12:06:48 -04:00 committed by GitHub
parent 1ce3c92a2d
commit 0b8465f2c0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -46,7 +46,7 @@ the request URL.
PUT /seats PUT /seats
{ {
"mappings": { "mappings": {
"_doc": { "seat": {
"properties": { "properties": {
"theatre": { "type": "keyword" }, "theatre": { "type": "keyword" },
"play": { "type": "text" }, "play": { "type": "text" },