Steps to reproduce:
- Create a collection with XWiki storage and add two spaces.
- Wait for indexing to complete.
- Remove one of the spaces.
- Check in the Live Data if the chunks of the removed space have been removed.
Expected result: The removed space is gone. Actual result: The removed space is still there. The issue is that the Solr query for deleting the chunks from the collection is incorrect and only deletes chunks that are also from another store (like the internal store). |