: Is there a way to load the synonyms dynamically. : : I mean if the synonym.txt file changes then during query time the newly : added synonym should be active. : : Currently it required a reindex
it only requires reindexing if you used the synonyms as part of an "index" analyzer ... if you use them as part of a "query" analyzer then you can just restart the core. There has been talk of adding some more general purpose functionality for Anslysis factories to be informed when a config file (like stopwords, synonyms, etc...) have been changed on disk, but at this point that code doesn't exist -- even if it did, it wouldn't eliminate the need to "reindex" if you're using it in an "index" analayzer. -Hoss