Re: Custom cache for Solr Cloud mode

2019-06-07 Thread Shawn Heisey
On 6/7/2019 8:49 AM, Erick Erickson wrote: Yes. ZooKeeper has a “blob store”. See the Blob Store API in the ref guide. Minor nit. You will be creating a jar file, and configuring your collection to be able to find the new jar file. Then you _upload_ both to ZooKeeper and reload your collecti

Re: Custom cache for Solr Cloud mode

2019-06-07 Thread Erick Erickson
Yes. ZooKeeper has a “blob store”. See the Blob Store API in the ref guide. Minor nit. You will be creating a jar file, and configuring your collection to be able to find the new jar file. Then you _upload_ both to ZooKeeper and reload your collection. The rest should be automatic, Solr shoul

Re: Custom cache for Solr Cloud mode

2019-06-06 Thread abhishek
Thanks for the response. Eric, Are you suggesting to download this file from zookeeper, and upload it after changing ? Mikhail, Thanks. I will try solrCore.SolrConfg.userCacheConfigs option. Any idea why, CoreContainer->getCores() would be returning empty list for me ? (CoreAdminRequest.setA

Re: Custom cache for Solr Cloud mode

2019-06-05 Thread Erick Erickson
Last I knew, you could define a userCache statically in solrconfig.xml, even if you can’t use the config API to insert one…. > On Jun 5, 2019, at 2:22 AM, Mikhail Khludnev wrote: > > Hello, Abhishek. > > It seems config api lacks usercache functionaly, thus it deserves jira. > Inserting user c

Re: Custom cache for Solr Cloud mode

2019-06-05 Thread Mikhail Khludnev
Hello, Abhishek. It seems config api lacks usercache functionaly, thus it deserves jira. Inserting user cache in runtime seems undoable, the closed option is to modify solrCore.SolrConfg.userCacheConfigs and obtain new SolrIndexSearch after that, but the latter is a tricky thing to achieve. Anoth

Custom cache for Solr Cloud mode

2019-06-04 Thread Abhishek Dnyate
Hi, I am trying make use of User Defined cache functionality to optimise a particular workflow. We are using Solr 7.4. Step 1. I noticed, first we would have to add Custom Cache entry in solrconfig.xml. What’s its Config API alternative for solrCould ? I couldn’t find one at, https://lucene.ap