# Custom\_score\_filter crashing in 0.19

**URL:** https://discuss.elastic.co/t/custom-score-filter-crashing-in-0-19/7054
**Category:** Elasticsearch
**Created:** [March 19, 2012, 1:40pm UTC](https://discuss.elastic.co/t/custom-score-filter-crashing-in-0-19/7054 "2012-03-19T13:40:15Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![narinder\_izap](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/narinder_izap/32/803_2.png) [@narinder\_izap](https://discuss.elastic.co/u/narinder_izap)
#### Post date: [March 19, 2012, 1:40pm UTC](https://discuss.elastic.co/t/custom-score-filter-crashing-in-0-19/7054/1 "2012-03-19T13:40:15Z")

</div>

Hi,  
I have upgraded my system from 0.18.7 to 0.19 and some queries  
are working fine. But I noticed that the _custom\_filter\_score_ query is  
failing everywhere. I tried with the flush command also. But again no use.  
Its throwing the Exception of "_query does not support [score\_mode]_".

but its working fine if I switch to older version. I am using the  
score\_mode = "total".

Can you please help me out. Its really a critical issue, As my lots of  
queries are based on this.

Thanks

---

<div class="post-metadata">

### Author: ![Clinton\_Gormley](https://avatars.discourse-cdn.com/v4/letter/c/50afbb/32.png) [@Clinton\_Gormley](https://discuss.elastic.co/u/Clinton_Gormley)
#### Post date: [March 19, 2012, 2:14pm UTC](https://discuss.elastic.co/t/custom-score-filter-crashing-in-0-19/7054/2 "2012-03-19T14:14:56Z")

</div>

On Mon, 2012-03-19 at 06:40 -0700, Narinder Kaur wrote:

> Hi,  
> I have upgraded my system from 0.18.7 to 0.19 and some  
> queries are working fine. But I noticed that the custom\_filter\_score  
> query is failing everywhere. I tried with the flush command also. But  
> again no use. Its throwing the Exception of "query does not support  
> [score\_mode]".
> 
> but its working fine if I switch to older version. I am using the  
> score\_mode = "total".

0.19 made query parsing stricter, which probably means that you were  
using the custom score query incorrectly before.

Gist an example of how you use it (or check your usage against the docs)

clint

> Can you please help me out. Its really a critical issue, As my lots of  
> queries are based on this.
> 
> Thanks

---

<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, 3:35am UTC](https://discuss.elastic.co/t/custom-score-filter-crashing-in-0-19/7054/3 "2017-07-06T03:35:35Z")

</div>


