Sagar,
> I am facing a problem here that even after the core reload and
re-indexing
> the documents the new updated synonym or stop words are not loaded.
> Seems so the filters are not aware that these files are updated so
the solution
> to me is to restart the whole container in which I have embedded
> the Solr server; it is not feasible in production.
I am not a multicore user, but I can see the synonyms.txt updated
after reloading the core (I verified it via analysis.jsp, not re-indexing),
wothout restarting solr server. I'm using 1.4. What version are you using?
Koji
Sagar Khetkade wrote:
Hello All,
I was figuring out the issue with the synonym.txt and stopword.txt files being updated on regular interval.
Here in my case I am updating the synonym.txt and stopword.txt files as the synonym and stop word dictionary is update. I am facing a problem here that even after the core reload and re-indexing the documents the new updated synonym or stop words are not loaded. Seems so the filters are not aware that these files are updated so the solution to me is to restart the whole container in which I have embedded the Solr server; it is not feasible in production.
I came across the discussion with subject “ synonyms.txt file updated
frequently” in which Grant had a view to write a new logic in
SynonymFilterFactory which would take care of this issue. Is there any
possible solution to this or is this the solution.
Thanks in advance!
Regards,
Sagar Khetkade
_________________________________________________________________
Missed any of the IPL matches ? Catch a recap of all the action on MSN Videos
http://msnvideos.in/iplt20/msnvideoplayer.aspx