Yeah but if you update a doc, it will delete and insert behind the scene.

--
David ;-)
Twitter : @dadoonet / @elasticsearchfr / @scrutmydocs

> Le 3 févr. 2015 à 08:53, Jason Zhang <moc...@gmail.com> a écrit :
> 
> Also I forgot to say I didn't do any deletions in this index.
> 
>> On Tuesday, February 3, 2015 at 3:31:02 PM UTC+8, Mark Walkom wrote:
>> ES removes deleted docs via merging, not GC.
>> 
>> You can force a merge using the optimise API - 
>> http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/indices-optimize.html#indices-optimize
>>  - but be aware that it is resource intensive. Also be sure to read this 
>> blog post - 
>> http://www.elasticsearch.org/blog/lucenes-handling-of-deleted-documents/
>> 
>>> On 3 February 2015 at 18:26, 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 elasticsearc...@googlegroups.com.
>>> To view this discussion on the web visit 
>>> https://groups.google.com/d/msgid/elasticsearch/8f0458a6-53ee-4e38-a3cc-6564eb693040%40googlegroups.com.
>>> 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/68bacf0e-acff-4cc1-8d79-150a6e40c98b%40googlegroups.com.
> 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/240D0E50-75E6-49E3-B6FB-D41049FBF54D%40pilato.fr.
For more options, visit https://groups.google.com/d/optout.

Reply via email to