Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions scripts/ingest/qdrant.py
Original file line number Diff line number Diff line change
Expand Up @@ -280,6 +280,7 @@ def _ensure_collection_with_mode(
sparse_vectors_config=sparse_cfg,
hnsw_config=models.HnswConfigDiff(m=16, ef_construct=256),
quantization_config=quant_cfg,
on_disk_payload=True, # Enable zstd compression for 50-70% storage savings
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

on_disk_payload=True controls whether payload is stored on disk (primarily a RAM-usage tradeoff), but the inline comment mentions “zstd compression” and specific storage savings which doesn’t appear to be what this setting guarantees. Also note this only applies on initial collection creation in this function, so existing collections won’t pick it up unless recreated/updated.

Fix This in Augment

🤖 Was this useful? React with 👍 or 👎

)
sparse_info = f", sparse: [{LEX_SPARSE_NAME}]" if sparse_cfg else ""
quant_info = f", quantization: {os.environ.get('QDRANT_QUANTIZATION', 'none')}" if quant_cfg else ""
Expand Down
Loading