The current version uses status callbacks, this has a consequence that it is removed from the indexing table. However, if you need to index to multiple environments you can't have it removed form the index table. So therefore we need to add another hook that "skips" the item rather than "sets the status to 0 and remove it"

Since we save relations and not statuses we should use the ex

This issue depends on #1536628: Add exclude hook that allows to skip content without removing it from the table

CommentFileSizeAuthor
#1 1538212-1.patch18.82 KBnick_vh
#2 1538212-2.patch18.98 KBnick_vh

Comments

nick_vh’s picture

StatusFileSize
new18.82 KB

Still needs some cleanup and verification. It improves the algorithm a bit and improves the cleanup to keep the index table in sync.

nick_vh’s picture

StatusFileSize
new18.98 KB

First cleanup.

nick_vh’s picture

Status: Active » Needs review
nick_vh’s picture

Status: Needs review » Fixed

Committed. Further actions will happen in separate issues

nick_vh’s picture

Issue summary: View changes

Updated issue summary.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.