elasticsearchversionmagento2phonetics

illegal_argument_exception","reason":"Unknown filter type [phonetic] for [phonetic]


I got an error in the elastic search indexer module.i have installed elasticsearch version 7.9 with magento2.

{"error":{"root_cause":[{"type":"illegal_argument_exception","reason":"Unknown filter type [phonetic] for [phonetic]"}],"type":"illegal_argument_exception","reason":"Unknown filter type [phonetic] for [phonetic]"},"status":400}

how can i fix this issue ??


Solution

  • Looks like an issue with the elasticsearch configuration, the plugin is required, try this out!

    sudo /usr/share/elasticsearch/bin/elasticsearch-plugin install analysis-phonetic
    sudo service elasticsearch restart
    

    Then try reindexing again.