Unable to create a new core Solr 3.5. Error in default implementation of CREATE

StackOverflow https://stackoverflow.com/questions/19047787

  •  29-06-2022
  •  | 
  •  

Domanda

I am running Solr 3.5 and already have two cores set up by my senior. I need to add a new core. The Solr home is /runtime/local/solr/. This directory contains the Solr.xml. So I create a new directory here with my core's name and then run the following

 http://localhost:7658/solr/admin/cores?action=CREATE&name=core0&instanceDir=/runtime/local/solr/core0/

And Apache tomcat keeps returning a 400 error with the message

Error executing default implementation of CREATE

and the description says

The request sent by the client was syntactically incorrect (Error executing default implementation of CREATE).

What is going wrong here. The syntax seems to be correct from what I've searched on the web.

È stato utile?

Soluzione 2

Each core requires its own configuration, so you do need to have the conf folder set-up but it does not need to be the same as the configuration for your first core

Altri suggerimenti

Found a fix. Not sure if it's the right approach. I created a directory for my core in the Solr Home folder and within it added a folder called conf. To this folder, I copied all the files which were there in the conf folder of the other core and after that ran the CREATE command. Booyah ! It worked.

Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a StackOverflow
scroll top