1

We are using Azure search in Sitecore 9.0 update 2 version,

We enabled switch on rebuild option to achieve 0 downtime during the rebuild. Every time when indexes (_sxa_web_index) rebuilding we notice that this stragies are not working with Unpublish item (when we check unpublish item or delete item) but working with update or create item.

No errors or exceptions in logs.

1
  • Here with unpublish item, do you mean checking Never-Publish to true only or you are actually publishing its folder after it? Can you check in your showconfig if you are using any customization to these event and try to debug that
    – Rinku Jain
    May 8 at 17:21

1 Answer 1

2

Azure Search Switch On Rebuild feature is only relevant for the full index rebuild. When configured correctly, it tells Sitecore to perform index rebuild in a new index while keeping the current instance as the primary index. Once the new index is fully built, Sitecore will switch to the new index and make it the primary index, then the old one will be removed.

Behaviour you mentioned is not connected to the Switch On Rebuild functionality because updating, creating, deleting and publishing items trigger incremental index updates rather than full index rebuild.

Depending on how your indexes are configured, these incremental changes can be processed synchronously, asynchronously, based on an interval, etc. You can read more about different indexing strategies in Sitecore documentation here.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.