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 ....
>

Reply via email to