# Index boost with completion suggester

**URL:** <https://discuss.elastic.co/t/index-boost-with-completion-suggester/253691>\
**Category:** Elasticsearch\
**Created:** [October 29, 2020, 12:43pm UTC](https://discuss.elastic.co/t/index-boost-with-completion-suggester/253691 "2020-10-29T12:43:24Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![anupam](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/anupam/32/25794_2.png) [@anupam](https://discuss.elastic.co/u/anupam)\
**Post date:** [October 29, 2020, 12:43pm UTC](https://discuss.elastic.co/t/index-boost-with-completion-suggester/253691/1 "2020-10-29T12:43:24Z")

</div>

Is it possible to use [index boost](https://www.elastic.co/guide/en/elasticsearch/reference/5.5/search-request-index-boost.html) when using completion suggester in Elasticsearch? I have tried many different ways but doesn't seem to work. Haven't found any reference in the documentation claiming that it does not work for completion suggester. Example:

```auto
POST index1,index2/_search
{
  "suggest" : {
    "name_suggest" : {
      "text" : "my_query",
      "completion" : {
        "field" : "name_suggest",
        "size" : 7,
        "fuzzy" :{}
      }
    }
  },
  "indices_boost" : [
        { "index1" : 2 },
        { "index2" : 1.5 }
    ]
}

```

The above does not return boosted scores. The scores are the same compared to running it without the `indices_boost` parameter.

(I posted this on Stack Overflow earlier [here](https://stackoverflow.com/questions/64571600/elasticsearch-index-boost-with-completion-suggester) but didn't get much views - got one answer with a workaround - but wanted to repost it here to know from the community if this is really not a feature by design)

---

<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:** [November 26, 2020, 12:43pm UTC](https://discuss.elastic.co/t/index-boost-with-completion-suggester/253691/2 "2020-11-26T12:43:27Z")

</div>

Closed on November 26, 2020, 12:43pm UTC

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