Hi (changing to solr-user list)

Yes it is, especially if the terms left of => are multi-spaced.  Check out the 
Wiki, one page there explains this nicely.

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

----- Original Message ----
From: anuvenk <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
Sent: Saturday, December 1, 2007 1:21:49 AM
Subject: Re: synonyms


Ideally, would it be a good idea to pass the index data through the
 synonyms
filter while indexing?
Also,
say i have this mapping
dui => drunk driving defense
 or
dui,drunk driving defense,drunk driving law

so matches for dui, will also bring up matches for drunk driving law
 (the
whole phrase) or does it also bring up all matches for 'drunk' ,
'driving','law'  ?



Yonik Seeley wrote:
> 
> On Nov 30, 2007 5:39 PM, anuvenk <[EMAIL PROTECTED]> wrote:
>> Should data be re-indexed everytime synonyms like
>> word1,word2
>> or
>> word1 => word2
>>
>> are added to synonyms.txt
> 
> Yes, if it changes the index (if it's used in the index anaylzer as
> opposed to just the query analyzer).
> 
> -Yonik
> 
> 

-- 
View this message in context:
 http://www.nabble.com/synonyms-tf4925232.html#a14100346
Sent from the Solr - Dev mailing list archive at Nabble.com.




Reply via email to