We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I am exporting an index with the rename parameter:
curl -XPOST 'localhost:9200/my_index1/my_type/_export?map={"my_index1:"my_index2"}&path=/tmp/archive.tar'
after import curl -XPOST 'localhost:9200/my_index1/my_type/_import?path=/tmp/archive.tar' all mappings of my_type are lost.
curl -XPOST 'localhost:9200/my_index1/my_type/_import?path=/tmp/archive.tar'
my_type
Is there any option to preserve mappings or is this a bug?
The text was updated successfully, but these errors were encountered:
Same thing for index settings.
Sorry, something went wrong.
Did you try renaming on import and not on export?
Sorry for the confusion, I noticed that on creation of the issue and I did change my code, but not the issue.
So yes, I am renaming on import.
No branches or pull requests
I am exporting an index with the rename parameter:
after import
curl -XPOST 'localhost:9200/my_index1/my_type/_import?path=/tmp/archive.tar'
all mappings ofmy_type
are lost.Is there any option to preserve mappings or is this a bug?
The text was updated successfully, but these errors were encountered: