Everything seems to work fine, but sometime it seems that the webapp
Stop doesn't properly stop the webapp since the files remains locked
(but the webapp is
actually stopped) and so the delete could not be done.
I found on the net an attribute on the <context> tag on Tomcat 5.5
configuration files, "antiResourceLocking", that seems to work fine,
but the lock remains sometimes...
So I looked into the sorl mailing list, and found a thread that show
how to totally reset the index file using the XmlPost
Re: Deleting all index, including synonyms.txt and stopwords.txt
: Everything seems to work fine, but sometime it seems that the webapp
: Stop doesn't properly stop the webapp since the files remains locked
: (but the webapp is
: actually stopped) and so the delete could not be done.
it may take some time for the Solr webapp to completely shut itself down
when you send the "Stop" command to tomcat ... it depends on wether there
are any updates pending, or if it's in hte middle of a large commit -- or
even if it's in the middle of processing some intensive query requests.
: Is their a way, like '<delete><query>*:*</query></delete>', to reinit
: the synonyms and stopword list without stopping the solr webapp ?
nope. those files are only read when the factories are instantiated by the
schema .. and the schema is only read on application startup.