cli: add --no-recompute and --no-recompute-embeddings flags; docs: clarify HNSW requires --no-compact when disabling recompute

This commit is contained in:
Andy Lee
2025-08-13 14:09:05 -07:00
parent 07e5f10204
commit 50121972ee
2 changed files with 38 additions and 2 deletions

View File

@@ -319,8 +319,8 @@ Details: see “Running Builds on SkyPilot (Optional)” below.
If you need lower latency and have more storage/memory, disable recomputation. This stores full embeddings and avoids recomputing at search time.
```bash
# Build without recomputation
leann build my-index --no-recompute
# Build without recomputation (HNSW requires non-compact in this mode)
leann build my-index --no-recompute --no-compact
# Search without recomputation
leann search my-index "your query" --no-recompute