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

Reply via email to