On Sun, Oct 17, 2021 at 12:41:44PM -0600, Shawn Heisey wrote: > On 10/17/2021 7:08 AM, nskarthik wrote: > >>> not possible when Solr is in standalone mode > > I use Solr in NON-CLOUD standalone mode. > > > > Process : /solr Create -c <new core> > > This feature just creates an empty core (copies all required default files > > ), but why this cannot be created from SOLRJ ? > > > > If this feature is made available with AAA, Core creation would be simple > > and powerful. > > When Solr is in cloud mode, the bin/solr script copies a config up to > ZooKeeper and then calls the Collections API. These are both API calls, > not filesystem manipulation. Solr does all the work of creating cores. > This is possible because with SolrCloud, the active config for a > collection is not on disk, it's in ZooKeeper. > > As you might have figured out, it's the config that makes things difficult. > > Normally when Solr is in standalone mode, the bin/solr script creates a > core directory with the required structure, copies a config into the > newly created directory structure, and then calls the http-based > CoreAdmin API to complete the registration of a new core in Solr. Solr > cannot do the directory/file creation in standalone mode.
Thank you for explaining this. From time to time I run into something I need to do and am blocked because it only works in cloud mode. These prohibitions have always seemed completely arbitrary. Maybe they will make more sense to me now. -- Mark H. Wood Lead Technology Analyst University Library Indiana University - Purdue University Indianapolis 755 W. Michigan Street Indianapolis, IN 46202 317-274-0749 www.ulib.iupui.edu
signature.asc
Description: PGP signature