Should I expect the `demote_synonym_match` paramet...
# community-help
d
Should I expect the
demote_synonym_match
parameter to work properly? I tried setting it to
true
, but I don't see any change in results, documents with synonyms involved are still at the top. We use `text_match_type = sum_score`; maybe that's the reason? For now I don't have a small scoped replication example, but is there anything we should know before using
demote_synonym_match
?
a
Hey @Deividas Pekunas With
text_match_type=sum_score
the demotion can be too small to be noticiable. I've spin up a example that can illustrate this and you can run in your machine. Observed from repeated runs: -
synonym_involved_score_without_demote=257077191049450
-
synonym_involved_score_with_demote=257077191049218
-
synonym_involved_score_dropped=true
- Top doc remains
synonym_involved
in both sum-score runs. So the parameter is active and affects score, but in
sum_score
mode it can behave like a subtle tie-breaker instead of visibly reordering hits.
Untitled
d
Thanks for the reply! Yeah, that makes sense, that was my intuition as well. It would be great to somehow have different behavior for
demote_synonym_match
when using
sum_score
, but I don't have a solution to suggest.