0

Sitecore 8.1, never used Solr before, just switched from Lucene.

I downloaded the latest Solr and installed it using nssm. Generated self-signed certificate. Admin runs well at https://localhost:8983/solr/.

I created the core "sitecore_analytics_index" using the command

solr create -c sitecore_analytics_index

I can access it from the dashboard. I renamed "managed-schema" to "schema.xml" but I get an error in the log informing me that the core was upgraded to managed and I don't need the file, so I deleted it.

When I try to access the Sitecore shell, I get the following error:

Connection error to search provider [Solr] : Unable to connect to [https://localhost:8983/solr], Core: [sitecore_analytics_index]

which is baffling as I can access that very instance just fine. Sitecore log is empty as it cannot start.

Question

Why I am getting this error?

  • 1
    If you open https://localhost:8983/solr/#/~cores/ can you find the core above mentioned? Is its name exactly the expected? – Hugo Santos Feb 11 at 14:11
  • 1
    what version of Solr did you installed? – Vlad Iobagiu Feb 11 at 14:13
  • as far I remember Sitecore 8.1 with Solr is tricky, you need to do some other changes... – Vlad Iobagiu Feb 11 at 14:14
  • Yes, I can find it and the name is exactly as expected. I'm running Solr 7.6.0. – Emanuele Ciriachi Feb 11 at 14:23
  • 1
    Just check this compatibility table kb.sitecore.net/articles/227897 This may help – Gobinath Feb 11 at 14:27

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Browse other questions tagged or ask your own question.