# How to apply score/boost factor in ElasticSearch1.0.0 on filters

**URL:** https://discuss.elastic.co/t/how-to-apply-score-boost-factor-in-elasticsearch1-0-0-on-filters/16598
**Category:** Elasticsearch
**Created:** [March 26, 2014, 2:42am UTC](https://discuss.elastic.co/t/how-to-apply-score-boost-factor-in-elasticsearch1-0-0-on-filters/16598 "2014-03-26T02:42:01Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![Kina\_Shah](https://avatars.discourse-cdn.com/v4/letter/k/4bbf92/32.png) [@Kina\_Shah](https://discuss.elastic.co/u/Kina_Shah)
#### Post date: [March 26, 2014, 2:42am UTC](https://discuss.elastic.co/t/how-to-apply-score-boost-factor-in-elasticsearch1-0-0-on-filters/16598/1 "2014-03-26T02:42:01Z")

</div>

Hi,

I am new to ElasticSearch. I want to apply some boost factor on the filter  
that I have. Is it possible to apply score/boost factor on filters. if yes,  
can some one show me how to do that in java?

Thanks!

--  
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/6e64c46f-69c0-417a-bec5-9857f9fbe3d6%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/6e64c46f-69c0-417a-bec5-9857f9fbe3d6%40googlegroups.com).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<div class="post-metadata">

### Author: ![Binh\_Ly\_2](https://avatars.discourse-cdn.com/v4/letter/b/d07c76/32.png) [@Binh\_Ly\_2](https://discuss.elastic.co/u/Binh_Ly_2)
#### Post date: [March 26, 2014, 1:58pm UTC](https://discuss.elastic.co/t/how-to-apply-score-boost-factor-in-elasticsearch1-0-0-on-filters/16598/2 "2014-03-26T13:58:02Z")

</div>

The function\_score query will allow you to define multiple filters, each of  
which you can apply a boost\_factor or any custom score you want:

[http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/query-dsl-function-score-query.html#\_using\_function\_score](http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/query-dsl-function-score-query.html#_using_function_score)

--  
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/f96ed3bf-ccdb-48ab-b53a-346b3cc1e612%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/f96ed3bf-ccdb-48ab-b53a-346b3cc1e612%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, 1:40am UTC](https://discuss.elastic.co/t/how-to-apply-score-boost-factor-in-elasticsearch1-0-0-on-filters/16598/3 "2017-07-06T01:40:34Z")

</div>


