Skip to content

lyonzin/knowledge-rag

v4.5.0 Feature

This release adds 2 notable features for engineering teams evaluating rollout.

Published 20d MCP Developer Tools
✓ No known CVEs patched
Read the diff → Tool health → What is this tool? →

✓ No known CVEs patched in this version

Topics

antigravity claude claude-code claude-code-cli codex cursor-ai
+14 more
document-search hybrid-search inteligencia-artificial knowledge-base local-ai mcp mcp-server llm rag-chatbot rag-pipeline reranking retrieval-augmented-generation semantic-search vector-db

Affected surfaces

breaking_upgrade

Summary

AI summary

search_knowledge now searches the full index when category_filter is omitted and adds a path‑metadata ranking boost.

Full changelog

Two search-quality changes ship together in v4.5.0. Both are additive from a public-API standpoint (no signature changes, routed_by field unchanged).

Fixed

  • search_knowledge now searches the entire index when the caller omits category_filter. The internal keyword router previously acted as a hard where-filter on both semantic and BM25 branches, so a query whose terms happened to map to a sparsely-populated category could return two documents while thousands of relevant chunks in other categories were silently dropped. The router is now informational only — the routed_by field is still populated for telemetry, but the candidate set is never restricted. Explicit category_filter=... continues to filter BM25 consistently with #109. (#112)

Added

  • Path-metadata ranking boost in hybrid search. When query terms match a chunk's indexed source or filename metadata, hybrid search now applies a small bounded boost (capped at ~20% of typical RRF magnitudes) before final sorting/reranking. This helps navigational queries surface the canonical file for a topic instead of adjacent files that only cross-reference it. Public API unchanged. (#110, thanks @Hohlas)

Tests

  • New TestKeywordRoutingBehavior (3 tests) pins the routing fix.
  • New TestPathAwareRanking covers the path-metadata boost.
  • Baseline: 266 → 271.

Upgrade note

Warm query_cache entries from before v4.5.0 should be invalidated by restarting the server so cached responses no longer reflect the pre-fix restrictive behavior.

Weekly OSS security release digest.

The CVE patches and breaking changes that affected production tools this week. One email, every Sunday.

No spam, unsubscribe anytime.

Share this release

Track lyonzin/knowledge-rag

Get notified when new releases ship.

Sign up free

About lyonzin/knowledge-rag

Local RAG system for Claude Code with hybrid search (BM25 + semantic), cross-encoder reranking, markdown-aware chunking, query expansion, and 12 MCP tools. Runs entirely offline with zero external servers.

All releases →

Beta — feedback welcome: [email protected]