-
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
Typeless index call can fail against an index with a custom type. #36811
Labels
>bug
:Search Foundations/Mapping
Index mappings, including merging and defining field types
Team:Search Foundations
Meta label for the Search Foundations team in Elasticsearch
v7.0.0-beta1
Comments
Pinging @elastic/es-search |
I ran into this same issue when calling a typeless Recreation steps: https://gist.github.com/benwtrent/2e3ea1e87746f58f557898869fd95e77 |
48 tasks
@jtibshirani Absolutely, I'm putting it on top of my TODO list. |
jtibshirani
added a commit
to jtibshirani/elasticsearch
that referenced
this issue
Jan 15, 2019
…ppings. * Pull out a shared method MapperService#resolveDocumentType. * Make sure to resolve the type when extracting the mappings. Addresses elastic#36811.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
>bug
:Search Foundations/Mapping
Index mappings, including merging and defining field types
Team:Search Foundations
Meta label for the Search Foundations team in Elasticsearch
v7.0.0-beta1
Using the typeless index APIs can result in an error when the index contains a custom type name that is not
_doc
. The issue seems to arise when the index call introduces a mapping update.The following gist demonstrates the problem: https://gist.github.com/jtibshirani/0929faf60bd78c794aeb01cc08d04c73.
The same issue also applies to typeless document update calls.
The text was updated successfully, but these errors were encountered: