Could not find add method: IncludeTemplate
after adding an include rule as described here I get an ASP.NET error that says "Could not find add method: IncludeTemplate (type: Coveo.Framework.Configuration.CoveoIndexConfiguration)". Oddly enough leaving only ExcludeTemplate works. What could be the problem?
Thanks in advance.
Coveo for Sitecore
Coveo.Framework.Configuration.CoveoIndexConfiguration class inherits the Sitecore
Sitecore.ContentSearch.ProviderIndexConfiguration class which contains the
Looking at the
Sitecore.ContentSearch.dll file of Sitecore 7.0 Update-2 (rev. 130918) in JetBrains dotPeek, I found that the
Sitecore.ContentSearch.ProviderIndexConfiguration class doesn't have the method
IncludeTemplate(string) which is needed to make the include template feature to work. This is a limitation of Sitecore and not of Coveo for Sitecore.
I looked at previous and subsequent versions of Sitecore to find that this method was added in Sitecore 7.0 Update-3 (rev. 131127). Thus, using the include template feature is only possible from Sitecore 7.0 Update-3 or greater.