Geoff,

Whether synonyms are applied at index time or query time is controlled via 
schema.xml - it depends on where you put the synonym factory, whether in the 
index-time or query-time section of a fieldType.  Synonyms are read once on 
start, I believe.  It might be good to have them read at index reader open 
time, as is done with elevate component...

Otis 

--
Sematext -- http://sematext.com/ -- Lucene - Solr - Nutch

----- Original Message ----
> From: Geoffrey Young <[EMAIL PROTECTED]>
> To: solr-user@lucene.apache.org
> Sent: Thursday, May 1, 2008 7:47:16 PM
> Subject: Re: token concat filter?
> 
> 
> 
> Yonik Seeley wrote:
> > If there are only a few such cases, it might be better to use synonyms
> > to correct them.
> 
> unfortunately, there are too many to handle this way.
> 
> > Off the top of my head there's no concatenating token filter, but it
> > wouldn't be hard to make one.
> 
> hmm, ok.  I'm not a java guy, so I'll try the PatternTokenizerFactory 
> before trying to write my own.  thanks :)
> 
> speaking of synonyms... will changes to synonyms.txt (and the other 
> files) take affect on each re-indexing, or does the solr server read it 
> once on load then hold on to it until restart?
> 
> --Geoff
> 


Reply via email to