Skip to content
Discussion options

You must be logged in to vote

Normally we use the IContentManager.RemoveAsync() method that will trigger the related handiers, for example to cleanup some Index Tables (not all as we keep the row for some tables), remove the items from the Lucene indexes, and so on. There is no bulk method for this so you will still need to iterate over all items.

That said when we remove an item it is only soft removed, meaning that we only set both Published and Latest to false, so it is no more an active version but still there. So in your first query you would need to filter those that are Published OR Latest.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@orchardc
Comment options

Answer selected by orchardc
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants