Thanks 
Unfortunately thats not the case.
We are using the same field to do search on and display that text.
So looks like in this case this is not possible
Am i correct


We have a custom field type with synonyms defined at query time.

Erik Hatcher-4 wrote:
> 
> 
> On Dec 23, 2009, at 2:26 PM, darniz wrote:
>> i have a requirement where we dont want to hightlight synonym matches.
>> for example i search for caddy and i dont want to highlight matched  
>> synonym
>> like cadillac.
>> Looking at highlighting parameters i didn't find any support for this.
>> anyone can offer any advice.
> 
> You can control what gets highlighted by which analyzer is used.  You  
> may need a different field for highlighting than you use for searching  
> in this case - but you can just create another field type without the  
> synonym filter in it and use that for highlighting.
> 
>       Erik
> 
> 
> 

-- 
View this message in context: 
http://old.nabble.com/NOT-highlighting-synonym-tp26906321p26945921.html
Sent from the Solr - User mailing list archive at Nabble.com.

Reply via email to