Hi All,
I want to copy indexes created by embedded elastic search and copy that data
into a live elastic search and use it. So these are the steps I followed.
-
Generated indices using Node Client (like embedded elastic search) with a
index name testindex
http://www.elasticsearch.org/guide/en/elasticsearch/client/java-api/current/client.html -
After that I had a live elastic search cluster with one node and I
created an empty index by the same name testindex and the same mappings as
used to generate indices using NodeClient. -
After that I closed testindex and copied the index data from the embedded
elasticsearch to the data directory for testindex in elastic search -
Opened the index testindex. After opening the index the copied data is
deleted.
Any ideas why that could have happend. If I want to reused the indices
generated by embedded elasticsearch by copying them to the data folder in
elastic search, what all files should I copy.
Please advise
Thanks
Varun
--
You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearch+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/a0f863f1-42b9-40e5-bf1f-03e73768a4f3%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.