I referred here to edit my solrconfig.xml file, though the changes are reflected in solrconfig.xml in zookeeper the /spell request handler that I commented is still working. Following are the steps that I followed
- First I created a collection with collection name amazon_products with
_defaultconfigset and in zookeeper, configset with name same as collection name amazon_products is created as shown below
- Then I downloaded configset amazon_products and edited solrconfig.xml(commented
/spellrequest handler) and then I uploaded the same to zookeper as shown below
Then I restarted solr using the following commands
bin/solr restart -c -p 8983 -s example/cloud/node1/solrbin/solr restart -c -p 7574 -z localhost:9983 -s example/cloud/node2/solrNow I used Solr Admin UI and changed request handler from
/selectto/spell, even though I commented request handler/spellin solrconfig.xml and uploaded that to zeekeeper and restarted the solr still queries executed with/spellrequest handler are working, but it should have shown 404 error for/spellas I commented this partJust to verify whether changes to solrconfig.xml in zookeeper are reflected or not I downloaded configset and checked the solconfig.xml file the changes that I made were reflected properly
So to conclude though my changes are reflected why it is not working as excepted?
Is it a proper way to update configset in solrcloud? Am I restarting solr properly?
EDIT: I even tried reloading the collection instead of restarting collection but still having the same problem
Reload command used:
http://localhost:8983/solr/admin/collections?action=RELOAD&name=amazon_products

