[ 
https://issues.apache.org/jira/browse/SOLR-13661?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16937954#comment-16937954
 ] 

David Smiley commented on SOLR-13661:
-------------------------------------

There are a few particular things I'm not sure I've seen here yet that I want 
to ensure _could be supported_ (i.e. without major redesign/rework).

(1) Declare plugin/package dependencies for the whole configSet, such as via 
additional options to solrconfig.xml "<lib>" tags.  While this would not work 
with hot deployment of plugins since a core reload is needed, this would at 
least support the entire range of plugin interfaces we have that work from 
within a SolrCore, and thus support all of the schema as well _without_ making 
users add new tags to all these various elements.

(2) Use the new blob store for _resources_ (data) as an alternative to the 
configSet.  The configSet lives in ZooKeeper and as-such is a poor fit for, 
say, machine learning models, language models, or any other large immutable 
files needed within a running SolrCore.  Such resource data might be versioned 
like plugins but would be considered data and not code.  Plugins could declare 
dependencies on resources, or might be declared directly by the configSet in 
some manner.  Detaching from the configSet is also good for re-use of large 
files across configs.  I could imagine a SolrResourceLoader that interprets 
special prefixes like "blob://mymodel/foo.dat" or some-such to generically plug 
into our existing resource spots.

(3) Pluggable blob store implementation and/or support for a shared file system 
across the cluster with a configurable path.

> A package management system for Solr
> ------------------------------------
>
>                 Key: SOLR-13661
>                 URL: https://issues.apache.org/jira/browse/SOLR-13661
>             Project: Solr
>          Issue Type: Improvement
>      Security Level: Public(Default Security Level. Issues are Public) 
>            Reporter: Noble Paul
>            Assignee: Ishan Chattopadhyaya
>            Priority: Major
>              Labels: package
>         Attachments: plugin-usage.png, repos.png
>
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> Here's the design doc:
> https://docs.google.com/document/d/15b3m3i3NFDKbhkhX_BN0MgvPGZaBj34TKNF2-UNC3U8/edit?usp=sharing



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org
For additional commands, e-mail: issues-h...@lucene.apache.org

Reply via email to