I'm using elastic search-0.16.2 java lib and using Rabbitmq River to
create index from json documents. i had prepare index for 131072
Records.if i do some updation on my 131072 records then i want to
recreate index,before delete the old index then prepare new one.Is
necessary to recreate index.Is there is any technique that can update
index with new updated data.
You can reindex into a new index name, like "a_2". Then, you can use aliases
to mask that from the clients that search on the index. For example, have an
alias call "a", and map it to "a_1" index. When you reindex, index into a
new index called "a_2", and once its done, flip the alias "a" from "a_1" to
"a_2". The aliases API is described here: Elasticsearch Platform — Find real-time answers at scale | Elastic.
I'm using Elasticsearch-0.16.2 java lib and using Rabbitmq River to
create index from json documents. i had prepare index for 131072
Records.if i do some updation on my 131072 records then i want to
recreate index,before delete the old index then prepare new one.Is
necessary to recreate index.Is there is any technique that can update
index with new updated data.
You can reindex into a new index name, like "a_2". Then, you can use aliases
to mask that from the clients that search on the index. For example, have an
alias call "a", and map it to "a_1" index. When you reindex, index into a
new index called "a_2", and once its done, flip the alias "a" from "a_1" to
"a_2". The aliases API is described here:Elasticsearch Platform — Find real-time answers at scale | Elastic....
I'm using Elasticsearch-0.16.2 java lib and using Rabbitmq River to
create index from json documents. i had prepare index for 131072
Records.if i do some updation on my 131072 records then i want to
recreate index,before delete the old index then prepare new one.Is
necessary to recreate index.Is there is any technique that can update
index with new updated data.
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.