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:
parent
1ce3c92a2d
commit
0b8465f2c0
|
@ -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" },
|
||||||
|
|
Loading…
Reference in New Issue