You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "ASF subversion and git services (JIRA)" <ji...@apache.org> on 2014/07/21 19:08:39 UTC

[jira] [Commented] (LUCENE-5838) hunspell buggy with over 64k affixes

    [ https://issues.apache.org/jira/browse/LUCENE-5838?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14068799#comment-14068799 ] 

ASF subversion and git services commented on LUCENE-5838:
---------------------------------------------------------

Commit 1612349 from [~rcmuir] in branch 'dev/trunk'
[ https://svn.apache.org/r1612349 ]

LUCENE-5838: fix hunspell when .aff file has over 64k affixes

> hunspell buggy with over 64k affixes
> ------------------------------------
>
>                 Key: LUCENE-5838
>                 URL: https://issues.apache.org/jira/browse/LUCENE-5838
>             Project: Lucene - Core
>          Issue Type: Bug
>            Reporter: Robert Muir
>         Attachments: LUCENE-5838.patch, LUCENE-5838.patch
>
>
> currently we build TreeMap<String,List<Character>> in ram, to sort before adding to the FST (which encodes the list as IntsRef). 
> char overflows here if there are more than 64k affixes (e.g. basque).



--
This message was sent by Atlassian JIRA
(v6.2#6252)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org