devflowinc / trieve

All-in-one infrastructure for search, recommendations, RAG, and analytics offered via API
https://dashboard.trieve.ai
Other
1.31k stars 114 forks source link

bugfix: reached unreachable code in `bm25-migration.rs` #1962

Closed cdxker closed 1 month ago

cdxker commented 1 month ago

Description

When running migration for cloud for bm25. I got a bug for bm25-migration.rs here. https://github.com/devflowinc/trieve/blob/95f3f235f4e7a2ed8afa198f61a864b27b715b82/server/src/bin/reindex-worker.rs#L177-L184

Need to fix

Target(s)

server

Community channels

Matrix is preferred. Reach out on discord or Matrix for further assistance.

cdxker commented 1 month ago

Need to scan the current production qdrant to see how many chunks have no content. Or if the cause of this issue is something else.

cdxker commented 1 month ago

Created backfill script to solve this issue.