0
我有一個除系統索引之外沒有lucene索引的sitecore 6.2站點。我試圖把這個新的簡單的指標:一旦我添加此爲Sitecore創建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 。
我無法確定這是否會有所幫助,因爲我收到了來自同事的替代解決方案。但是當我看得更遠時,我看到了系統索引中的「Sitecore.Data.Indexing.Index」引用(可能已經發誓通過複製系統索引來啓動我的索引,顯然不是),所以我會將其標記爲已接受。謝謝! – 2010-08-20 14:24:24