# Can i add a field weightage/boost globally for search In Elasticsearch?

**URL:** <https://discuss.elastic.co/t/can-i-add-a-field-weightage-boost-globally-for-search-in-elasticsearch/161329>\
**Category:** Elasticsearch\
**Created:** [December 18, 2018, 1:09pm UTC](https://discuss.elastic.co/t/can-i-add-a-field-weightage-boost-globally-for-search-in-elasticsearch/161329 "2018-12-18T13:09:21Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Rahul\_Juneja](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/rahul_juneja/32/38939_2.png) [@Rahul\_Juneja](https://discuss.elastic.co/u/Rahul_Juneja)\
**Post date:** [December 18, 2018, 1:09pm UTC](https://discuss.elastic.co/t/can-i-add-a-field-weightage-boost-globally-for-search-in-elasticsearch/161329/1 "2018-12-18T13:09:21Z")

</div>

GET posts/\_search  
`{ "query": { "multi_match": { "query": "sport", "fields": ["name^1", "description^2", "keywords^3"] } } }`

I want to avoid this **^1** , **^2** , **^3** and set it globally. So that I can Search directly with predefined weightage of fields.

`{ "query": { "multi_match": { "query": "sport", "fields": ["name", "description", "keywords"] } } }`

---

<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:** [January 15, 2019, 1:09pm UTC](https://discuss.elastic.co/t/can-i-add-a-field-weightage-boost-globally-for-search-in-elasticsearch/161329/2 "2019-01-15T13:09:24Z")

</div>

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