I am wondering whether there is any detailed discussion/documentation besides source code for it.
What I am interested is how it updates Elasticsearch:
- Does it delete and recreate the index?
- If not, then if there are some fields absent in the documents (in comparison with the old existing documents) in the index being written will they overwrite (delete) existing fields? If not, then it would mean that some outdated data would be left out.
So, I am wondering what is the mechanism of the update and when I should avoid using the function if there is any possibility of getting inconsistent data in the index.