This only means that segment merging is going on. This produces generations of segments that are obsolete, these are internally marked as "deleted". Later the obsolete generations are cleaned up automatically when the segment is touched by significant amount of new data. Do not worry about that, there is nothing you should do. Of course, you can play with _optimize API, but the downside is imposing heavy load on the node.
Jörg On Tue, Feb 3, 2015 at 8:26 AM, Jason Zhang <moc...@gmail.com> wrote: > Hi, > > I use segmentspy to detect segment merges in ES. But I find there's > several "Deleted Docs" which is like "Deleted Docs: 1.55630". > I know ES will mark items as deleted and remove them later through GC. > > But what's the meaning of those deleted segments? Why does ES/lucene not > remove them? There's no updates in this index since 10 days ago. > How can I clean them out explicitly? > > Thank you. > > -- > 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+unsubscr...@googlegroups.com. > To view this discussion on the web visit > https://groups.google.com/d/msgid/elasticsearch/8f0458a6-53ee-4e38-a3cc-6564eb693040%40googlegroups.com > <https://groups.google.com/d/msgid/elasticsearch/8f0458a6-53ee-4e38-a3cc-6564eb693040%40googlegroups.com?utm_medium=email&utm_source=footer> > . > For more options, visit https://groups.google.com/d/optout. > -- 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+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/CAKdsXoHf3pu24P_fEd70i_8kqVjhJQG_27TLuKz99qd08iwhWA%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.