Robert Muir created LUCENE-5507:
-----------------------------------
Summary: fix hunspell affix file loading
Key: LUCENE-5507
URL: https://issues.apache.org/jira/browse/LUCENE-5507
Project: Lucene - Core
Issue Type: Bug
Components: modules/analysis
Reporter: Robert Muir
Attachments: LUCENE-5507.patch
Some newer dictionaries cant be loaded (arabic, hungarian, turkmen) just
because we do a hackish mark/reset thing to go find the SET to know the
encoding and then revisit.
Problem is: we would need a 2MB buffer for some of these newer ones, thats a
little extreme. So instead we just copy to a tempfile and do 2 passes.
Also fixes a bug where an alias that goes to no flags would cause an exception
(this is ok).
--
This message was sent by Atlassian JIRA
(v6.2#6252)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]