Hi Has anything changed regarding synoym matching ...
# community-help
j
Hi Has anything changed regarding synoym matching in 29? I only see this in the release notes:
Improved synonym matching when multiple synonym definitions match a given search query
It seems like it now matches synonyms on prefixes as well. Example. q: "test" Synonyms: ["testperson", "black"] In 28 the query would get no hits. In 29 we get hits on "black"
k
It's enabled only if you set
synonym_prefix: true
-- it's disabled by default.
j
OK - thanks. Weird though. Exact same queries fired against indexes with same data yield results similar to above
k
If you can reproduce this on a small stand-alone collection, please post a reproducible snippet.
👍 1
n
@Kishore Nallan Can you elaborate on this synonym_prefix feature. What does it do? to me it seems like if q:"ab" it will use synonym "abc" as part of the search, in both v28 and v29 even though you leave out "synonym_prefix" in query
k
synonym_prefix
flag is disabled by default so the behavior you describe (
ab
matching
abc
) should not occur unless there is a bug. Can you please share a small reproducible example? @Nicholas Tjørnelund
n
@Kishore Nallan Follow readme inside this
Here is another variant of same "issue", let me know if i have made a mistake
k
Thanks, will check.
n
Let me know what you find
k
Yes will be looking into it this week. Will update.
n
@Kishore Nallan hey, what did you find?
k
Sorry still on our list. Some things came up which ended up filling up our time last week.
n
alrighty thank you
k
We've produced the issue and also have a patch ready. Will be testing, merging and creating a new build with the fix. I will post an update when it's ready. Thank you for raising this!
💪 2
This is fixed in
30.0.rc12
💪 1
❤️ 1