Deividas Pekunas
03/04/2026, 8:15 AMdemote_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?Alan Martini
03/04/2026, 2:25 PMtext_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.Alan Martini
03/04/2026, 2:25 PMDeividas Pekunas
03/04/2026, 3:09 PMdemote_synonym_match when using sum_score, but I don't have a solution to suggest.