Danish special chars (Æ, Ø, Å) are seen as æ==a/ae, ø == o, å == a

Hi @smhoeks,

You can set the default analyzer for an index in the index settings:

PUT my_index
{
  "settings": {
    "analysis": {
      "analyzer": {
        "default": {
          "type": "danish"
        }
      }
    }
  }
}

Note that it has to have the name default to be recognized as the default analyzer for that index. You can set different analyzers also per field (see the docs link above). You had quite some customization in your original analyzer. If you need all that, you probably want to start customizing the danish analyzer.

I don't know what that is but there are not third-party libraries needed. The danish analyzer is already built into Elasticsearch.

Daniel