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?