ComparisonUpdated 2026-12-03
Mackerel vs Vector RAG and Keyword Search for messy enterprise documents
Summary
Vector RAG and keyword search rank text chunks by surface similarity, which causes broad global policies and retired handbooks to outscore terse regional addenda. Mackerel compiles override edges, supersession pointers, and ACL groups directly into the retrieval graph so one API call returns the exact governing rule or abstains cleanly.
Side-by-side comparison
| Criterion | Mackerel | Vector RAG & Keyword Search |
|---|---|---|
| Regional addenda & exceptions | Explicit override traversal promotes the narrowest matching addendum | General policy chunk often has higher surface overlap and ranks #1 |
| Old vs new document versions | superseded_by blocks retired rules from ever becoming governing | Old 2024 handbook sits alongside 2026 policy in top-k context |
| Out-of-domain queries | Returns abstained: true and governing: [] | Always returns k closest chunks, tempting the LLM to extrapolate |
| Permission boundaries | ACL-before-retrieval enforced prior to scoring | Post-retrieval filtering risks leaking counts or dropping top-k recall |
| Auditability | Hop-by-hop trace with considered, pruned, and overridden citations | Opaque floating-point similarity scores without causal precedence |
Concrete policy test
“Can we fast-track a vendor security review if no customer data is touched?”
Mackerel follows the fast-track exception edge from the standard vendor security review rule, returning the fast-track clause as governing and the full review requirement as overridden.
When to choose Vector RAG & Keyword Search
- You are searching creative notes, support tickets, or large unstructured archives where no document formally overrides another.
- You want broad exploratory recall across fuzzy concepts rather than one authoritative governing rule.
When to choose Mackerel
- Wrong policy citations carry financial, legal, or security consequences (expense caps, pricing exceptions, FedRAMP controls, legal holds).
- Your engineering team is tired of writing brittle prompt hacks to tell an LLM to ignore outdated chunks in its RAG context.
Frequently asked questions
- How fast is Mackerel compared to a typical vector RAG pipeline?
- Mackerel resolves rule graphs in milliseconds through our managed API, with a 350ms end-to-end budget on mackerel-flash and 420ms on mackerel-base.