# Unknown Similarity type

**URL:** https://discuss.elastic.co/t/unknown-similarity-type/82071
**Category:** Elasticsearch
**Created:** [April 12, 2017, 3:07am UTC](https://discuss.elastic.co/t/unknown-similarity-type/82071 "2017-04-12T03:07:13Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![Jimmy\_Oentung](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/jimmy_oentung/32/13827_2.png) [@Jimmy\_Oentung](https://discuss.elastic.co/u/Jimmy_Oentung)
#### Post date: [April 12, 2017, 3:07am UTC](https://discuss.elastic.co/t/unknown-similarity-type/82071/1 "2017-04-12T03:07:13Z")

</div>

I did the following typo when defining my similarity type:  
"settings": {  
"similarity": {  
"bm25\_title": {  
"type": "KLDivergece"  
},  
"bm25\_body": {  
"type": "KLDivergence"  
}  
}  
}

the type for bm25\_title should be KLDivergence. I've closed my index and tried to change the settings but I got:

"type":"illegal\_argument\_exception","reason":"Unknown Similarity type [KLDivergece] for [bm25\_title]"}

I know the error is due to my typo, but how can I fix it if I can't update the settings?

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: [May 10, 2017, 3:19am UTC](https://discuss.elastic.co/t/unknown-similarity-type/82071/2 "2017-05-10T03:19:13Z")

</div>

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