简体   繁体   English

Sitecore - 执行完整索引重建后索引中缺少某些项目

[英]Sitecore - some items are missing in index after performing full index rebuild

We are facing an issue in our sitecore instance.我们在我们的 sitecore 实例中面临一个问题。 When we perform full index rebuild in sitecore, we have noticed that some of the items are missing and they are not found throughout solr index.当我们在 sitecore 中执行完整索引重建时,我们注意到一些项目丢失了,并且在整个 solr 索引中找不到它们。 We have checked log files as well but no error traces are found.我们也检查了日志文件,但没有发现错误痕迹。 Then we tried publishing in web database ie Going to desptop --> Selecting web database from below --> publishing parent folders of the missing items and those items are available in the index again.然后我们尝试在 web 数据库中发布,即转到 desptop --> 从下面选择 web 数据库 --> 发布缺失项目的父文件夹,这些项目再次在索引中可用。 Any suggestion or help will be much appreciated.任何建议或帮助将不胜感激。

Thanks in Advance, Lalit S. Joshi提前致谢, Lalit S. Joshi

There might be couples of reasons for failure some items while indexing.索引时某些项目失败可能有几个原因。 Please check the below points:请检查以下几点:

Check the crawling.log files and see any object reference error is thrown after complete the full index rebuilding.检查 crawling.log 文件并查看在完成完整索引重建后是否抛出任何 object 引用错误。

Sometimes Event Queue table keeps growing in size and eventually getting flooded, so clear this one.有时事件队列表会不断增长并最终被淹没,所以清除这个。

If you want to index every template, then do not include anything in the exclude Template section.如果要索引每个模板,则不要在排除模板部分中包含任何内容。 If this is added, then those items will not be indexed.如果添加了这个,那么这些项目将不会被索引。 Even also check the field types of your template those needs to be indexed.甚至还检查需要索引的模板的字段类型。

Check the security of the items or some conditions are there for that result, those items are might not be getting published properly.检查项目的安全性或该结果是否存在某些条件,这些项目可能无法正确发布。

Did you write any custom logic for eg computed fields for Solr index, check the log if they are throwing any error.您是否为 Solr 索引的计算字段编写了任何自定义逻辑,如果它们抛出任何错误,请检查日志。

You didn't mention any specific error, so I have tried to mention some suggestion above.你没有提到任何具体的错误,所以我试图在上面提到一些建议。 Hope this will help.希望这会有所帮助。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM