Search index is not updated anymore
Newly created resources don't show up in the search results. Deleting existing resources causes them to still show in search results but as an errored state.
Possibly a regression introduced after the rewrite of commit logic?
I'm confused, I though I saw the e2e tests passed. I'll take a look!
Can't replicate in latest develop
Issue only occurred in Polle's branch #959 because he changed how the query is done. He skipped the add_resources step which queries the store.
But this indicates the underlying problem (probably): the SearchState::remove_resource function does not properly delete the data from the Tantivy index.