# Index boost

**URL:** <https://discuss.elastic.co/t/index-boost/23278>\
**Category:** Elasticsearch\
**Created:** [April 16, 2015, 3:24pm UTC](https://discuss.elastic.co/t/index-boost/23278 "2015-04-16T15:24:26Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![David\_Sinclair](https://avatars.discourse-cdn.com/v4/letter/d/3e96dc/32.png) [@David\_Sinclair](https://discuss.elastic.co/u/David_Sinclair)\
**Post date:** [April 16, 2015, 3:24pm UTC](https://discuss.elastic.co/t/index-boost/23278/1 "2015-04-16T15:24:26Z")

</div>

Hi,

We have an index per category of item we are indexing. Our search then  
searches across all of the indexes. I would like to boost results from  
some indexes. Reading the docs this seems to be what I want:

[http://www.elastic.co/guide/en/elasticsearch/reference/1.x/search-request-index-boost.html](http://www.elastic.co/guide/en/elasticsearch/reference/1.x/search-request-index-boost.html)

However I cannot see how to do this with the java api. Is it possible to  
add index boost when using the QueryBuilder?

Thanks in advance,

David

--  
You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
To view this discussion on the web visit [https://groups.google.com/d/msgid/elasticsearch/a5644855-1175-4853-8952-544e6bb56693%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/a5644855-1175-4853-8952-544e6bb56693%40googlegroups.com).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<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, 12:19am UTC](https://discuss.elastic.co/t/index-boost/23278/2 "2017-07-06T00:19:17Z")

</div>


