# Boost Searching

**URL:** <https://discuss.elastic.co/t/boost-searching/9362>\
**Category:** Elasticsearch\
**Created:** [October 15, 2012, 9:45pm UTC](https://discuss.elastic.co/t/boost-searching/9362 "2012-10-15T21:45:40Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Jim\_Bartek](https://avatars.discourse-cdn.com/v4/letter/j/90db22/32.png) [@Jim\_Bartek](https://discuss.elastic.co/u/Jim_Bartek)\
**Post date:** [October 15, 2012, 9:45pm UTC](https://discuss.elastic.co/t/boost-searching/9362/1 "2012-10-15T21:45:40Z")

</div>

why is my query returning the same score even though the call document has  
description boosted higher? is it because other documents contain the same  
field name with a lower boost value? [https://gist.github.com/3895691](https://gist.github.com/3895691)

--

---

<div class="post-metadata">

**Author:** ![radu\_gheorghe](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/radu_gheorghe/32/556_2.png) [@radu\_gheorghe](https://discuss.elastic.co/u/radu_gheorghe)\
**Post date:** [October 16, 2012, 11:27am UTC](https://discuss.elastic.co/t/boost-searching/9362/2 "2012-10-16T11:27:13Z")

</div>

Hi Jim,

I think you need to add a boost value to your query. Something like this:

"query": {  
"query\_string": {  
"query": "5678",  
"boost": "2.0",  
"analyze\_wildcard": true,  
....

## Best regards, Radu

[http://sematext.com/](http://sematext.com/) -- Elasticsearch -- Solr -- Lucene

On Tue, Oct 16, 2012 at 12:45 AM, Jim Bartek [jim@jimbartek.com](mailto:jim@jimbartek.com) wrote:

> why is my query returning the same score even though the call document has  
> description boosted higher? is it because other documents contain the same  
> field name with a lower boost value? [elastic-help · GitHub](https://gist.github.com/3895691)

--

---

<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:08am UTC](https://discuss.elastic.co/t/boost-searching/9362/3 "2017-07-06T03:08:33Z")

</div>


