Delete / Update Document impact in document frequency


it looks like updating a document (which just marks the old one as deleted) does not remove term statictics from the old version of the document.
The old/deleted Document still seem to be included in the document frequency statistics.

Is this expected behaviour?
Will the statistics update after the next segment merge happened and the tombstoned document is physically removed?

I came across this wile using the more_like_this query with a max_doc_freq limit and a frequently updated document as the like input.


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