Hi >>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. with regards Karthik On 2021/10/16 16:43:48, Shawn Heisey <apa...@elyograg.org> wrote: > On 10/15/2021 6:55 AM, nskarthik wrote: > > Spec : JDK15, Solrj / Solr8.10.0. > > > > Process Create Cores via SOLRJ with AAA on multiple requirements for > > Standalone Version Only > > > > Note : Would not like to use SOLAR CORE API > > > > Reason : Need to Hide the Admin UI from creation of duplicate / unnecessary > > cores or controls. > > > > Request : Please share snippet Java - code using SOLRJ for the same. > > It is not possible when Solr is in standalone mode to create cores just > with the API or with SolrJ. > > Using the CoreAdmin API (via SolrJ or directly via HTTP) is the last > step in creating a new core without restarting Solr in standalone mode, > but Solr cannot create the files on disk for a core unless it is in > SolrCloud mode. > > Thanks, > Shawn >