atomic-server icon indicating copy to clipboard operation
atomic-server copied to clipboard

Search index is not updated anymore

Open Polleps opened this issue 1 year ago • 3 comments

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?

Polleps avatar Sep 10 '24 10:09 Polleps

I'm confused, I though I saw the e2e tests passed. I'll take a look!

joepio avatar Sep 10 '24 10:09 joepio

Can't replicate in latest develop

joepio avatar Sep 10 '24 10:09 joepio

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.

joepio avatar Sep 10 '24 13:09 joepio