Serban
Serban

Reputation: 812

SOLR API - modifying the schema for one collection modifies it for ALL collections

I have a SOLR Server with several collections.

To retrieve the properties of the fields, I ran these requests:

Then I ran a POST http://localhost:8983/solr/<collection_id_1>/schema request, with the content needed to change some fields properties.

After this, I noticed that the same fields properties changes were also modified for collection_id_2.

Is this normal behaviour ?
What did I do wrong ?

Thank you.

Upvotes: 0

Views: 199

Answers (1)

MatsLindh
MatsLindh

Reputation: 52912

Your collection uses a configset for its configuration. This configset will be shared across multiple collections, unless you've explicitly made a copy when you created the collection or you're not defining a specific configset at all (in that case one will be created for you from the _default configset - depending on your Solr version).

Upvotes: 1

Related Questions