# Set Elastic to search in other language

**URL:** <https://discuss.elastic.co/t/set-elastic-to-search-in-other-language/74696>\
**Category:** Elasticsearch\
**Created:** [February 10, 2017, 6:27pm UTC](https://discuss.elastic.co/t/set-elastic-to-search-in-other-language/74696 "2017-02-10T18:27:28Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Pabouk](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/pabouk/32/15432_2.png) [@Pabouk](https://discuss.elastic.co/u/Pabouk)\
**Post date:** [February 10, 2017, 6:27pm UTC](https://discuss.elastic.co/t/set-elastic-to-search-in-other-language/74696/1 "2017-02-10T18:27:28Z")

</div>

Hello there!  
I'm a new user of Elasticsearch and I'm trying to set my index to work with other language (with czech language). I have read some tutorials [about analyzers](https://www.elastic.co/guide/en/elasticsearch/reference/current/analysis-lang-analyzer.html#czech-analyzer) and tryed to use the example code.  
The problem is, when I try to run the code (in Kibana dev tools), I get an error:

> ```
> {
> "error": {
> "root_cause": [
> {
> "type": "illegal_argument_exception",
> "reason": "keyword filter requires either `keywords` or `keywords_path` to be configured"
> }
> ],
> "type": "illegal_argument_exception",
> "reason": "keyword filter requires either `keywords` or `keywords_path` to be configured"
> },
> "status": 400
> }
> 
> ```

The code I try to run looks like this:

> ```
> PUT /university/_settings
> {
> "settings": {
> "analysis": {
> "filter": {
> "czech_stop": {
> "type": "stop",
> "stopwords": "_czech_" 
> },
> "czech_stemmer": {
> "type": "stemmer",
> "language": "czech"
> }
> },
> "analyzer": {
> "czech": {
> "tokenizer": "standard",
> "filter": [
> "lowercase",
> "czech_stop",
> "czech_stemmer"
> ]
> } } } } }
> 
> ```

I have deleted the "keywords" part mentioned in the "tutorial" but I'm still getting the error. What am I doing wrong? Can you give me any advice please?  
And the second thing I want to ask: is there anything more I have to do, if I want Elasticsearch to work with czech language, except this setting? I need it to work with search and fulltext search in czech language.

Many thanks for any reply and advice!

---

<div class="post-metadata">

**Author:** ![Maikel\_Janssen](https://avatars.discourse-cdn.com/v4/letter/m/76d3ee/32.png) [@Maikel\_Janssen](https://discuss.elastic.co/u/Maikel_Janssen)\
**Post date:** [February 23, 2017, 8:57am UTC](https://discuss.elastic.co/t/set-elastic-to-search-in-other-language/74696/2 "2017-02-23T08:57:28Z")

</div>

Experiencing the same problem, but then with the dutch settings. [Update analyzer (stopwords)](https://discuss.elastic.co/t/update-analyzer-stopwords/75748)

Even found this issue, but it does not seem to conclude in a solution [https://github.com/elastic/elasticsearch/issues/6613](https://github.com/elastic/elasticsearch/issues/6613)

Gotten any further with this?

Cheers

---

<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:** [March 23, 2017, 8:57am UTC](https://discuss.elastic.co/t/set-elastic-to-search-in-other-language/74696/3 "2017-03-23T08:57:31Z")

</div>

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