[
https://issues.apache.org/jira/browse/BLUR-271?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13793974#comment-13793974
]
Saurabh Gupta edited comment on BLUR-271 at 10/14/13 7:34 AM:
--------------------------------------------------------------
Hi Rahul,
Yes you are right. Actually I did not check the default value of CFS ratio
which is used in MergePolicy. I might get confused by name of constant "
DEFAULT_NO_CFS_RATIO".
Below solution will work:
MergePolicy mergePolicy = (MergePolicy) conf.getMergePolicy();
mergePolicy.setNoCFSRatio(0.0);
Thanks,
Saurabh
was (Author: saurabh.gupta):
Hi Rahul,
Yes you are right. Actually I did not check the default value of CFS ratio
which are used in MergePolicy. I might get confused by name of constant "
DEFAULT_NO_CFS_RATIO".
Below solution will work:
MergePolicy mergePolicy = (MergePolicy) conf.getMergePolicy();
mergePolicy.setNoCFSRatio(0.0);
Thanks,
Saurabh
> Remove setCompoundFile for TieredMergePolicy
> --------------------------------------------
>
> Key: BLUR-271
> URL: https://issues.apache.org/jira/browse/BLUR-271
> Project: Apache Blur
> Issue Type: Sub-task
> Components: Blur
> Reporter: Saurabh Gupta
> Fix For: 0.3.0
>
>
> There is no need to explicitly set the CFS for TieredMergePolicy
> LUCENE-5038: MergePolicy now has a default implementation for useCompoundFile
> based on segment size and noCFSRatio. The default implemantion was pulled up
> from TieredMergePolicy.
--
This message was sent by Atlassian JIRA
(v6.1#6144)