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:52:43 UTC
[jira] Commented: (SOLR-2316) SynonymFilterFactory should ensure
synonyms argument is provided.
[ https://issues.apache.org/jira/browse/SOLR-2316?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12982370#action_12982370 ]
David Smiley commented on SOLR-2316:
------------------------------------
It'd be nice if the "args" (a Map) in BaseTokenStreamFactory was actually a SolrParams, and then we could do args.get("synonyms","synonyms.txt").
> 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