Hi Atin,

Please host your images on some other site as they won't reach the mailing
list as attachments. I had researched about Synonym support for a week
before enabling them in Auto-Suggest. Why do you want multi-term synonyms
to break? I guess only for matching documents and not tokenized synonyms.

I think you should try setting sow (split on whitespace) to true. Read more
here:
https://lucene.apache.org/solr/guide/6_6/the-extended-dismax-query-parser.html#TheExtendedDisMaxQueryParser-ThesowParameter
.

A good article about this:
https://opensourceconnections.com/blog/2018/02/20/edismax-and-multiterm-synonyms-oddities/

This is a very naive guess. I would need the screenshots and some more
details. :)

On Mon, 2 Mar 2020 at 01:17, atin janki <atinja...@gmail.com> wrote:

> Hello everyone,
>
> I am using solr 8.3.
>
> After I included Synonym Graph Filter in my managed-schema file, I have
> noticed that if the query string contains a multi-word synonym, it
> considers that multi-word synonym as a single term and does not break it,
> further suppressing the default search behaviour.
>
> Here "soap powder" is the search query which is also a multi-word synonym
> in the synonym file as-
>
> s(104254535,1,'soap powder',n,1,1).
> s(104254535,2,'built-soap powder',n,1,0).
> s(104254535,3,'washing powder',n,1,0).
>
>
> I am sharing some screenshots for understanding the problem-
>
> *without* Synonym Graph Filter (2 docs returned) -
> [image: image.png]
>
>
> *with* Synonym Graph Filter (2 docs expected, only 1 returned)
>
> [image: image.png]
>
> Has anyone experienced this before? If yes, is there any workaround ?
> Or is it an expected behaviour?
>
> Regards,
> Atin Janki
>
>

-- 
-- 
Regards,

*Paras Lehana* [65871]
Development Engineer, *Auto-Suggest*,
IndiaMART InterMESH Ltd,

11th Floor, Tower 2, Assotech Business Cresterra,
Plot No. 22, Sector 135, Noida, Uttar Pradesh, India 201305

Mob.: +91-9560911996
Work: 0120-4056700 | Extn:
*1196*

-- 
*
*

 <https://www.facebook.com/IndiaMART/videos/578196442936091/>

Reply via email to