Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Search index is not updated anymore #963

Open
Polleps opened this issue Sep 10, 2024 · 3 comments
Open

Search index is not updated anymore #963

Polleps opened this issue Sep 10, 2024 · 3 comments
Labels
bug Something isn't working server atomic-server

Comments

@Polleps
Copy link
Member

Polleps commented Sep 10, 2024

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 Polleps added bug Something isn't working server atomic-server labels Sep 10, 2024
@joepio
Copy link
Member

joepio commented Sep 10, 2024

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

@joepio
Copy link
Member

joepio commented Sep 10, 2024

Can't replicate in latest develop

@joepio
Copy link
Member

joepio commented Sep 10, 2024

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working server atomic-server
Projects
None yet
Development

No branches or pull requests

2 participants