-
Notifications
You must be signed in to change notification settings - Fork 25.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Allow _doc
as a type name
#27750
Comments
I have been naming my type the same as index, ie: PUT index_name/index_name/id |
@morphers82 To clarify, this is not a requirement, this is just a way to potentially make the transition easier for users who decide to opt in for the type name that will be used in 7.0. 6.x indices will work in 7.0 regardless of the type name. The benefit of switching to |
Allowing `_doc` as a type will enable users to make the transition to 7.0 smoother since the index APIs will be `PUT index/_doc/id` and `POST index/_doc`. This also moves most of the documentation to `_doc` as a type name. Closes elastic#27750 Closes elastic#27751
As of 7.0, types support will be gone, the index API will be either
PUT index/_doc/id
orPOST index/_doc
and hits will use_doc
as a fake type in the response. In order to allow users to have a smoother transition to 7.0, we should allow_doc
as a type in 6.x.Relates to #15613
The text was updated successfully, but these errors were encountered: