Fix: Disable reranker by default as it is not yet implemented#5
Open
Fix: Disable reranker by default as it is not yet implemented#5
Conversation
The reranker feature was documented and configured as enabled by default but the actual implementation in search.rs explicitly disables it with a comment stating it requires a separate backend. This caused users to download a ~400MB reranker model that was never used. Changes: - Set use_reranker default to false in config.rs - Only download reranker model when explicitly requested with --reranker-only flag - Update README.md to clarify reranker status as not yet implemented -m Fixes PlatformNetwork/bounty-challenge#24
echobt
added a commit
that referenced
this pull request
Jan 19, 2026
update CI to deploy coverage report to github page
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.
Summary
This fix addresses the issue where the reranker feature is documented and configured as enabled by default, but is never actually used in the codebase.
Problem
The reranker functionality was advertised in documentation and enabled by default in configuration, causing users to download a ~400MB reranker model (Qwen3-Reranker-0.6B-Q4_K_M.gguf). However, the actual implementation in
src/core/search.rsexplicitly disables the reranker with a comment stating it requires a separate backend that conflicts with the embedding engine.This results in:
Solution
use_rerankerdefault fromtruetofalseinsrc/config.rsvgrep models downloadcommand to only download the embedding model by default--reranker-onlyflag for future useTesting
vgrep models downloadonly downloads the embedding modelvgrep models download --reranker-onlystill works for those who want the modelRelated Issue
Fixes PlatformNetwork/bounty-challenge#24