我是新來的Sitecore,(非常新),我試圖讓一個現有的項目在本地工作。所有到目前爲止好,除了錯誤:Sitecore配置問題
找不到配置節點:contentSearch/indexConfigurations/indexUpdateStrategies/SYNCMASTER
在配置文件到這一點的引用:
的web.config :
<contentSearch>
<configuration type="Sitecore.ContentSearch.ContentSearchConfiguration, Sitecore.ContentSearch">
<indexes hint="list:AddIndex">
<index id="sitecore_dev_index" type="Sitecore.ContentSearch.LuceneProvider.LuceneIndex, Sitecore.ContentSearch.LuceneProvider">
<param desc="name">$(id)</param>
<param desc="folder">$(id)</param>
<!-- This initializes index property store. Id has to be set to the index id -->
<param desc="propertyStore" ref="contentSearch/indexConfigurations/databasePropertyStore" param1="$(id)"/>
<configuration ref="contentSearch/indexConfigurations/devLuceneIndexConfiguration"/>
<strategies hint="list:AddStrategy">
<!-- NOTE: order of these is controls the execution order -->
<strategy ref="contentSearch/indexConfigurations/indexUpdateStrategies/syncMaster"/>
</strategies>
還有一些補丁文件執行以下操作:
<indexConfigurations>
<indexUpdateStrategies>
<syncMaster>
<patch:delete />
</syncMaster>
編輯另外在SiteCore.ContentSearch.DefaultConfigurations.config
<syncMaster type="Sitecore.ContentSearch.Maintenance.Strategies.SynchronousStrategy, Sitecore.ContentSearch">
<param desc="database">master</param>
</syncMaster>
人可以幫我鑑定一下我在這裏尋找到解決這個問題,因爲它不是完全明顯
錯誤與您通過修補程序刪除的syncMaster更新策略有關。爲什麼要刪除syncMaster更新策略?這是Master索引 –
所必需的,正如前面提到的那樣,我們不能100%確定它正在發生什麼事情,並要求在本地建設它。我認爲這可能是不同的配置文件配置混合到構建中。目前 –
暫時刪除該補丁,看看你是否得到一個新的錯誤,或者如果它工作正常 –