# Search with complete suggester and german analyzer

**URL:** https://discuss.elastic.co/t/search-with-complete-suggester-and-german-analyzer/122126
**Category:** Elasticsearch
**Created:** [March 1, 2018, 5:07pm UTC](https://discuss.elastic.co/t/search-with-complete-suggester-and-german-analyzer/122126 "2018-03-01T17:07:03Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![Kurzer\_Patrick](https://avatars.discourse-cdn.com/v4/letter/k/9de053/32.png) [@Kurzer\_Patrick](https://discuss.elastic.co/u/Kurzer_Patrick)
#### Post date: [March 1, 2018, 5:07pm UTC](https://discuss.elastic.co/t/search-with-complete-suggester-and-german-analyzer/122126/1 "2018-03-01T17:07:03Z")

</div>

Hi,

I created a simple index with a suggest field and a completion type. I indexed some city names. For the suggest field I use a german analyzer.

```
PUT city_de
{
  "mappings": {
    "city" : {
      "properties": {
        "name" : {
          "type": "text",
          "analyzer": "german"
        },
        "suggest" : {
          "type": "completion",
          "analyzer": "german"
        }
      }
    }
  }
}

```

The analyzer works fine and the search by using umlauts is good. Also the autocompletion is perfect. But I faced an issue by searching for the term `wie`.

Lets say I have two documents `Wiesbaden` and `Wien` with the same name as suggest completion term.

If I searching for `wie` I assume that the cities `Wien` and `Wiesbaden` are in the response. But unfortunately I get no response. I suppose that `wie` has a restriction because of the german analyzer. Because if I search for `wi` or `wies` I get valid responses.

Same is for term `was`.

Do I need any additional configuration to get also a result if I search for `wie` or `was`?

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: [March 29, 2018, 5:07pm UTC](https://discuss.elastic.co/t/search-with-complete-suggester-and-german-analyzer/122126/2 "2018-03-29T17:07:06Z")

</div>

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