# Rank Exact Phrase Match above All Words

**URL:** <https://discuss.elastic.co/t/rank-exact-phrase-match-above-all-words/218544>\
**Category:** Elasticsearch\
**Created:** [February 10, 2020, 8:48am UTC](https://discuss.elastic.co/t/rank-exact-phrase-match-above-all-words/218544 "2020-02-10T08:48:15Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![cawoodm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/cawoodm/32/14083_2.png) [@cawoodm](https://discuss.elastic.co/u/cawoodm)\
**Post date:** [February 10, 2020, 8:48am UTC](https://discuss.elastic.co/t/rank-exact-phrase-match-above-all-words/218544/1 "2020-02-10T08:48:15Z")

</div>

Searching for "cap screw M6x" brings a result with the exact phrase lower down in the ranking than another phrase with all words in the wrong order.

"\_score": 18.250565, "text\_en": "Screw M6X 16 Skt Cap Ss",  
"\_score": 16.391571, "text\_en": "socket head cap screw M6x8", \<\< this should be above

Is there any way to rank exact phrase matches above simply all words?

---

<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 9, 2020, 8:48am UTC](https://discuss.elastic.co/t/rank-exact-phrase-match-above-all-words/218544/2 "2020-03-09T08:48:16Z")

</div>

Closed on March 9, 2020, 8:48am UTC

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