Is there any way to define synonyms so that exact ...
# community-help
j
Is there any way to define synonyms so that exact matches are still weighed a bit higher? E.g. with a one-way synonym from “foo” to “bar”, I’d want a query for “foo” to contain all the “bar”s, but the ones that actually contain “foo” should be ranked first.
j
We currently force synonym matches to have the same text match score as the root matches, so they are ranked the same. So if there’s a popularity score specified in sort_by that is used for tie-breaking. But the use case you describe makes sense. I’m thinking we should have an option to configure ranking so that synonym matches are ranked at least 1 unit lower than the root match. Could you open a Github issue for this?