Overview
zvec-grep routes workspace questions to the evidence they require: semantic or hybrid indexed retrieval discovers unknown wording and locations, ranked lexical search supplies anchors, and managed ripgrep checks exact occurrences. The series follows that path from scanner scope and structural extraction through adaptive recall, rank fusion, freshness, execution modes, model compatibility, and remote-transfer authorization. Its measured benefit is conditional: a first-party BrowseComp-Plus study reported similar accuracy with lower average tokens, tool calls, and agent time under one fixed corpus and configuration. Adoption fits repeated cross-file discovery when supported formats, current index state, model, privacy, and setup costs are acceptable; exact search remains stronger for exhaustive claims.
Learning outcomes
- Use indexed retrieval to discover unknown wording or locations; use managed ripgrep when exact coverage matters.
- A zvec-grep result is a ranked, source-linked sample, not exhaustive proof.
- Scope, extraction structure, freshness, model compatibility, and truncation shape what the index can support.
- BrowseComp-Plus reported lower search resources with similar accuracy, but only for its fixed first-party setup.
Keywords
Preview every chapter · Unlock full text, audio, and video from chapter 4
PlansFAQ
When should I use zvec-grep instead of ripgrep?
Use zvec-grep for unknown wording, locations, or cross-file relationships, and use ripgrep for known anchors or exhaustive coverage.
Is a top zvec-grep result proof that no other match exists?
No. A top zvec-grep result is a ranked sample from indexed scope, so completeness claims still require current-source reading or managed ripgrep.
What determines whether a workspace is searchable with zvec-grep?
A workspace is searchable through zvec-grep only to the extent that scope rules admit its files, extraction preserves useful structure, and the model can embed the resulting fragments. Unsupported formats, fallback extraction, and truncation narrow the evidence.
When is zvec-grep worth adopting?
zvec-grep is worth adopting when repeated ambiguous or cross-file searches justify index setup and maintenance, supported formats and freshness are adequate, and model and privacy conditions are acceptable.