Luckily there is a solution where Sitecore will keep two versions of the search index, so that whilst one is being rebuilt, another will be available for querying. This can be enabled on the main XML definition of your Lucene search index.
A standard Lucene search index might be defined by:
<index id="MyIndex" type="Sitecore.ContentSearch.LuceneProvider.LuceneIndex, Sitecore.ContentSearch.LuceneProvider">However to enable the duplication of index, you will need to set the type to SwitchOnRebuildLuceneIndex.
<index id="MyIndex" type="Sitecore.ContentSearch.LuceneProvider.SwitchOnRebuildLuceneIndex, Sitecore.ContentSearch.LuceneProvider">Please be aware that this will then require double the storage space (as there are two versions of the index) and it's always worth investigating your indexing strategy to ensure it meets the given Sitecore implementations needs.
No comments:
Post a Comment