本文介绍了Sitecore索引重建做法的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在我们的sitecore项目(6.6.0修订版130404)中,我们总共有超过200万个sitecore项目.我们配置了多个Lucene索引(每个都包含这些项的子集).我们面临的问题是重新构建这些索引所花费的时间.特别是使用Sitecore的QuickSearch索引,除我们的自定义索引外,可能还需要整整一整天才能重建该索引.

In our sitecore project (6.6.0 rev. 130404), we have more than 2 million total sitecore items. We have several Lucene indexes (each for a subset of these items) configured. The issue we face is the time it takes to freshly rebuild these indexes. Specially with the Sitecore's QuickSearch index, it might take nearly a full day to rebuild that index, in addition to our custom indexes.

在日常操作中维护大型Sitecore索引遵循的通常做法是什么?您需要多久重建一次索引?以及当您这样做时,如何应对较长的网站停机时间(索引重建会使索引脱机)?

What are the usual practices followed with maintenance of large sitecore indexes in day-to-day operations? How often would you need to rebuild indexes? and when you do, how to cope with long website down-time (index rebuilding makes the index offline)?

推荐答案

如果您有多台服务器,则可以从负载均衡器中取出其中一台(或以其他任何方式停止提供内容),然后在该服务器.完成后,只需将其放回负载均衡器即可.

If you have multiple servers you can take out one of them from the load balancer (or stop it from delivering content in any other way) and rebuild the index on this server. While it's done, just put it back in load balancer.

您还可以尝试使用 Sitecore Lucene刷新器.

看看如何维护Sitecore lucene在庞大的内容交付网络农场中索引,以提供更多选择.

Take a look at how to maintain sitecore lucene indexes in huge content delivery webfarm for more options.

这篇关于Sitecore索引重建做法的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

07-29 11:08