Lucas,

What is in the log before that stackdump?

The stackdump seems to indicate that Solr is trying to run with a managed schema. Looking at the cwiki, "When a |<schemaFactory/>|is not explicitly declared in a |solrconfig.xml|file, Solr implicitly uses a|ManagedIndexSchemaFactory|, which is by default|"mutable"|and keeps schema information in a |managed-schema|file."*. So your schema.xml would be ignored.

Have you tried using a solrconfig.xml copied from one of the examples, perhaps with minor changes?
cheers -- Rick

* https://cwiki.apache.org/confluence/display/solr/Schema+Factory+Definition+in+SolrConfig

On 2017-07-25 07:21 PM, Lucas Pelegrino wrote:
Hey guys.

Trying to make solr work here, but I'm getting this error from this command:

$ ./solr create -c products -d /Users/lucaswxp/reduza-solr/products/conf/

Error CREATEing SolrCore 'products': Unable to create core [products]
Caused by: null

I'm posting my solrconf.xml, schema.xml and data-config.xml here:
https://pastebin.com/fnYK9pSJ

The debug from log solr: https://pastebin.com/kVLMvBwZ

Not sure what to do, the error isn't very descriptive.


Reply via email to