How do I make the score calculation of nested hits independend of the amount of nested docs?

Using GET /my_index/_doc/2416/_explain to see how the score is calculated, I found out that the calculation depends on the amount of nested docs of a parent. The more nested docs, the lower the score of the hit. I use "score_mode": "max" as the nested score mode.

How can I make the score calculation independent of the amount of nested docs?

I got around it using a Constant Score Query.

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