lucene-dev mailing list archives

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

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

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

Commit 1578517 from [~rcmuir] in branch 'dev/branches/lucene_solr_4_7'
[ https://svn.apache.org/r1578517 ]

LUCENE-5473: the contructor function of SynonymFilter can not report exception correctly

> 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