[
https://issues.apache.org/jira/browse/SOLR-5234?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Alan Woodward updated SOLR-5234:
--------------------------------
Attachment: SOLR-5234.patch
This patch adds an ExternalResourceLoader class that checks to see if a
resource name is a URL. If it is, it opens it and returns that, otherwise it
just passes things on to a delegate resource loader.
It also adds an argument 'allowExternalResources' to AbstractAnalysisFactory,
which if set to true will wrap loaders passed to getLines() and friends in an
ExternalResourceLoader. This makes whether or not to allow URLs configurable
on each entry in the schema.
Needs moar tests, of course.
Separately, should getWordSet and getSnowballWordSet be moved somewhere else?
They seem a bit specialized to be in AbstractAnalysisFactory.
> Allow SolrResourceLoader to load resources from URLs
> ----------------------------------------------------
>
> Key: SOLR-5234
> URL: https://issues.apache.org/jira/browse/SOLR-5234
> Project: Solr
> Issue Type: Improvement
> Reporter: Alan Woodward
> Assignee: Alan Woodward
> Priority: Minor
> Attachments: SOLR-5234.patch, SOLR-5234.patch, SOLR-5234.patch
>
>
> This would allow multiple solr instance to share large configuration files.
> It would also help resolve problems caused by attempting to store >1Mb files
> in zookeeper.
--
This message was sent by Atlassian JIRA
(v6.1.5#6160)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]