Hi Jack

I am using @ query time & Index time as I have other multiword synonym. seems 
the unidirection has some issues or I may miss configured..

I did something like below

10 => 2010
14=> 2014

I am thinking of using a separate file for this synonymn and use it @ Query 
time. Let me know if you have any other suggestions..

Thanks

Ravi



-----Original Message-----
From: Jack Krupansky [mailto:[email protected]] 
Sent: Saturday, November 08, 2014 11:37 AM
To: [email protected]
Subject: Re: Synonymn for Numbers

Are you using the synonyms for both indexing and query? It sounds like you want 
to use these synonyms only at query time. Otherwise, "10" in the index becomes 
"2010" in the index.

-- Jack Krupansky

-----Original Message-----
From: EXTERNAL Taminidi Ravi (ETI, Automotive-Service-Solutions)
Sent: Friday, November 7, 2014 2:22 PM
To: [email protected]
Subject: Synonymn for Numbers

Hi Group,

I am working on implementing synonym for number like
10,2010
14,2014

2 digit number to get documents with four digit, I added the above lines in 
synonym and everything works. But now I have to get for one direction,

I tried 10=>2010 but it is still gets the record belongs to 10 , if I search 
2010. I want to get only 2010 documents if I search 2010 not 10. I have 
expand=true in the synonym filter.

<filter class="solr.SynonymFilterFactory" synonyms="synonyms.txt" 
ignoreCase="true" expand="true"/>


If any help really appreciated.

Thanks

Ravi 

Reply via email to