You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "David Smiley (JIRA)" <ji...@apache.org> on 2011/01/16 20:42:43 UTC
[jira] Updated: (SOLR-2316) SynonymFilterFactory should ensure
synonyms argument is provided.
[ https://issues.apache.org/jira/browse/SOLR-2316?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
David Smiley updated SOLR-2316:
-------------------------------
Attachment: 2316.patch
Patch is against 3x branch. Includes an arg check at both the filter factory and the filter too.
> SynonymFilterFactory should ensure synonyms argument is provided.
> -----------------------------------------------------------------
>
> Key: SOLR-2316
> URL: https://issues.apache.org/jira/browse/SOLR-2316
> Project: Solr
> Issue Type: Improvement
> Components: Schema and Analysis
> Reporter: David Smiley
> Priority: Minor
> Fix For: 3.1
>
> Attachments: 2316.patch
>
>
> If for some reason the synonyms attribute is not present on the filter factory configuration, a latent NPE will eventually show up during indexing/searching. Instead a helpful error should be thrown at initialization.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org