The way we plan to use Solr
together with a Content Management System is that the authors/editors
can create new article/document types when needed, without any need to
restart anything.
Perhaps consider using dynamic fields if you need new fields:
http://wiki.apache.org/solr/SchemaXml#head-82dba16404c8e3318021320638b669b3a6d780d0
- - - -
Do you really need to change the schema? Your CMS will transform from
blog software to invoice tracking to forum without restarting? With
clever use of dynamic fields this should be possible too. Consider
changing the schema the same way you consider changing on for SQL -- you
will likely change it and test for a while before deploying.
That said, the new MultiCore stuff in trunk allows you to reload a core
at runtime:
http://wiki.apache.org/solr/MultiCore#head-429a06cb83e1ce7b06857fd03c38d1200c4bcfc1
If this is not possible to do, is it really necessary to restart the
entire application server for a change in schema.xml to have effect? Or
only the solr webapp?
correct, you only need to restart the solr webapp for all settings to
get reloaded.
ryan