We have being trying to perform re indexing of existing to new index with change in mapping. But indexing is not happening properly.
health status index uuid pri rep docs.count docs.deleted store.size pri.store.size
green open ******* iso4UtTXSwuDTNrIMZXjpw 5 1 408486 84 10.4gb 5.2gb
green open ******* wSxaFkrXQJujiGOWhtyEDQ 5 1 408486 201678 29.6gb 15.8gb
docs.count is getting matched but not with docs.deleted and is not getting exited from sense plugin
That's what I want to understand actually. So that's the reason I asked for a full script which helps to understand what you are exactly doing. All the steps, please.
I suspect that you are doing updates of existing documents, not reindexing to a fresh and clean index. That's why I'm asking.
We are not deleting ticket_v2. While re indexing to ticket_v2 doc.count matches with ticket_v1 but doc.deleted doesn't and count gets increased by 4 to 5 times. If you see first post wherein first line doc.deleted is 84 and in second line nearly 20 thousand.
What could be the issue?
So upgrade is the first thing to do.
Then create an empty target index. Which means DELETE target.
Then launch a single run of reindex from source to target and share the results here.
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.