Friday, November 3, 2017

Sitecore SOLR: Could not find add method

With Sitecore 9 I came across the following errors when attempting to move my old Lucene based indexes (from Sitecore 8) into SOLR (6.6.2).
Could not find add method: IncludeTemplate (type: Sitecore.ContentSearch.SolrProvider.SolrIndexConfiguration)
Could not find add method: ExcludeTemplate (type: Sitecore.ContentSearch.SolrProvider.SolrIndexConfiguration)
Could not find add method: IncludeField (type: Sitecore.ContentSearch.SolrProvider.SolrIndexConfiguration)
Could not find add method: ExcludeField (type: Sitecore.ContentSearch.SolrProvider.SolrIndexConfiguration) 
These method names have all been updated and now will appear as follows:

  • include hint="list:AddIncludedTemplate"
  • include hint="list:AddExcludedTemplate"
  • include hint="list:AddIncludedField"
  • include hint="list:AddExcludedField"
The custom index should work as expected with these updates.

No comments:

Post a Comment