У меня есть сайт sitecore 6.2, на котором не было индексов lucene, кроме системного индекса. Я попытался добавить этот новый простой индекс:
<index id="videoIndex" type="Sitecore.Search.Index, Sitecore.Kernel" >
<param desc="name">$(id)</param>
<param desc="folder">IndexFolder</param>
<Analyzer ref="search/analyzer" />
<templates hint="list:AddTemplate">
<template>{854D2F45-3261-45A8-9E52-64D96B5D54E5}</template>
</templates>
<fields hint="raw:AddField">
<field target="category">Categories</field>
<field target="date">__updated</field>
</fields>
</index>
Как только я добавлю это, просмотр любой страницы на сайте sitecore дает следующую ошибку:
Could not find add method: AddTemplate (type: Sitecore.Search.Index)
Использование Lucene 2.3.1.3, .NET 3.5.