# How to ignore matching count and apply same score

**URL:** https://discuss.elastic.co/t/how-to-ignore-matching-count-and-apply-same-score/74404
**Category:** Elasticsearch
**Created:** [February 8, 2017, 4:04pm UTC](https://discuss.elastic.co/t/how-to-ignore-matching-count-and-apply-same-score/74404 "2017-02-08T16:04:31Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![Zack\_Li](https://avatars.discourse-cdn.com/v4/letter/z/c77e96/32.png) [@Zack\_Li](https://discuss.elastic.co/u/Zack_Li)
#### Post date: [February 8, 2017, 4:04pm UTC](https://discuss.elastic.co/t/how-to-ignore-matching-count-and-apply-same-score/74404/1 "2017-02-08T16:04:31Z")

</div>

Hello

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 😃

Thanks.

---

<div class="post-metadata">

### Author: ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)
#### Post date: [March 8, 2017, 4:05pm UTC](https://discuss.elastic.co/t/how-to-ignore-matching-count-and-apply-same-score/74404/2 "2017-03-08T16:05:05Z")

</div>

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