Hi I'd like to use the client API to do the following.
- Set mapping for new index to reindex data to. Let's call our new index "new-index"
- Reindex data from let's say "old-index" to new-index, but keep the mapping that
we set for new-index.
How do I do this with the elasticsearch python client API?
I thought I would be able to do this by creating an index "new-index" with a mapping and then
just reindexing "old-index" to "new-index", but it doesn't seem to keep the mapping.
That being said from http://elasticsearch-py.readthedocs.io/en/master/helpers.html "This helper doesn’t transfer mappings, just the data."
Any idea how I can do this?
Thanks.