Changing Schema.xml in SolrCloud setup
Asked Answered
A

3

8

how do i change the schema.xml for a collection in SolrCloud?

I have set up a zookeeper-ensemble on 3 nodes and i guess i could make the changes there, but don't know exactly.

Acceleration answered 29/7, 2013 at 18:4 Comment(1)
as far as i know, after changing your schema, reloading the related core on leader node should update the schema for all... not quite sure if you need to reload the core on other nodes too..Overskirt
A
2

As of Solr 5.x released, a Schema API was implemented to change the Schema more easily:

https://cwiki.apache.org/confluence/display/solr/Schema+API

Acceleration answered 4/11, 2015 at 9:10 Comment(0)
L
4

You can reload schema.xml for cores on SolrCloud by using zkCli.sh

More details in the Stackoverflow link: Reloading Zoo keeper solr conf (schema.xml)

Latterday answered 30/7, 2013 at 21:54 Comment(0)
A
2

As of Solr 5.x released, a Schema API was implemented to change the Schema more easily:

https://cwiki.apache.org/confluence/display/solr/Schema+API

Acceleration answered 4/11, 2015 at 9:10 Comment(0)
U
1

The easiest way would be to use 1 node as a bootstrapper, you may add a bootstrap_configdir pointing to your configuration directory. Restarting the service would upload configuration files. Another option is to use the ZkCli - you can find the usage examples here: http://wiki.apache.org/solr/SolrCloud

Uzziel answered 30/7, 2013 at 16:59 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.