How to ignore matching count and apply same score


I am using multi match in several fields and when I try to search with keyword, ES applies higher score to which has more matching words.

IE, If I try to search with valentine and Document A has valentine XXX valentine and Document B has valentine XXXXXXXX, Document A has higher score than B.

I want to apply same score to them if they have valentine regardless of counts.

This must be done in multi_search because I have to search it in several fields.

About analyzer, I am using customized one and it is below

filter : "owercase, asciifolding"
tokenizer : "letter"

Hope to hear suggestions from elastic experts :smiley:


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