Multiterm synonyms and preserving original term


#1

Hi,

I'm trying to get a synonym query to work where a user can search for:

"interleukin 6", "il6"

but also have

"interleukin" also retrieve the document.

So far I have the first situation working with a contracting synonym setup so:
"interleukin 6, il6 => il6"
With query time and index time synonym analysis.

But because at index time the term is indexed as "il6" when searching for "interleukin" it fails to find the document. Any tips on how I can get it to behave as I want?

Many Thanks


(arvind) #2

Hi MrJaba,

Did you get your solution. I am also facing the similar problem. Can you please help me out.

Thanks in advance


(system) #3