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 "Zimmermann, Thomas" <tz...@techtarget.com> on 2018/07/03 03:56:27 UTC

Override a single value in a Config Set

Hi,

We have several cores with identical configurations with the sole exception being the language of their document sets. I'd like to leverage Config Sets to manage the going forward, but ran into two issues I'm struggling to solve conceptually.

Sample Cores:
our_documents
our_documents_de
our_documents_es
our_documents_fr

The two values I'd like to override are are:

Set a default field value for a field called "language" to the language of the core, ex = "de" on a german core.
Override some text field analyzers to use the correct language
Override index specific language files like stopwords.txt

All of our config files live in SVN and pushed out to staging/prod envs via zkcli, so we want to avoid API dependent settings on our prod servers. We always want our configs in SVN and don't want to rely on the API to manage production settings in a way that we can't change via redeploying our code.

Any thoughts on if this is feasible? Should I just stick with independent core configs?

Thanks,
TZ