# Which query is faster: custom\_filters\_score vs function\_score

**URL:** <https://discuss.elastic.co/t/which-query-is-faster-custom-filters-score-vs-function-score/15529>\
**Category:** Elasticsearch\
**Created:** [January 31, 2014, 3:32pm UTC](https://discuss.elastic.co/t/which-query-is-faster-custom-filters-score-vs-function-score/15529 "2014-01-31T15:32:19Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Andrey\_Nikishaev](https://avatars.discourse-cdn.com/v4/letter/a/e0b2c6/32.png) [@Andrey\_Nikishaev](https://discuss.elastic.co/u/Andrey_Nikishaev)\
**Post date:** [January 31, 2014, 3:32pm UTC](https://discuss.elastic.co/t/which-query-is-faster-custom-filters-score-vs-function-score/15529/1 "2014-01-31T15:32:19Z")

</div>

I need to implement custom boosting mechanics for products. And i'm  
interesting which of this(custom\_filters\_score vs function\_score) queries  
are faster.

Thanks for help)

--  
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/2c5f1391-3ed0-44c1-9584-2d0a8e80d624%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/2c5f1391-3ed0-44c1-9584-2d0a8e80d624%40googlegroups.com).  
For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

---

<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:** [February 3, 2014, 8:49am UTC](https://discuss.elastic.co/t/which-query-is-faster-custom-filters-score-vs-function-score/15529/2 "2014-02-03T08:49:36Z")

</div>

Hey,

the custom filters score on has been deprecated in favor of the function  
score. So use that one. See

> **[Elasticsearch Platform — Find real-time answers at scale](https://www.elastic.co)**
>
> Power insights and outcomes with the Elasticsearch Platform and AI. See into your data and find answers that matter with enterprise solutions designed to help you build, observe, and protect. Try Elasticsearch free today.

--Alex

On Fri, Jan 31, 2014 at 4:32 PM, Andrey Nikishaev [creotiv@gmail.com](mailto:creotiv@gmail.com) wrote:

> I need to implement custom boosting mechanics for products. And i'm  
> interesting which of this(custom\_filters\_score vs function\_score) queries  
> are faster.
> 
> Thanks for help)
> 
> --  
> 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/2c5f1391-3ed0-44c1-9584-2d0a8e80d624%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/2c5f1391-3ed0-44c1-9584-2d0a8e80d624%40googlegroups.com)  
> .  
> For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

--  
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/CAGCwEM-YzvxctOSvcoheQ5FJEYhTavXTgfuNjonF2YognUQjmA%40mail.gmail.com](https://groups.google.com/d/msgid/elasticsearch/CAGCwEM-YzvxctOSvcoheQ5FJEYhTavXTgfuNjonF2YognUQjmA%40mail.gmail.com).  
For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

---

<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:53am UTC](https://discuss.elastic.co/t/which-query-is-faster-custom-filters-score-vs-function-score/15529/3 "2017-07-06T01:53:15Z")

</div>


