lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Lance Norskog <goks...@gmail.com>
Subject Re: Is it possible to set the merge policy setMaxMergeMB from Solr
Date Tue, 07 Dec 2010 03:06:01 GMT
I have not tried this, but some parts of the solrconfig elements
support setters for sub-elements. So, this might work but probably
won't.

<mergePolicy>org.apache.lucene.index.LogByteSizeMergePolicy
    <maxMergeMB>1024</maxMergeMB>
</mergePolicy>

On Mon, Dec 6, 2010 at 2:34 PM, Burton-West, Tom <tburtonw@umich.edu> wrote:
> Lucene has this method to set the maximum size of a segment when merging:
> LogByteSizeMergePolicy.setMaxMergeMB
> (http://lucene.apache.org/java/3_0_2/api/all/org/apache/lucene/index/LogByteSizeMergePolicy.html#setMaxMergeMB%28double%29
> )
>
> I would like to be able to set this in my solrconfig.xml.  Is this
> possible?  If not should I open a JIRA issue or is there some gotcha I am
> unaware of?
>
> Tom
>
> Tom Burton-West
>



-- 
Lance Norskog
goksron@gmail.com

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org


Mime
View raw message