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.
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.
As of Solr 5.x released, a Schema API was implemented to change the Schema more easily:
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)
As of Solr 5.x released, a Schema API was implemented to change the Schema more easily:
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
© 2022 - 2024 — McMap. All rights reserved.