0

An error kept showing after installing Search API for solr and after creating a server on drupal. (Solr 5.x)

You are using an incompatible schema.xml configuration file. Please follow the instructions in the handbook for setting up Solr.

Already copied alll configuration files from drupal module into: /opt/solr/server/solr/my-core/conf

what else to check?

  • What OS? Solr on Centos uses /var/solr/data/[core] by default. – Neograph734 Apr 12 '16 at 10:36
  • Am using Centos 7. So i have to override whats in /var/solr/data/[core] with drupal config file!? – Fadi Assaad Apr 12 '16 at 11:08
1

On Centos systems Solr assumes your cores will be stored in /var/solr/data/[core-name].

So if your core is named my-core, Solr might already have created the folder /var/solr/data/my-core for you. Simply place the conf directory in that folder, overwriting anything that might already be in conf. No need to touch any of the other files.

  • Great, if you click the check-icon next to question, it will be marked as solved :) – Neograph734 Apr 12 '16 at 11:35
  • I have the same error on ubuntu,how can I fix that? – sokratis Jan 24 '17 at 13:55
  • Read the solr documentation for your os. Learn where it stores the data. I knew this becasue I use centos myself. – Neograph734 Jan 24 '17 at 15:26

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.