lucene-solr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From anuvenk <anuvenkat...@hotmail.com>
Subject Re: synonyms
Date Sat, 01 Dec 2007 00:21:49 GMT

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 <anuvenkatesh@hotmail.com> 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.


Mime
View raw message