lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Robert Muir <rcm...@gmail.com>
Subject Re: No Compound Files
Date Tue, 29 Apr 2014 12:07:37 GMT
I think NoMergePolicy.NO_COMPOUND_FILES and
NoMergePolicy.COMPOUND_FILES should be removed, and replaced with
NoMergePolicy.INSTANCE

If you want to change whether CFS is used by indexwriter flush, you
need to set that in IndexWriterConfig.

On Tue, Apr 29, 2014 at 8:03 AM, Varun Thacker
<varunthacker1989@gmail.com> wrote:
> I wanted to use the NoMergePolicy.NO_COMPOUND_FILES to ensure that no
> merges take place on the index. However I was unsuccessful at it. What I am
> doing wrong here.
>
> Attaching a gist with -
> 1. Output when using NoMergePolicy.NO_COMPOUND_FILES
> 2. Output when using TieredMergePolicy with policy.setNoCFSRatio(0.0)
> 3. The code snippet I used.
>
> https://gist.github.com/vthacker/11398124
>
> I tried it using Lucene 4.7
>
>
>
>
>
> --
>
>
> Regards,
> Varun Thacker
> http://www.vthacker.in/

---------------------------------------------------------------------
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