You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The mapping definition cannot be nested under a type [_doc] unless include_type_name is set to true."}],"type":"illegal_argument_exception","reason":"The mapping definition cannot be nested under a type [_doc] unless include_type_name is set to true.
For the Elasticsearch v7.17.1
Request body update required or workaround by adding a query ?include_type_name=true as used in request.sh
However if a user don't use the request.sh for eg by runing setup.sh but use API clients instead then he would not be able to succeed with the original body of the example PUT request
Currently there is no information how to handle that problem in the README.md
Suggested:
update the request body for all PUT requests or
add information in the README.md how to handle that problem (suffix target with ?include_type_name=true)
The text was updated successfully, but these errors were encountered:
Example PUT request
Creates this error:
For the Elasticsearch v7.17.1
Request body update required or workaround by adding a query
?include_type_name=true
as used in request.shHowever if a user don't use the
request.sh
for eg by runingsetup.sh
but use API clients instead then he would not be able to succeed with the original body of the example PUT requestCurrently there is no information how to handle that problem in the README.md
Suggested:
?include_type_name=true
)The text was updated successfully, but these errors were encountered: