# Query terms boosting

**URL:** <https://discuss.elastic.co/t/query-terms-boosting/5269>\
**Category:** Elasticsearch\
**Created:** [August 28, 2011, 6:13pm UTC](https://discuss.elastic.co/t/query-terms-boosting/5269 "2011-08-28T18:13:44Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![konstantin](https://avatars.discourse-cdn.com/v4/letter/k/858c86/32.png) [@konstantin](https://discuss.elastic.co/u/konstantin)\
**Post date:** [August 28, 2011, 6:13pm UTC](https://discuss.elastic.co/t/query-terms-boosting/5269/1 "2011-08-28T18:13:44Z")

</div>

Hi,

I want to increase a significancy for some terms in the query. E.g. increase term 'iphone' in phrase 'I like iphone'.  
The recipe i found so far is 'query\_string':

{  
"query": {  
"query\_string": {  
"query": "I like iphone^5.0"  
}  
}  
}

The first question is do I loose the 'analysis' for this query. I mean if I set up stemmer will it work? Or for that kind of query the string will be processed 'as is'.  
And the second - Are there better ways to do it? Should I use boolean query with term boosting instead?

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:** [July 6, 2017, 3:55am UTC](https://discuss.elastic.co/t/query-terms-boosting/5269/2 "2017-07-06T03:55:48Z")

</div>


