Also, Noble and I have been working on trying to get expressibles to work with the new package manager. Will put some samples together soon.
On Thu, 27 Feb, 2020, 7:20 pm Eric Pugh, <ep...@opensourceconnections.com> wrote: > David, I think our efforts are running in parallel, as yesterday I did the > exact same thing as you!!! > > The good news is that if you are on unreleased 8.5, the add-expressible > works!!! I spent some time tearing my hair out working with Master, and > then 8.4.1, and then finally moved over to branch_8x and saw the support > for add-expressible. > > I opened up https://issues.apache.org/jira/browse/SOLR-14284 to track > improving the documentation. > > One thing was I didn’t quite figure out the best way to add the plugin. > So I am dumping my .jar in the > <solr_install>/server/solr-webapp/webapp/WEB-INF/lib/ directory as > mentioned on > https://lucene.apache.org/solr/guide/8_4/libs.html#lib-directories. > > There are some other great new commands you can send to /stream, like > /stream?action=list to see all your expressions. > > I’d love to see an example of the package manager in action with an > expressible plugin. > > Eric > > > On Feb 27, 2020, at 3:51 AM, David '-1' Schmid < > david.sch...@vis.uni-stuttgart.de> wrote: > > Hello! > > I've wanted to create a JIRA Ticket, but the interface asked me to discuss > this here, which seems fine as well. > > Assumptions (which might as well false): > The package management/plugin infrastructure allows me to add plugin jars > via several options. Since expressibles only work in cloud-mode as part of > the /stream request handler adding them via <lib> is out of the question. > > Problem: > I've encountered a little trouble during development, adding the plugin: > I cannot add the expressible via the config API, as there is no > "add-expressible" command available. > This forces me to either: > - add <expressible> to the config before I upload it or > - add <expressible> by uploading a new solrconfig.xml to zookeeper > > In turn, the first requires the plugin jar to be available before I create > the collection, else creation fails. That had me resorting to: > - putting the jar to the blob storage > - adding the <runtimeLib> hardwired to the config, as well as the > <expressible> definition. > > Otherwise I'd have to upload a new solrconfig.xml to zookeeper manually, > but I'd suspect that both options are not the way we'd like to interact > with solr configs. > > Proposed Solution: > add additional commands to the config API that allows adding and deleting > <expressible> entries. > > best regards, > David > > --------------------------------------------------------------------- > To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org > <dev-unsubscr...@lucene.apache.org> > For additional commands, e-mail: dev-h...@lucene.apache.org > <dev-h...@lucene.apache.org> > > > _______________________ > *Eric Pugh **| *Founder & CEO | OpenSource Connections, LLC | 434.466.1467 > | http://www.opensourceconnections.com | My Free/Busy > <http://tinyurl.com/eric-cal> > Co-Author: Apache Solr Enterprise Search Server, 3rd Ed > <https://www.packtpub.com/big-data-and-business-intelligence/apache-solr-enterprise-search-server-third-edition-raw> > This e-mail and all contents, including attachments, is considered to be > Company Confidential unless explicitly stated otherwise, regardless > of whether attachments are marked as such. > >