Ravi, I think if your synonyms were in a DB, it would be trivial to periodically dump them into a text file Solr expects. You wouldn't want to hit the DB to look up synonyms at query time...
Otis -- Sematext -- http://sematext.com/ -- Solr - Lucene - Nutch ----- Original Message ---- > From: Ravi Gidwani <ravi.gidw...@gmail.com> > To: solr-user@lucene.apache.org > Sent: Sat, January 9, 2010 10:20:18 PM > Subject: Synonyms from Database > > Hi : > Is there any work done in providing synonyms from a database instead of > synonyms.txt file ? Idea is to have a dictionary in DB that can be enhanced > on the fly in the application. This can then be used at query time to check > for synonyms. > > I know I am not putting thoughts to the performance implications of this > approach, but will love to hear about others thoughts. > > ~Ravi.