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 vrparekh <vr...@gmail.com> on 2013/05/15 16:49:22 UTC

sharding between different solr server having different schema

Hello All,

I have two different solr servers. Both server has different schema.

Is it possible to shard these two solr server?

Or is there any other way to combine/merge results of two different solr
servers?





--
View this message in context: http://lucene.472066.n3.nabble.com/sharding-between-different-solr-server-having-different-schema-tp4063516.html
Sent from the Solr - User mailing list archive at Nabble.com.

Re: sharding between different solr server having different schema

Posted by Shawn Heisey <so...@elyograg.org>.
On 5/15/2013 8:49 AM, vrparekh wrote:
> I have two different solr servers. Both server has different schema.
> 
> Is it possible to shard these two solr server?
> 
> Or is there any other way to combine/merge results of two different solr
> servers?

In general, this won't work.  If your two schemas use the same field
name with the same data type for the uniqueKey, and the fields that you
use for searching exist in both schemas with the same data type, you
MIGHT be able to get results, but there's a good chance that you'll run
into some problem that you won't be able to fix without changing your
design.

For best results, you'll want to do one of two things:  Either merge
your schemas and index both document types into one index (up to you
whether it's sharded or not), or do separate searches in your client and
combine the results there.  How to do either of these options is highly
dependent on your data and your overall design, so you may need help
from a professional rather than a volunteer mailing list.

Thanks,
Shawn