Highlights
Real vector semantic search is here. ctx_semantic_search now performs true nearest-neighbor search over the code-index database instead of always falling back to keyword search.
Features
- Vector semantic search:
ctx_semantic_searchembeds the query via Ollama, loads vectors joined with chunk metadata, and returns similarity-ranked code matches. repo_idscoping: new optionalrepo_idparameter scopes vector search to a single indexed repo.- Real embeddings on index:
LocalIndexerswitched from theZeroEmbeddingProviderstub toOllamaEmbeddingProvider, so indexed repos store meaningful vectors (gracefully falls back to zero vectors when the proxy is unavailable). - Graceful degradation: keyword-search fallback preserved when embeddings are unavailable or none are indexed yet.
Internal
- New
list_vectors_with_chunksSQL join (vectors + chunks metadata) with unit-test coverage. LocalSearcher::conn()accessor for read-only callers that join thevectorstable directly.
Chores
- Workspace version bump
1.4.0->1.4.1acrossCargo.toml,Cargo.lock, and plugin manifests.
Full Changelog: v1.4.0...v1.4.1