Support Questions
Find answers, ask questions, and share your expertise
Announcements
Alert: Welcome to the Unified Cloudera Community. Former HCC members be sure to read and learn how to activate your account here.

how to update solr cloud existing schema

SOLVED Go to solution
Highlighted

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/

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/

Re: how to update solr cloud existing schema

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