[
https://issues.apache.org/jira/browse/SOLR-2484?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Ryan McKinley updated SOLR-2484:
--------------------------------
Attachment: SOLR-2484-SynonymFilterFactory.patch
patch with a simple test
> Make SynonymFilterFactory more extendable
> -----------------------------------------
>
> Key: SOLR-2484
> URL: https://issues.apache.org/jira/browse/SOLR-2484
> Project: Solr
> Issue Type: Improvement
> Reporter: Ryan McKinley
> Priority: Trivial
> Fix For: 3.2, 4.0
>
> Attachments: SOLR-2484-SynonymFilterFactory.patch
>
>
> As is, reading rules from the ResourceLoader is baked into
> inform(ResourceLoader loader). It would be nice to be able to load custom
> rules w/o needing to rewrite the whole thing. This issue changes two things:
> # Changes List<String> to Iterable<String> because we don't really need a list
> # adds protected Iterable<String> loadRules( String synonyms, ResourceLoader
> loader ) -- so subclasses could fill their own
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]