The documents deleted while the size of the index kremains the same after using delete by query?

Hey,

physical deletions only occur after a lucene merge, which is not executed
immediately. Until then a document is only marked as deleted, but not wiped
off the disk. If you put the same document twice, your disk space will
increase as well until the next merge happens. This lies in the nature of
the append-only mechanism of lucene.

You can use the segment spy plugin to visualize merges. Another good read
is this blog post

Hope this helps...

--Alex

On Tue, Jul 23, 2013 at 11:29 AM, Jingang Wang bitwjg@gmail.com wrote:

Dear all,

I found that after I conducted a delete by query operation, the matched
documents in the index have been deleted, while the size of the index
remains the same.

Could anybody tell me why? Thanks in advance!

--
You received this message because you are subscribed to the Google Groups
"elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an
email to elasticsearch+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

--
You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearch+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.