How to use maximum bm25 score among original term and its synonyms?

Hi, I am a newbie in Elasticsearch.

I'm using synonym filters in analyzer.

e.g. air conditioner -> "air", "conditioner", "circulator" (synonym)

When i use match query, it will calculate bm25 score for every matching terms including synonyms.

However, i want to use only maximum score among matching terms.

Is there any way by using query DSL?

Thanks :slight_smile:

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.