I'm trying to set up a local instance of an existing Sitecore 9.2 site. It's using Solr 7.5.0, and I set it up through SIA. When I try to load my site I get the following error:
Could not create instance of type: Sitecore.ContentSearch.SolrProvider.SolrSearchIndex. No matching constructor was found.
I've done the following:
- Disabled all Lucene configs in /App_Config/Sitecore/ContentSearch
- Checked solr at https://localhost:8721/solr and confirmed it's running with no errors in any cores
- Checked each Solr index .config file (core, master, and web) and confirmed the core names match the cores in Solr
- Checked connectionstrings.config and confirmed
solr.search
ishttps://localhost:8721/solr
EDIT: I found the problematic file, but I'm not sure what's wrong with it:
<configuration xmlns:patch="http://www.sitecore.net/xmlconfig/" xmlns:set="http://www.sitecore.net/xmlconfig/set/" xmlns:role="http://www.sitecore.net/xmlconfig/role/">
<sitecore>
<contentSearch>
<indexConfigurations>
<defaultSolrIndexConfiguration>
<documentOptions>
<fields hint="raw:AddComputedIndexField">
<field fieldName="_content" storageType="no" indexType="tokenized">
<patch:delete />
</field>
</fields>
</documentOptions>
</defaultSolrIndexConfiguration>
</indexConfigurations>
<configuration>
<indexes>
<index id="ac_products_master_index"
type="Sitecore.ContentSearch.SolrProvider.SolrSearchIndex, Sitecore.ContentSearch.SolrProvider"
role:require="Standalone or ContentManagement">
<param desc="core">ac_products_master_index</param>
<enableItemLanguageFallback>true</enableItemLanguageFallback>
</index>
<index id="ac_products_web_index"
type="Sitecore.ContentSearch.SolrProvider.SolrSearchIndex, Sitecore.ContentSearch.SolrProvider">
<param desc="core">ac_products_web_index</param>
<enableItemLanguageFallback>true</enableItemLanguageFallback>
</index>
</indexes>
</configuration>
</contentSearch>
</sitecore>
</configuration>
I checked solr, and I have those two cores with matching names