Hi,

You could call the optimize command directly on slaves, but specify
the target number of segments, e.g.
..../solr/update?optimize=true&maxSegments=10

Not sure I recommend doing this on slaves, but you could - maybe you
have spare capacity.  You may also want to consider not doing it on
all your slaves at the same time...

Otis
--
Solr & ElasticSearch Support
http://sematext.com/





On Tue, Jun 18, 2013 at 8:19 PM, Learner <bbar...@gmail.com> wrote:
> We have SOLR master, primarily for indexing and SOLR slave primarily for
> searching. I see that the merge factor plays a key factor in Indexing as
> well as searching. I would like to have a high merge factor for my master
> instance and low merge factor for slave.
>
> As of now since I just replicate the data from master, the number of
> segments remain the same as that of master. May be its already there ... but
> I feel that it would be great if theres a tool with which we can merge the
> segments in slave based on merge factor specified in slave (config) after
> replication..Is there any work around to change the number of segments
> without doing complete indexing?
>
>
>
> --
> View this message in context: 
> http://lucene.472066.n3.nabble.com/Merge-tool-based-on-mergefactor-tp4071506.html
> Sent from the Solr - User mailing list archive at Nabble.com.

Reply via email to