You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-user@lucene.apache.org by Peter Wolanin <pe...@acquia.com> on 2012/04/13 18:31:43 UTC

mergePolicy element format change in 3.6 vs 3.5?

Trying to maintain the Drupal integration module across multiple versions
of 3.x, we've gotten a bug report suggesting that Solr 3.6 needs this
change to solrconfig:

-
 <mergePolicy>org.apache.lucene.index.LogByteSizeMergePolicy</mergePolicy>
+    <mergePolicy class="org.apache.lucene.index.LogByteSizeMergePolicy" />


I don't see this mentioned in the release notes - is the second format
useable with 3.5, 3.4, etc?

-- 
Peter M. Wolanin, Ph.D.      : Momentum Specialist,  Acquia. Inc.
peter.wolanin@acquia.com : 781-313-8322

"Get a free, hosted Drupal 7 site: http://www.drupalgardens.com"

Re: mergePolicy element format change in 3.6 vs 3.5?

Posted by Peter Wolanin <pe...@acquia.com>.
Ok, thanks for the info.  As long as the second one works, we can just use
that.

I just verified that it works for 3.5 at least.

-Peter

On Fri, Apr 13, 2012 at 1:12 PM, Michael Ryan <mr...@moreover.com> wrote:

> It looks like the first format was removed in 3.6 as part of
> https://issues.apache.org/jira/browse/SOLR-1052. The second format works
> in all 3.x versions.
>
> -Michael
>
> -----Original Message-----
> From: Peter Wolanin [mailto:peter.wolanin@acquia.com]
> Sent: Friday, April 13, 2012 12:32 PM
> To: solr-user@lucene.apache.org
> Subject: mergePolicy element format change in 3.6 vs 3.5?
>
> Trying to maintain the Drupal integration module across multiple versions
> of 3.x, we've gotten a bug report suggesting that Solr 3.6 needs this
> change to solrconfig:
>
> -
>  <mergePolicy>org.apache.lucene.index.LogByteSizeMergePolicy</mergePolicy>
> +    <mergePolicy class="org.apache.lucene.index.LogByteSizeMergePolicy" />
>
>
> I don't see this mentioned in the release notes - is the second format
> useable with 3.5, 3.4, etc?
>



-- 
Peter M. Wolanin, Ph.D.      : Momentum Specialist,  Acquia. Inc.
peter.wolanin@acquia.com : 781-313-8322

"Get a free, hosted Drupal 7 site: http://www.drupalgardens.com"

RE: mergePolicy element format change in 3.6 vs 3.5?

Posted by Michael Ryan <mr...@moreover.com>.
It looks like the first format was removed in 3.6 as part of https://issues.apache.org/jira/browse/SOLR-1052. The second format works in all 3.x versions.

-Michael

-----Original Message-----
From: Peter Wolanin [mailto:peter.wolanin@acquia.com] 
Sent: Friday, April 13, 2012 12:32 PM
To: solr-user@lucene.apache.org
Subject: mergePolicy element format change in 3.6 vs 3.5?

Trying to maintain the Drupal integration module across multiple versions
of 3.x, we've gotten a bug report suggesting that Solr 3.6 needs this
change to solrconfig:

-
 <mergePolicy>org.apache.lucene.index.LogByteSizeMergePolicy</mergePolicy>
+    <mergePolicy class="org.apache.lucene.index.LogByteSizeMergePolicy" />


I don't see this mentioned in the release notes - is the second format
useable with 3.5, 3.4, etc?