lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Michael McCandless (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (LUCENE-4971) NPE in AnalyzingSuggester
Date Wed, 01 May 2013 14:16:17 GMT

     [ https://issues.apache.org/jira/browse/LUCENE-4971?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Michael McCandless updated LUCENE-4971:
---------------------------------------

    Fix Version/s: 4.4
                   5.0
    
> NPE in AnalyzingSuggester
> -------------------------
>
>                 Key: LUCENE-4971
>                 URL: https://issues.apache.org/jira/browse/LUCENE-4971
>             Project: Lucene - Core
>          Issue Type: Bug
>    Affects Versions: 4.1
>         Environment: Windows 7
>            Reporter: Alexey Kudinov
>            Assignee: Michael McCandless
>             Fix For: 5.0, 4.4
>
>
> Setting maxGraphExpansions > 0 with a lot of expansions (e.g. due to synonyms).
> Set<IntsRef> paths = toFiniteStrings(surfaceForm, ts2a);
> paths may be null, so maxAnalyzedPathsForOneInput = Math.max(maxAnalyzedPathsForOneInput,
paths.size()) may end with NPE

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

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


Mime
View raw message