lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Arkadi Colson <ark...@smartbit.be>
Subject Re: Merge policy
Date Thu, 27 Oct 2016 13:56:53 GMT
Thanks for the answer!
Do you know if there is a way to trigger an optimize for only 1 shard 
and not the whole collection at once?


On 27-10-16 15:30, Pushkar Raste wrote:
>
> Try commit with expungeDeletes="true"
>
> I am not sure if it will merge old segments that have deleted documents.
>
> In the worst case you can 'optimize' your index which should take care 
> of removing deleted document
>
>
> On Oct 27, 2016 4:20 AM, "Arkadi Colson" <arkadi@smartbit.be 
> <mailto:arkadi@smartbit.be>> wrote:
>
>     Hi
>
>     As you can see in the screenshot above in the oldest segments
>     there are a lot of deletions. In total the shard has about 26%
>     deletions. How can I get rid of them so the index will be smaller
>     again?
>     Can this only be done with an optimize or does it also depend on
>     the merge policy? If it also depends also on the merge policy
>     which one should I choose then?
>
>     Thanks!
>
>     BR,
>     Arkadi
>


Mime
View raw message