I have not seen this mentioned anywhere, but I found a useful 'trick' to restart solr without having to restart tomcat. All you need to do is 'touch' the solr.xml in the solr.home directory. It can take a few seconds but solr will restart and reload any config.
Cheers François On Jul 27, 2011, at 2:56 PM, Alexei Martchenko wrote: > I believe you're fine with that. Don't need to reindex all solr database. > > 2011/7/27 Charles-Andre Martin <charles-andre.mar...@sunmedia.ca> > >> Hi, >> >> >> >> We currently have a big index in production. We would like to add 2 >> non-required fields to our schema.xml : >> >> >> >> <field name="myfield" type="boolean" indexed="true" stored="true" >> required="false"/> >> >> <field name="myotherfield" type="string" indexed="true" stored="true" >> required="false" multiValued="true"/> >> >> >> >> I made some tests: >> >> >> >> - I stopped tomcat >> >> - I changed the schema.xml >> >> - I started tomcat >> >> >> >> The data was still there and I was able to add new document with theses 2 >> fields. >> >> >> >> So far, it looks I won't need to re-index all my data. Am I right ? Do I >> need to re-index all my data or in that case I'm fine ? >> >> >> >> Thank you ! >> >> >> >> Charles-André Martin >> >> > > > -- > > *Alexei Martchenko* | *CEO* | Superdownloads > ale...@superdownloads.com.br | ale...@martchenko.com.br | (11) > 5083.1018/5080.3535/5080.3533