Support Questions
Find answers, ask questions, and share your expertise

how to update solr cloud existing schema

Solved Go to solution

how to update solr cloud existing schema

Expert Contributor

i am using hue 3.7 ,CDH 5.3.1 , i created a schema on solr using hue , and want to edit this schema , i searched for the schema.xml file but i couln't find it at all also tried to look in zoo keeper configuration in cloudera manager but didn't find any thing as well, so how can i edit an exisiting schema in solr ? 

1 ACCEPTED SOLUTION

Accepted Solutions

Re: how to update solr cloud existing schema

Expert Contributor
i found the solution ,
go to :
cd /opt/cloudera/parcels/CDH/lib/solr/bin/

then type :
solrctl instancedir --update collection_name new_configuration_path/

View solution in original post

2 REPLIES 2

Re: how to update solr cloud existing schema

Expert Contributor
i found the solution ,
go to :
cd /opt/cloudera/parcels/CDH/lib/solr/bin/

then type :
solrctl instancedir --update collection_name new_configuration_path/

View solution in original post

Re: how to update solr cloud existing schema

Expert Contributor
don't forget to reload the collection to see the effect