Warning: file_get_contents(/data/phpspider/zhask/data//catemap/1/asp.net/30.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
C# 在引发发布结束事件后,如何解决内容交付服务器上Sitecore Lucene重建索引的问题?_C#_Asp.net_Asp.net Mvc_Sitecore_Sitecore8 - Fatal编程技术网

C# 在引发发布结束事件后,如何解决内容交付服务器上Sitecore Lucene重建索引的问题?

C# 在引发发布结束事件后,如何解决内容交付服务器上Sitecore Lucene重建索引的问题?,c#,asp.net,asp.net-mvc,sitecore,sitecore8,C#,Asp.net,Asp.net Mvc,Sitecore,Sitecore8,对于在Sitecore 8.2上创建的博客,我们使用Sitecore Lucene索引。博客运行良好,但发布后出现的重复内容除外 要解决重复内容的问题非常简单,请单击“控制面板上的管理”,转到“索引管理器”并重新生成自定义索引,但这不是它的工作方式 我希望在发布后自动重建索引,并且,我为此配置了策略 <strategies hint="list:AddStrategy"> <!-- NOTE: order of these is controls t

对于在Sitecore 8.2上创建的博客,我们使用Sitecore Lucene索引。博客运行良好,但发布后出现的重复内容除外

要解决重复内容的问题非常简单,请单击“控制面板上的管理”,转到“索引管理器”并重新生成自定义索引,但这不是它的工作方式

我希望在发布后自动重建索引,并且,我为此配置了策略

<strategies hint="list:AddStrategy">
              <!-- NOTE: order of these is controls the execution order -->
              <strategy ref="contentSearch/indexConfigurations/indexUpdateStrategies/rebuildAfterFullPublish" />
              <strategy ref="contentSearch/indexConfigurations/indexUpdateStrategies/onPublishEndAsync" />
              <strategy ref="contentSearch/indexConfigurations/indexUpdateStrategies/remoteRebuild" />
            </strategies>
看起来作业是在发布结束事件后触发的,但我不知道到底出了什么问题

对我来说,这有点不清楚,我应该在哪里寻找解决方案。我可以在内容管理服务器(CMS)上重建索引,重建后,内容甚至在内容交付服务器(CDS)上也不再复制。问题出在CMS或CDS服务器上吗

希望有Sitecore Lucene经验的人能给我一些指导来解决这个问题。有人能帮我吗

提前感谢,,
Jordy

有点相切,但您是否使用SwitchOnRebuildLuceneIndex?不确定这与您的问题有多相似,但可能会有所帮助:您使用的是8.2的哪一个更新?如果我记得的话,在早期更新中有一些索引重建问题。此外,对于扩展环境,您确实不应该使用Lucene,而应该使用Solr或其他集中式索引引擎。我使用Sitecore 8.2版本。161221(更新-2)否,未配置SwitchOnRebuildLuceneIndex。
ManagedPoolThread #0 12:54:21 INFO  Job ended: Index_Update_IndexName=features_blog_web_index (units processed: )