telys_build_ivf
Build per-partition IVF indexes to accelerate search on large partitions, calibrating nprobe to a specified recall floor (default 0.98).
Instructions
Build per-partition IVF indexes and calibrate nprobe to a recall floor — speeds up search on large partitions (small partitions already use exact scans). Run once a partition grows large. Required: collection. Optional: min_rows (default 20000; partitions below this stay exact) and target_recall (default 0.98). Fails when the collection does not exist; needs the optional faiss dependency — the error names the fix (pipx: pipx inject telys faiss-cpu; venv: pip install faiss-cpu).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| min_rows | No | ||
| collection | Yes | ||
| target_recall | No |