You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Michael McCandless (JIRA)" <ji...@apache.org> on 2014/02/26 11:01:22 UTC
[jira] [Assigned] (LUCENE-5473) the contructor function of
SynonymFilter can not report exception correctly
[ https://issues.apache.org/jira/browse/LUCENE-5473?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Michael McCandless reassigned LUCENE-5473:
------------------------------------------
Assignee: Michael McCandless
> 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
>
> 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.1.5#6160)
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org