0

I have a new Sitecore 9.0.1 instance that I installed through SIF. It was installed using Lucene so I needed to install Solr and update the configuration. I went through the following steps to change it to use Solr: https://ericastockwellalpert.wordpress.com/2022/08/02/updating-a-sitecore-instance-to-use-solr-instead-of-lucene/

Solr is running and the indexes are able to build successfully. I initially had an issue with the Polish language processing where I needed to add some jars to Solr, but that seems to be resolved because the indexes build now without error (mentioning in case it's relevant). But I'm unable to open the content editor, I get the server error Value cannot be null. Parameter name: fieldNameTranslator

10
  • Looks like some lucene config files are still there on your server
    – Marek Musielak
    Commented Sep 16, 2022 at 14:11
  • Oh yes they are, do I need to delete all the Lucene configs? Commented Sep 16, 2022 at 14:16
  • @MarekMusielak I disabled every Lucene config file but am still getting the error Commented Sep 16, 2022 at 14:21
  • It depends on how they are configured. If all of them have "search:require=lucene" then not. Othwerise yes.
    – Marek Musielak
    Commented Sep 16, 2022 at 14:22
  • they do all have that, but I also disabled all Lucene configs. Still getting the error Commented Sep 16, 2022 at 14:34

1 Answer 1

0

The issue was that Solr was missing an expected index. The logs showed that sitecore_suggested_test_index was missing:

5312 16:11:56 ERROR Unable to connect to [https://localhost:8983/solr], Core: [sitecore_suggested_test_index]
Exception: SolrNet.Exceptions.SolrConnectionException
Message: <html>
<head>
<meta http-equiv="Content-Type" content="text/html;charset=utf-8"/>
<title>Error 404 Not Found</title>

To resolve the issue I disabled Content Testing by editing Sitecore.ContentTesting.config and setting ContentTesting.AutomaticContentTesting.Enabled to false

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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