chore: bump localrecall to index-backed hybrid search#477
Merged
Conversation
Contributor
There was a problem hiding this comment.
Pull request overview
Updates the Go module dependency on github.com/mudler/localrecall to a newer pseudo-version that includes the index-backed, two-stage hybrid search re-rank implementation described in the PR description, addressing prior performance issues from sequential scans on large collections.
Changes:
- Bump
github.com/mudler/localrecallfromv0.6.1-0.20260507074622-a7724fef6f81tov0.6.3-0.20260605225344-15256b258302ingo.mod. - Update
go.sumchecksums to match the newlocalrecallversion.
Reviewed changes
Copilot reviewed 1 out of 2 changed files in this pull request and generated no comments.
| File | Description |
|---|---|
| go.mod | Updates the required github.com/mudler/localrecall version to the newer index-backed hybrid search implementation. |
| go.sum | Refreshes module and go.mod checksums for the bumped localrecall version. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
2281e0b to
0ec165c
Compare
Pulls in mudler/LocalRecall#46 (merged), which rewrites the PostgreSQL hybrid search using the canonical Reciprocal Rank Fusion pattern (index-backed candidate retrieval + FULL OUTER JOIN + weighted RRF). Fixes the full sequential scan that blew past the statement timeout on large collections (mudler/LocalAI#10186). Signed-off-by: Ettore Di Giacinto <mudler@localai.io>
0ec165c to
4b2bc28
Compare
mudler
added a commit
to mudler/LocalAI
that referenced
this pull request
Jun 6, 2026
Bumps the agent stack to pull in the PostgreSQL hybrid-search fix: - mudler/localrecall -> v0.6.3-...-9a3b3321a9cd (mudler/LocalRecall#46, merged) - mudler/LocalAGI -> ...-14aed1ae4336 (mudler/LocalAGI#477, merged) localrecall's hybrid search previously sorted on a wrapped scalar similarity expression, which blinded the planner into a full sequential scan over every row and exceeded the statement timeout on large collections, returning an empty result set. It now uses the canonical Reciprocal Rank Fusion pattern (index-backed candidate retrieval + FULL OUTER JOIN + weighted RRF). Fixes #10186 Signed-off-by: Ettore Di Giacinto <mudler@localai.io>
mudler
added a commit
to mudler/LocalAI
that referenced
this pull request
Jun 6, 2026
#10186) (#10192) chore: bump LocalAGI and localrecall (index-backed RRF hybrid search) Bumps the agent stack to pull in the PostgreSQL hybrid-search fix: - mudler/localrecall -> v0.6.3-...-9a3b3321a9cd (mudler/LocalRecall#46, merged) - mudler/LocalAGI -> ...-14aed1ae4336 (mudler/LocalAGI#477, merged) localrecall's hybrid search previously sorted on a wrapped scalar similarity expression, which blinded the planner into a full sequential scan over every row and exceeded the statement timeout on large collections, returning an empty result set. It now uses the canonical Reciprocal Rank Fusion pattern (index-backed candidate retrieval + FULL OUTER JOIN + weighted RRF). Fixes #10186 Signed-off-by: Ettore Di Giacinto <mudler@localai.io> Co-authored-by: Ettore Di Giacinto <mudler@localai.io>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Pulls in mudler/LocalRecall#46, which rewrites the PostgreSQL hybrid search as an index-backed two-stage re-rank. Fixes the full sequential scan that blew past the statement timeout on large collections (mudler/LocalAI#10186).