bq. However we have not specified it in the following way

Is that a typo and you mean "have now specified"?

There's code in SolrIndexConfig:

if (policy instanceof TieredMergePolicy) {
  if (mergeFactor != -1) {
    tieredMergePolicy.setMaxMergeAtOnce(mergeFactor);
    tieredMergePolicy.setSegmentsPerTier(mergeFactor);
  }
}

So TieredMergePolicy is the default and sets these two parameters to
your mergeFactor. This support is removed in Solr 7, so I'd recommend
you update your configs.

Best,
Erick
On Fri, Oct 12, 2018 at 8:53 AM root23 <s.manuj...@gmail.com> wrote:
>
> Hi all,
> I am little bit confused.
> We are on solr 6.  and as per the documentation i think solr 6 uses
> TieredMergePolicyFactory.
> However we have not specified it in the following way
> <mergePolicyFactory class="org.apache.solr.index.TieredMergePolicyFactory">
>   <int name="maxMergeAtOnce">10</int>
>   <int name="segmentsPerTier">10</int>
> </mergePolicyFactory>
>
> We still use <mergeFactor>25</mergeFactor>. which i understand is not used
> by TieredMergePolicyFactory.
>
> So my confusion is that which MergePolicy is being used by solr  ? and what
> settings are being applied.
>
>
>
>
>
>
> --
> Sent from: http://lucene.472066.n3.nabble.com/Solr-User-f472068.html

Reply via email to