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 "Burton-West, Tom" <tb...@umich.edu> on 2010/04/27 23:33:34 UTC

Using NoOpMergePolicy (Lucene 2331) from Solr

Is it possible to use the NoOpMergePolicy ( https://issues.apache.org/jira/browse/LUCENE-2331   ) from Solr?

We have very large indexes and always optimize, so we are thinking about using a very large ramBufferSizeMB
and a NoOpMergePolicy and then running an optimize to avoid extra disk reads and writes.

Tom Burton-West


RE: Using NoOpMergePolicy (Lucene 2331) from Solr

Posted by "Burton-West, Tom" <tb...@umich.edu>.
Thanks Koji, 

That was the information I was looking for.  I'll be sure to post the test results to the list.  It may be a few weeks before we can schedule the tests for our test server.

Tom


>>I've never tried it but NoMergePolicy and NoMergeScheduler
>>can be specified in solrconfig.xml:

>>  <ramBufferSizeMB>1000</ramBufferSizeMB>
>> <mergePolicy class="org.apache.lucene.index.NoMergePolicy"/>
>> <mergeScheduler class="org.apache.lucene.index.NoMergeScheduler"/>

Koji

-- 
http://www.rondhuit.com/en/


Re: Using NoOpMergePolicy (Lucene 2331) from Solr

Posted by Koji Sekiguchi <ko...@r.email.ne.jp>.
Jason Rutherglen wrote:
> Tom,
>
> Interesting, can you post your findings after you've found them? :)
>
> Jason
>
> On Tue, Apr 27, 2010 at 2:33 PM, Burton-West, Tom <tb...@umich.edu> wrote:
>   
>> Is it possible to use the NoOpMergePolicy ( https://issues.apache.org/jira/browse/LUCENE-2331   ) from Solr?
>>
>> We have very large indexes and always optimize, so we are thinking about using a very large ramBufferSizeMB
>> and a NoOpMergePolicy and then running an optimize to avoid extra disk reads and writes.
>>
>> Tom Burton-West
>>     
I've never tried it but NoMergePolicy and NoMergeScheduler
can be specified in solrconfig.xml:

<ramBufferSizeMB>1000</ramBufferSizeMB>
<mergePolicy class="org.apache.lucene.index.NoMergePolicy"/>
<mergeScheduler class="org.apache.lucene.index.NoMergeScheduler"/>

Koji

-- 
http://www.rondhuit.com/en/


Re: Using NoOpMergePolicy (Lucene 2331) from Solr

Posted by Jason Rutherglen <ja...@gmail.com>.
Tom,

Interesting, can you post your findings after you've found them? :)

Jason

On Tue, Apr 27, 2010 at 2:33 PM, Burton-West, Tom <tb...@umich.edu> wrote:
> Is it possible to use the NoOpMergePolicy ( https://issues.apache.org/jira/browse/LUCENE-2331   ) from Solr?
>
> We have very large indexes and always optimize, so we are thinking about using a very large ramBufferSizeMB
> and a NoOpMergePolicy and then running an optimize to avoid extra disk reads and writes.
>
> Tom Burton-West
>
>