# Scale scor of result

**URL:** <https://discuss.elastic.co/t/scale-scor-of-result/88185>\
**Category:** Elasticsearch\
**Created:** [June 4, 2017, 12:07pm UTC](https://discuss.elastic.co/t/scale-scor-of-result/88185 "2017-06-04T12:07:56Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Yur\_Gasparyan](https://avatars.discourse-cdn.com/v4/letter/y/7c8e57/32.png) [@Yur\_Gasparyan](https://discuss.elastic.co/u/Yur_Gasparyan)\
**Post date:** [June 4, 2017, 12:07pm UTC](https://discuss.elastic.co/t/scale-scor-of-result/88185/1 "2017-06-04T12:07:56Z")

</div>

Hi all. I my case I have elastic search query look like this  
$query = [  
"index" =\> "my\_index",  
"type" =\> "q",  
"body" =\> [  
"query" =\> [  
"dis\_max" =\> [  
"queries" =\> [  
[  
"match" =\> ["title" =\> "test"]  
],  
[  
"match" =\> ["body" =\> "test"]  
],  
[  
"match" =\> ["name" =\> "test"]  
]  
]  
]  
],  
"min\_score"=\> 1  
],  
"size" =\> 1000,  
];

I want to Increase priority of title result, as I want to multiply result of title by 2. Please help ! Thanks

---

<div class="post-metadata">

**Author:** ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)\
**Post date:** [June 5, 2017, 9:19am UTC](https://discuss.elastic.co/t/scale-scor-of-result/88185/2 "2017-06-05T09:19:12Z")

</div>

Have you looked at boosting?  
[https://www.elastic.co/search?q=boost&section=Docs%2FElasticsearch%2FReference%2F5.4](https://www.elastic.co/search?q=boost&section=Docs%2FElasticsearch%2FReference%2F5.4)

---

<div class="post-metadata">

**Author:** ![Yur\_Gasparyan](https://avatars.discourse-cdn.com/v4/letter/y/7c8e57/32.png) [@Yur\_Gasparyan](https://discuss.elastic.co/u/Yur_Gasparyan)\
**Post date:** [June 5, 2017, 2:36pm UTC](https://discuss.elastic.co/t/scale-scor-of-result/88185/3 "2017-06-05T14:36:28Z")

</div>

Yes. But Can not create query. can You help me to create elastic query with boosting ,

---

<div class="post-metadata">

**Author:** ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)\
**Post date:** [June 6, 2017, 9:58am UTC](https://discuss.elastic.co/t/scale-scor-of-result/88185/4 "2017-06-06T09:58:19Z")

</div>

Can you show us what you have so far, with the boosting changes you want?

---

<div class="post-metadata">

**Author:** ![Yur\_Gasparyan](https://avatars.discourse-cdn.com/v4/letter/y/7c8e57/32.png) [@Yur\_Gasparyan](https://discuss.elastic.co/u/Yur_Gasparyan)\
**Post date:** [June 7, 2017, 9:42am UTC](https://discuss.elastic.co/t/scale-scor-of-result/88185/5 "2017-06-07T09:42:03Z")

</div>

I need to give priority to title , than to body . So I mean that i want to multiply title result score by 2 and the body score by 1.5

---

<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, 9:51am UTC](https://discuss.elastic.co/t/scale-scor-of-result/88185/6 "2017-07-05T09:51:16Z")

</div>

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