You have specified both IncludeTemplates and ExcludeTemplates. This logic is not supported. Exclude templates will be ignored.Inside the default Lucene configuration file (/App_Config/Include/Sitecore.ContentSearch.Lucene.DefaultIndexConfiguration.config) there is a section with some templates excluded by default:
<exclude hint="list:AddExcludedTemplate"> <BucketFolderTemplateId>{ADB6CA4F-03EF-4F47-B9AC-9CE2BA53FF97}</BucketFolderTemplateId> </exclude>
As the error suggests, with Lucene search in Sitecore you can't both include and exclude templates. Therefore as I choose to decide on what templates to include (opt-in rather than opt-out), this section can be commented out which fixes the warning throughout the logs.
No comments:
Post a Comment