I'm facing an optimization problem on update: I need to understand how the Elasticsearch update mechanics work with their documents in a low level view.
Is it true that Elasticsearch marks as deleted the previous record, without physically deleting it, and rewrites it to a new record, wasting more space than necessary?
Yes, ES uses Lucene under the hood.
So update process is as follows high level
At high level, how does crud work in ES.