# Score affected by term position for non-phrase queries

**URL:** <https://discuss.elastic.co/t/score-affected-by-term-position-for-non-phrase-queries/8426>\
**Category:** Elasticsearch\
**Created:** [July 16, 2012, 4:22pm UTC](https://discuss.elastic.co/t/score-affected-by-term-position-for-non-phrase-queries/8426 "2012-07-16T16:22:16Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![vredens](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/vredens/32/2808_2.png) [@vredens](https://discuss.elastic.co/u/vredens)\
**Post date:** [July 16, 2012, 4:22pm UTC](https://discuss.elastic.co/t/score-affected-by-term-position-for-non-phrase-queries/8426/1 "2012-07-16T16:22:16Z")

</div>

Hi,

From the documentation I assumed that term position in any multi-term query  
would also influence the score but I found out it is not so.

For example,

Given 2 documents like:  
{ "text": "one two" }  
{ "text": "two one" }

And a search like:  
{  
"query": {  
"query\_string": {  
"query": "one~ two~",  
"default\_operator": "and"  
}  
}

This yields both documents, which is what I want, but they have the same  
score, which is not what I'd like. Is there any way to have score  
influenced by term position while keeping stuff like term fuzziness?

---

<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 6, 2017, 3:20am UTC](https://discuss.elastic.co/t/score-affected-by-term-position-for-non-phrase-queries/8426/2 "2017-07-06T03:20:11Z")

</div>


