lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ian Lea <ian....@gmail.com>
Subject Re: When deletes will be removed?
Date Thu, 23 Feb 2012 10:07:10 GMT
Eventually, as more modifications take place and merges are triggered.
 If you really care, and are using the default TieredMergePolicy, you
could try playing with
TieredMergePolicy.setForceMergeDeletesPctAllowed(double v).  Might
help.

Or you could call IndexWriter.forceMergeDeletes(),  The javadocs warn
that it is costly and rarely warranted but this is your index and
system and if you think it is warranted, use it.


--
Ian.


On Thu, Feb 23, 2012 at 7:18 AM, Ganesh <emailgane@yahoo.co.in> wrote:
> Hello all,
>
> I am using v3.5 with all default options. In my index the deletes are not removed. When
will it be removed? I have not done optimize (forced merge).
>
>  1618714 Feb 22 20:42 _11y_l.del
>     499 Feb 22 20:42 _195_k.del
>     591 Feb 22 20:42 _1hs_l.del
>     556 Feb 22 20:42 _1pl_l.del
>     535 Feb 22 20:42 _1x4_l.del
>      37 Feb 22 19:57 _1yd_1.del
>     295 Feb 22 20:42 _1yf_k.del
>      45 Feb 22 20:42 _1yh_3.del
>      37 Feb 22 19:22 _1yn_1.del
>      53 Feb 22 20:22 _1z0_6.del
>      37 Feb 22 19:22 _1z5_1.del
>      73 Feb 22 20:32 _1za_a.del
>      56 Feb 22 20:37 _1zj_7.del
>      37 Feb 22 19:52 _203_1.del
>     332 Feb 22 20:42 _a3_k.del
>     487 Feb 22 20:42 _ig_j.del
>     511 Feb 22 20:42 _rc_j.del
>
> Regards
> Ganesh
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
> For additional commands, e-mail: java-user-help@lucene.apache.org
>

---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-user-help@lucene.apache.org


Mime
View raw message