# Synonym ranking problem

**URL:** <https://discuss.elastic.co/t/synonym-ranking-problem/84783>\
**Category:** Elasticsearch\
**Created:** [May 5, 2017, 8:54pm UTC](https://discuss.elastic.co/t/synonym-ranking-problem/84783 "2017-05-05T20:54:27Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![bernabas](https://avatars.discourse-cdn.com/v4/letter/b/3ec8ea/32.png) [@bernabas](https://discuss.elastic.co/u/bernabas)\
**Post date:** [May 5, 2017, 8:54pm UTC](https://discuss.elastic.co/t/synonym-ranking-problem/84783/1 "2017-05-05T20:54:27Z")

</div>

Hello,  
Does elasticsearch rank the "original" term before the "synonym" when returning results? So for example, let's say one of the docs has the text "I love Football" and another doc has "I love Soccer" and i have a synonym pair "football, soccer" ... when i search for "love football", does elasticsearch return the "I love Football" doc before "I love Soccer" by default or do i have to explicitly do something on my query?

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:** [June 2, 2017, 9:04pm UTC](https://discuss.elastic.co/t/synonym-ranking-problem/84783/2 "2017-06-02T21:04:09Z")

</div>

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