[
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: [email protected]
For additional commands, e-mail: [email protected]