lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Robert Muir (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (LUCENE-5473) the contructor function of SynonymFilter can not report exception correctly
Date Mon, 17 Mar 2014 19:03:44 GMT

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

Robert Muir resolved LUCENE-5473.
---------------------------------

       Resolution: Fixed
    Fix Version/s: 4.7.1

> the contructor function of SynonymFilter can not report exception correctly
> ---------------------------------------------------------------------------
>
>                 Key: LUCENE-5473
>                 URL: https://issues.apache.org/jira/browse/LUCENE-5473
>             Project: Lucene - Core
>          Issue Type: Bug
>          Components: modules/analysis
>    Affects Versions: 4.6
>            Reporter: 帅广应
>            Assignee: Michael McCandless
>             Fix For: 4.8, 5.0, 4.7.1
>
>
> when use code 
> SynonymFilter filter=new SynonymFilter(new WhitespaceTokenizer(Version.LUCENE_42, new
StringReader("aa bb")), new SynonymMap.Builder(true).build(), true);
> create a filter,it throw NullPointerException but not IllegalArgumentException("fst must
be non-null");



--
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


Mime
View raw message