incubator-blur-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Saurabh Gupta (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (BLUR-271) Remove setCompoundFile for TieredMergePolicy
Date Mon, 14 Oct 2013 07:33:44 GMT

    [ https://issues.apache.org/jira/browse/BLUR-271?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13793974#comment-13793974
] 

Saurabh Gupta commented on BLUR-271:
------------------------------------

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)

Mime
View raw message