Peter Gromov created LUCENE-9832:
------------------------------------
Summary: Hunspell: SIOOBE in GeneratingSuggester.expandRoot
Key: LUCENE-9832
URL: https://issues.apache.org/jira/browse/LUCENE-9832
Project: Lucene - Core
Issue Type: Sub-task
Reporter: Peter Gromov
java.lang.StringIndexOutOfBoundsException: begin 0, end -10, length 3
at
__randomizedtesting.SeedInfo.seed([B7FF3316E76437A3:87CF43A03AC2A3A1]:0)
at java.base/java.lang.String.checkBoundsBeginEnd(String.java:3319)
at java.base/java.lang.String.substring(String.java:1874)
at
org.apache.lucene.analysis.hunspell.GeneratingSuggester.lambda$expandRoot$1(GeneratingSuggester.java:201)
at
org.apache.lucene.analysis.hunspell.GeneratingSuggester.processAffixIds(GeneratingSuggester.java:275)
at
org.apache.lucene.analysis.hunspell.GeneratingSuggester.processAffixes(GeneratingSuggester.java:268)
at
org.apache.lucene.analysis.hunspell.GeneratingSuggester.expandRoot(GeneratingSuggester.java:190)
at
org.apache.lucene.analysis.hunspell.GeneratingSuggester.expandRoots(GeneratingSuggester.java:150)
at
org.apache.lucene.analysis.hunspell.GeneratingSuggester.suggest(GeneratingSuggester.java:57)
at
org.apache.lucene.analysis.hunspell.Hunspell.doSuggest(Hunspell.java:573)
at
org.apache.lucene.analysis.hunspell.Hunspell.suggest(Hunspell.java:546)
at
org.apache.lucene.analysis.hunspell.Hunspell.suggest(Hunspell.java:521)
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]