Merging indexes is not really useful- it won't make distributed search
any faster. There are features that don't work with distributed
search. Really, you are better off having shards with enough documents
so that relevance scoring is balanced.

On Thu, May 31, 2012 at 11:04 AM, sudarshan
<chakravarthy.sudars...@gmail.com> wrote:
> Hi All,
>       I'm new to Solr. I saw this post relating to Merging of indexes. I
> have a similar doubt. From the post, I understand that merging of indexes
> across different cores is possible only if the cores exist o a single
> machine.     I want to merge indexes of different machines. Can you please
> explain me the different ways of doing this?
>
> Say I have N+1 Solr engines of which there are N different masters and the
> remaining 1 is meant for merging all N indexes together.  How I have decided
> to merge N indexes to 1 is this.
>
> 1. Dynamically edit the solrconfig.xml file of the N+1st system to point as
> a slave to different master each time. Hence a total of N trials would be
> needed to cover all N masters.
> 2. During every trial I shall replicate the index of the master and store it
> in a different folder. Say index1 from master1, index2 from master2 .....
> indexn from masterN.
> 3. After all indexes are replicated and moved/renamed to local directory, I
> shall perform a merge of all indexes.
>
>
> What problems will I have in implementing this? How efficient would be this?
> I believe all index folders will have to be available locally to perform
> merging. If not, please tell me how better can I do merge remote indexes.
>
> Another question I have is about MergeFactor. If I set the mergefactor as 5,
> will Solr automatically takes care of merging the segments to 1 if the
> number of segments reach 5? How this can be exploited?
>
> Your assistance is sincerely appreciated.
>
> Regards,
> Sudarshan
>
>
>
> --
> View this message in context: 
> http://lucene.472066.n3.nabble.com/Merging-Remote-Solr-Indexes-tp3434412p3987090.html
> Sent from the Solr - User mailing list archive at Nabble.com.



-- 
Lance Norskog
goks...@gmail.com

Reply via email to