Skip to content

Commit 3dd49e1

Browse files
committed
fix: updated the hnsw and flat recommendation in schema.rst
1 parent 2cbbae4 commit 3dd49e1

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

docs/api/schema.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -400,7 +400,7 @@ Algorithm Selection Guide
400400
- Minimal overhead
401401
- Exact but slow for large data
402402
* - **HNSW**
403-
- General purpose (10K-1M+ vectors)
403+
- General purpose (100K-1M+ vectors)
404404
- 95-99% recall, O(log n) search
405405
- Moderate (graph overhead)
406406
- Fast approximate search
@@ -414,13 +414,13 @@ When to Use Each Algorithm
414414
--------------------------
415415

416416
**Choose FLAT when:**
417-
- Dataset size < 10,000 vectors
417+
- Dataset size < 100,000 vectors
418418
- Exact results are mandatory
419419
- Simple setup is preferred
420420
- Query latency is not critical
421421

422422
**Choose HNSW when:**
423-
- Dataset size 10K - 1M+ vectors
423+
- Dataset size 100K - 1M+ vectors
424424
- Need balanced speed and accuracy
425425
- Cross-platform compatibility required
426426
- Most common choice for production

0 commit comments

Comments
 (0)