lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tomás Fernández Löbbe <tomasflo...@gmail.com>
Subject Re: solr meger policy
Date Thu, 04 Oct 2012 14:26:06 GMT
TieredMergePolicy is the default in Solr since 3.3. See
https://issues.apache.org/jira/browse/SOLR-2567 It is still the default for
4.0, so you should have the same MergePolicy in 3.4 and 3.6.



On Thu, Oct 4, 2012 at 9:14 AM, jame vaalet <jamevaalet@gmail.com> wrote:

> Thats the first thing i tried, but it had only merge factor and
> maxmergedocs in it. We have different merge policies like
> LogMergePolicy<
> http://lucene.apache.org/core/old_versioned_docs/versions/3_4_0/api/core/org/apache/lucene/index/LogMergePolicy.html
> >
> , NoMergePolicy<
> http://lucene.apache.org/core/old_versioned_docs/versions/3_4_0/api/core/org/apache/lucene/index/NoMergePolicy.html
> >
> , TieredMergePolicy<
> http://lucene.apache.org/core/old_versioned_docs/versions/3_4_0/api/core/org/apache/lucene/index/TieredMergePolicy.html
> >
> , UpgradeIndexMergePolicy<
> http://lucene.apache.org/core/old_versioned_docs/versions/3_4_0/api/core/org/apache/lucene/index/UpgradeIndexMergePolicy.html
> >.
> finally i found what is the default policy and values in 3.4 lucene:
>
>    - default policy is
> TieredMergePolicy<
> http://lucene.apache.org/core/old_versioned_docs/versions/3_4_0/api/core/org/apache/lucene/index/TieredMergePolicy.html
> >
>     (
>
> http://lucene.apache.org/core/old_versioned_docs/versions/3_4_0/api/core/org/apache/lucene/index/MergePolicy.html
>    )
>    - default constants unless specified are
>
> http://lucene.apache.org/core/old_versioned_docs/versions/3_4_0/api/core/constant-values.html
>
>
> On 4 October 2012 18:29, Otis Gospodnetic <otis.gospodnetic@gmail.com
> >wrote:
>
> > Hi,
> >
> > Look for the word merge in solrconfig.xml :)
> >
> > Otis
> > --
> > Performance Monitoring - http://sematext.com/spm
> > On Oct 4, 2012 7:50 AM, "jame vaalet" <jamevaalet@gmail.com> wrote:
> >
> > > Hi,
> > > I would like to know the different merge policies lucene uses in
> > different
> > > versions of SOLR. I have got 3.4 and 3.6 versions of solr running but
> how
> > > do i point them to use different merge policies?
> > > Thanks in advance !
> > >
> > > --
> > >
> > > -JAME
> > >
> >
>
>
>
> --
>
> -JAME
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message