You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Robert Muir (JIRA)" <ji...@apache.org> on 2014/03/17 19:59:45 UTC
[jira] [Reopened] (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 ]
Robert Muir reopened LUCENE-5473:
---------------------------------
Reopening for 4.7.1 backport
> 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
>
>
> 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