Skip to content

[8.x] Adjust exception thrown when unable to load hunspell dict (#123743)#124142

Merged
elasticsearchmachine merged 2 commits intoelastic:8.xfrom
benwtrent:backport/8.x/pr-123743
Mar 6, 2025
Merged

[8.x] Adjust exception thrown when unable to load hunspell dict (#123743)#124142
elasticsearchmachine merged 2 commits intoelastic:8.xfrom
benwtrent:backport/8.x/pr-123743

Conversation

@benwtrent
Copy link
Member

Backport

This will backport the following commits from main to 8.x:

Questions ?

Please refer to the Backport tool documentation

…3743)

On index creation, its possible to configure an hunspell analyzer, but
reference a locale file that actually doesn't exist or isn't accessible.

This error, like our other user dictionary errors, should be an IAE not
an ISE.

closes: elastic#123729
(cherry picked from commit a92b1d6)
@benwtrent benwtrent added the auto-merge-without-approval Automatically merge pull request when CI checks pass (NB doesn't wait for reviews!) label Mar 5, 2025
@elasticsearchmachine elasticsearchmachine merged commit 88676b0 into elastic:8.x Mar 6, 2025
15 checks passed
@benwtrent benwtrent deleted the backport/8.x/pr-123743 branch March 6, 2025 13:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

auto-merge-without-approval Automatically merge pull request when CI checks pass (NB doesn't wait for reviews!) backport v8.19.0

2 participants