-
-
Notifications
You must be signed in to change notification settings - Fork 94
Milestone
Description
Summary
Setting storeVectorsInGraph=false still produces a vecgraph file that inlines vectors, so vectors are stored twice (bucket + graph), inflating disk and RSS.
Repro
- Create a vector index with metadata
storeVectorsInGraph=false. - Ingest data; run one search to trigger graph build.
- Observe vecgraph size ~raw vectors and high RSS.
Expected
When storeVectorsInGraph=false, the graph file should store only topology (no vectors).
Actual
Graph serialization still writes inline vectors regardless of storeVectorsInGraph.
Proposed fix
- Gate graph serialization on
metadata.storeVectorsInGraph; skip writing vectors when false. - Add coverage for both true/false paths.
Help
I can open a PR with the guard and tests.
Reactions are currently unavailable