# How to make doc which has more different words score higher?

**URL:** <https://discuss.elastic.co/t/how-to-make-doc-which-has-more-different-words-score-higher/284546>\
**Category:** Elasticsearch\
**Created:** [September 18, 2021, 3:11pm UTC](https://discuss.elastic.co/t/how-to-make-doc-which-has-more-different-words-score-higher/284546 "2021-09-18T15:11:18Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Bowen\_Liu](https://avatars.discourse-cdn.com/v4/letter/b/a4c791/32.png) [@Bowen\_Liu](https://discuss.elastic.co/u/Bowen_Liu)\
**Post date:** [September 18, 2021, 3:11pm UTC](https://discuss.elastic.co/t/how-to-make-doc-which-has-more-different-words-score-higher/284546/1 "2021-09-18T15:11:19Z")

</div>

Hi everyone,  
I have a problem about scoring in es. The thing is that I use multi\_match to do full text search in muti-fields and use the type "best\_fields", say, user\_name, biz\_type, account\_name, content... When I use, say "google play" to search(the search analyzer is standard analyzer), I always get a doc with "play" before "google play", after see explain result, I found that the doc with only "play" has three fields with word "play"(user\_name, account\_name, content); but other docs with "google play" has just one field with the word "google play"(biz\_type), so the doc with "play" in three fields sroces higher than docs with "google play".  
What I expected is that all docs with "google play" should have higher rank than doc with only "play", is there any param that can controll this? I thought this shoud be a normal requirement, but searched eveything I can but I just find nothing...  
Thank you guys~

---

<div class="post-metadata">

**Author:** ![Bowen\_Liu](https://avatars.discourse-cdn.com/v4/letter/b/a4c791/32.png) [@Bowen\_Liu](https://discuss.elastic.co/u/Bowen_Liu)\
**Post date:** [September 22, 2021, 12:58am UTC](https://discuss.elastic.co/t/how-to-make-doc-which-has-more-different-words-score-higher/284546/2 "2021-09-22T00:58:39Z")

</div>

Anyone can help? Really need your help!

---

<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:** [October 20, 2021, 12:58am UTC](https://discuss.elastic.co/t/how-to-make-doc-which-has-more-different-words-score-higher/284546/3 "2021-10-20T00:58:43Z")

</div>

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