Re: Synonyms from Database

2010-01-11 Thread Erik Hatcher
On Jan 11, 2010, at 5:50 AM, Shalin Shekhar Mangar wrote: On Mon, Jan 11, 2010 at 4:15 PM, Erik Hatcher wrote: On Jan 11, 2010, at 4:51 AM, Peter A. Kirk wrote: The reload feature actually sounds quite neat - it will reload "in the background", and "switch in" the newly read configurati

Re: Synonyms from Database

2010-01-11 Thread Shalin Shekhar Mangar
On Mon, Jan 11, 2010 at 4:15 PM, Erik Hatcher wrote: > > On Jan 11, 2010, at 4:51 AM, Peter A. Kirk wrote: > >> The reload feature actually sounds quite neat - it will reload "in the >> background", and "switch in" the newly read configuration when it's ready - >> so hopefully no down-time waiting

Re: Synonyms from Database

2010-01-11 Thread Erik Hatcher
On Jan 11, 2010, at 4:51 AM, Peter A. Kirk wrote: The reload feature actually sounds quite neat - it will reload "in the background", and "switch in" the newly read configuration when it's ready - so hopefully no down-time waiting for configuration. Correct me if I'm wrong, but I don't thin

RE: Synonyms from Database

2010-01-11 Thread Peter A. Kirk
hen it's ready - so hopefully no down-time waiting for configuration. Med venlig hilsen / Best regards Peter Kirk E-mail: mailto:p...@alpha-solutions.dk -Original Message- From: Ravi Gidwani [mailto:ravi.gidw...@gmail.com] Sent: 11. januar 2010 22:43 To: solr-user@lucene.apache.org; noble.p.

Re: Synonyms from Database

2010-01-11 Thread Ravi Gidwani
Thanks all for your replies. I guess what I meant by Query time, and as I understand solr (and I may be wrong here) I can add synonyms.txt in the query analyser as follows: By this my understanding is , even if the document (at index time) has a word "

RE: Synonyms from Database

2010-01-11 Thread Peter A. Kirk
You could try to take the code for SynonymFilterFactory as a starting point, and adapt it to obtain the synonym configuration from another source than a text file. But I'm not sure what you mean by checking for synonyms at query time. As I understand it, Solr works like that anyway - depending

Re: Synonyms from Database

2010-01-10 Thread Noble Paul നോബിള്‍ नोब्ळ्
On Sun, Jan 10, 2010 at 1:04 PM, Otis Gospodnetic wrote: > 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... Why query time. Can it not be done at

Re: Synonyms from Database

2010-01-09 Thread Otis Gospodnetic
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 > Fro