Queries regarding reindexing

Hi there,
I want to get some clarity on the reindexing API and how does it work.
After talking to an ES developer I understood few points on the high level.
But still I am having a doubt with the below question:-

If I want to reindex an index again which has been reindexed earlier. But this time I have made some updates in the source index.
Does reindexing again would update the destination?

I tried doing this like:
First, I did reindexing with particular source and destination
Second, Then I deleted one document from the source index and did reindexing with same source and destination.
But the destination is showing the earlier count of the documents (It is neither increased nor decreased)

Please someone help me understand this

Reindexing reads all existing documents in the source index (at the time it is started) and writes them to the destination index. Updated documents will be read but deleted documents are no longer present, so you get to keep the original document in the destination index. If you marked it as deleted and excluded it from queries it would be transferred as it still exists but just deleting it will not unless you reindex to a new and empty index.

So the reindex is not for someone, who wants to get the delta updates made to the source to the destination?

No, that is what cross-cluster replication, which is a commercial feature, is for.

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.