What is the hunspell version used by elasticsearch?

I'm trying to use a Dutch hunspell dictionary from LibreOffice: https://cgit.freedesktop.org/libreoffice/dictionaries/tree/nl_NL/nl_NL.aff

But it has this warning:

BEWARE: THIS AFFIX FILE AND DICTIONARY REQUIRE HUNSPELL 1.2.8 AS MINIMAL VERSION

I can't create an index with this, so I assume elasticsearch 6.2.3 has a lower version of hunspell

Elasticsearch::Transport::Transport::Errors::InternalServerError: [500] {"error":{"root_cause":[{"type":"remote_transport_exception","reason":"[es-glossary-test-sergio-node-vm3][10.0.0.13:9300][indices:admin/create]"}],"type":"illegal_state_exception","reason":"failed to load hunspell dictionary for locale: nl_NL","caused_by":{"type":"illegal_argument_exception","reason":"expected only one flag, got: Kc"}},"status":500}

Does this error indeed mean that ES's hunspell is not modern enough? If yes, can I update it? If not, why wouldn't it work?

This workaround fixes it for me: Dutch hunspell doesn't work in 1.7.1?

"Fixes" in the sense "ES can now create the index". Didn't yet check if it's actually doing what it should. :slight_smile:

Still, it'd be nice if it "just worked".

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