Hi Reth & All - Thanks for your quick reply. As I can see the work-around link given by you is dealing with the different syntax of the synonyms ... like as below ...
big apple new york city city of new york new york new york new york ny ny city ny ny new york But I need the synonyms like as below format - left-hand => right-hand test1 test, test2 test, test3 test =>movie1 cinema,movie2 cinema,movie3 Can you please help me out and suggest the approach. On Fri, May 6, 2016 at 12:13 PM, Reth RM <reth.ik...@gmail.com> wrote: > Right, this is a known issue. There is currently an active jira that you > may like to watch https://issues.apache.org/jira/browse/SOLR-5379 > > And other possible workaround is explained here : > > https://lucidworks.com/blog/2014/07/12/solution-for-multi-term-synonyms-in-lucenesolr-using-the-auto-phrasing-tokenfilter/ > > On Fri, May 6, 2016 at 11:51 AM, SRINI SOLR <srini.s...@gmail.com> wrote: > > > Hi All - > > Can you please help me out on the multi-word synonyms with Solr 4.3.1. > > > > I am using the synonyms as below .... > > > > test1,test2 => movie1 cinema,movie2 cinema,movie3 cinema > > > > I am able to success with the above syntax .... like - if I search for > > words like test1 or test2 then right hand side multi-word values are > > shown. > > > > But - > > > > I have a synonyms like below - multi-word on both the side left-hand and > > right-hand... > > > > test1 test, test2 test, test3 test =>movie1 cinema,movie2 cinema,movie3 > > cinema > > > > With the above left-hand multi-word format - not working as expected .... > > means .... > > > > Here below is the configuration I am using on query analyzer ... > > > > <filter class="solr.SynonymFilterFactory" synonyms="synonyms.txt" > > ignoreCase="true" expand="true" > > tokenizerFactory="solr.KeywordTokenizerFactory"/> > > > > > > Please Help me .... > > >