# Phrase\_prefix boosts prefix above phrase?

**URL:** <https://discuss.elastic.co/t/phrase-prefix-boosts-prefix-above-phrase/45395>\
**Category:** Elasticsearch\
**Created:** [March 24, 2016, 7:56pm UTC](https://discuss.elastic.co/t/phrase-prefix-boosts-prefix-above-phrase/45395 "2016-03-24T19:56:52Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Pablito](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/pablito/32/8677_2.png) [@Pablito](https://discuss.elastic.co/u/Pablito)\
**Post date:** [March 24, 2016, 7:56pm UTC](https://discuss.elastic.co/t/phrase-prefix-boosts-prefix-above-phrase/45395/1 "2016-03-24T19:56:53Z")

</div>

HI all,

I'm doing a city search and I'm experiencing a strange (or not) behavior.

I'm searching with phrase\_prefix and it looks like it is giving more weight to any document _with_ the prefix than any other that has an exact match.

Examples:

searching london, I have Londonderry coming with more wight. even New London comes first.  
Same happens with miami vs Miamisburg  
or Lima vs Limassol and Limay..

Why a prefix-ed word has more weight than a complete match one?

I've tried to use type phrase only, but this causes that the search "Chicag" won't bring chicago.

any ideas?

thanks in advance.

---

<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:** [July 5, 2017, 11:05pm UTC](https://discuss.elastic.co/t/phrase-prefix-boosts-prefix-above-phrase/45395/2 "2017-07-05T23:05:22Z")

</div>


