Take (length of the aliases field) out of score calculation

Suppose we have a documents of people with their name and array of aliases like this:

   name: "Christian",
   aliases: ["נוצרי", "کریستیان" ]

Suppose I have a document with 10 aliases and another one with 2 aliases
but both of them contains alias with value کریستیان.

The length of field (dl) for the first document is bigger than the second document
so the term frequency (tf) of the first document gets lower than the second one
and the score of the document with less aliases is bigger than another.

Sometimes I want to add more aliases for person in different languages and different forms because he/she is more famous but it causes to get lower score in results. I want to somehow take length of the aliases field out of my query's calculation.

Can you perhaps add the alias match as a filter clause to avoid it affecting scoring at all?

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