Reputation: 25
I am doing index time synonym expansion for multi word synonyms. In my synonyms.txt I have synonyms like (barc=>barc,bhabha atomic research center). But when I am searching for "barc" it is not highlighting "bhabha atomic research center". Only 1st word i.e "bhabha" is highlighting...
Can any one help me???
thanks...
Upvotes: 2
Views: 881
Reputation: 2549
For now easiest way to fix this is to set LUCENE_33 instead of LUCENE_40 in solrconfig.xml and reindex. Highlighting will work then as expected.
A patch is now available: https://issues.apache.org/jira/browse/LUCENE-3668
Upvotes: 2