On Oct 4, 2007, at 6:10 AM, Robert Young wrote:

Brilliant, thank you, that LukeRequestHandler looks very useful.

On 10/4/07, Erik Hatcher <[EMAIL PROTECTED]> wrote:
3. Is it possible to change stopword and synonym sets at runtime?

Only if the underlying text file is changed.

Will Solr automatically reload the file if it changes or does it have
to be informed of the change?

I'll expose my confusion here and say that I don't know for sure, but I'm pretty sure that once it's been loaded it won't get reloaded without bouncing Solr altogether. solr-dev's, please correct me with some code pointers if I'm wrong. In my brief IntelliJ surfing this morning, it seems that once a SolrCore has been instantiated, that instance sticks around forever, and it holds the IndexSchema instance.

I'm guessing that the new multi-core stuff makes this a bit more dynamically controllable.

Is changing the underlying file while
Solr is running dangerous?

No - it only reads it once as far as I can tell.

Caveat to all technical details above: I'm still learning the ropes with the core of Solr so if I misspoke on any of this lifecycle stuff, let me know. By trying to answer questions, though, I learn quicker :)

        Erik



Reply via email to