Amazon Elastic Search - Install Stunmer Hunspell

I want to use a word-based dictionary through a hunspell token filter. I use Amazon Elastic Search, but I don’t get how to configure these plugins for my domain. If AWS ES has any other additional source, this will be useful. This service is useless.

+4
source share
1 answer

There seems to be no way to do this. But in order to get started, I used an English stemmer that works well for English words.

I created my own analyzer with the following settings:

"analysis": {
      "filter": {
        "english_stemmer": {
          "type": "stemmer",
          "language": "english"
        },
        "english_possessive_stemmer": {
          "type": "stemmer",
          "language": "possessive_english"
        }
      },
      "analyzer": {
        "english": {
          "tokenizer": "standard",
          "char_filter": [
            "html_strip"
          ],
          "filter": [
            "asciifolding",
            "english_possessive_stemmer",
            "lowercase",
            "stop",
            "english_stemmer"
          ]
        }
      }
    }
0
source

Source: https://habr.com/ru/post/1623798/


All Articles