# Boosting per field and index when searching multiple indexes

**URL:** <https://discuss.elastic.co/t/boosting-per-field-and-index-when-searching-multiple-indexes/279287>\
**Category:** Elasticsearch\
**Created:** [July 21, 2021, 4:55pm UTC](https://discuss.elastic.co/t/boosting-per-field-and-index-when-searching-multiple-indexes/279287 "2021-07-21T16:55:12Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![bsharma](https://avatars.discourse-cdn.com/v4/letter/b/4bbf92/32.png) [@bsharma](https://discuss.elastic.co/u/bsharma)\
**Post date:** [July 21, 2021, 4:55pm UTC](https://discuss.elastic.co/t/boosting-per-field-and-index-when-searching-multiple-indexes/279287/1 "2021-07-21T16:55:12Z")

</div>

I am searching multiple indexes. I want to be able to boost specific fields of specific indexes. I could not find a way to specify boost for a field of a index. I found examples in documentation where boosts are specified for field and doesn't mention anything about an index. This could cause issue if searching multiple indexes and just want to boost a field named "MyCode" in "IndexA" and not the field by same name in "IndexB".

Please help!

---

<div class="post-metadata">

**Author:** ![spinscale](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/spinscale/32/25011_2.png) [@spinscale](https://discuss.elastic.co/u/spinscale)\
**Post date:** [July 22, 2021, 3:09pm UTC](https://discuss.elastic.co/t/boosting-per-field-and-index-when-searching-multiple-indexes/279287/2 "2021-07-22T15:09:27Z")

</div>

Maybe the `indices_boost` part in a query helps, see [Search API | Elasticsearch Guide [7.13] | Elastic](https://www.elastic.co/guide/en/elasticsearch/reference/7.13/search-search.html) (does not support boosting a pair of index/field, just an index though).

---

<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:** [August 19, 2021, 3:10pm UTC](https://discuss.elastic.co/t/boosting-per-field-and-index-when-searching-multiple-indexes/279287/3 "2021-08-19T15:10:26Z")

</div>

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