Rafał Trójczak
Rafał Trójczak

Reputation: 13

How to define common field types in Solr for all cores?

Lets assume that I have a Solr instance with a few cores that use different languages. For example, I have five different cores: two of them use English, two of them use German, and one uses French.

At present each core has its own field types definitions defined in schema.xml.

I would like to store my field types definitions in one place (within the same Solr instance) in order to be able to share them between cores.

Is it possible? And if so, how can I do that?

Upvotes: 0

Views: 77

Answers (1)

Persimmonium
Persimmonium

Reputation: 15789

use Solrcloud. Then, you common fields live in a configset you upload to zookeeper, and you use the same config to create N different collections. Then all share the same types

Upvotes: 1

Related Questions