r
Sent: Thu, Jul 18, 2019 04:42 AM
Subject: Re: Solr edismax parser with multi-word synonyms
This is not a phrase query, rather it’s requiring either pair of words
to appear in the title.
You’ve told it that “frozen dinner” and “microwave foods” are synonyms.
So it’s looking for both the words “m
This is not a phrase query, rather it’s requiring either pair of words
to appear in the title.
You’ve told it that “frozen dinner” and “microwave foods” are synonyms.
So it’s looking for both the words “microwave” and “foods” in the title field,
or “frozen” and “dinner” in the title field.
You’
Hi sunil,
1. as you have added "microwave food" in synonym as a multiword synonym to
"frozen dinner", edismax parsers finds your synonym in the file and is
considering your query as a Phrase query.
This is the reason you are seeing parsed query as +(((+title:microwave
+title:food) (+title:frozen
I have enabled the SynonymGraphFilter in my field configuration in order to
support multi-word synonyms (I am using Solr 7.6). Here is my field
configuration:
And this is my synonyms.txt file:
frozen dinner,microwave food
Scenario 1: blue shirt (qu