lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Elaine Cario <etca...@gmail.com>
Subject CDCR configuration in solrconfig
Date Mon, 18 Dec 2017 17:29:48 GMT
We've recently been exploring options for disaster recovery, and took a
look at CDCR for our SolrCloud(s).  It seems to meet our needs, but we've
stumbled into a couple of issues with configuration.

The first issue is that currently CDCR is configured as a request handler
in solrconfig, but because we will use the same SolrConfig for collections
in different environments (e.g. development, qa, production), the config
will not always be deployed in an environment that has CDCR. As a last
resort, we are thinking we can drop back to an old-school xml include, and
configure different includes for different environments.  This isn't
particularly elegant, but workable. Wondering if anyone has done it some
other way?

The 2nd issue I haven't found a work-around for is the collection name
mapping within the cdcr request handler configuration.  For some of our
applications, we "share" the same Solr config with many collections.  When
deploying, we just "upconfig" to ZK, and either create a new collection
against that same config (config name != collection name).  I'm not sure
with the collection name "baked into" the config how I would manage that,
except to switch to using a dedicated config for each collection.

SOLR-8389 looks like it might solve some of these issues, or at least make
them easier to manage.  Is this on the roadmap at all?

Any ideas would be appreciated.  Thanks!

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message