From 3dd49e10d5cae16a0b0b8f15df1f2040848f7253 Mon Sep 17 00:00:00 2001 From: Nitin Kanukolanu Date: Tue, 21 Oct 2025 22:20:18 -0400 Subject: [PATCH 1/2] fix: updated the hnsw and flat recommendation in schema.rst --- docs/api/schema.rst | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/api/schema.rst b/docs/api/schema.rst index f9e165f9..787e3996 100644 --- a/docs/api/schema.rst +++ b/docs/api/schema.rst @@ -400,7 +400,7 @@ Algorithm Selection Guide - Minimal overhead - Exact but slow for large data * - **HNSW** - - General purpose (10K-1M+ vectors) + - General purpose (100K-1M+ vectors) - 95-99% recall, O(log n) search - Moderate (graph overhead) - Fast approximate search @@ -414,13 +414,13 @@ When to Use Each Algorithm -------------------------- **Choose FLAT when:** - - Dataset size < 10,000 vectors + - Dataset size < 100,000 vectors - Exact results are mandatory - Simple setup is preferred - Query latency is not critical **Choose HNSW when:** - - Dataset size 10K - 1M+ vectors + - Dataset size 100K - 1M+ vectors - Need balanced speed and accuracy - Cross-platform compatibility required - Most common choice for production From d262326cc53772011722f90f7514af39192e0c19 Mon Sep 17 00:00:00 2001 From: Nitin Kanukolanu Date: Tue, 21 Oct 2025 22:23:25 -0400 Subject: [PATCH 2/2] fix: updated the hnsw and flat recommendation in schema.rst --- docs/api/schema.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/api/schema.rst b/docs/api/schema.rst index 787e3996..7f38d63a 100644 --- a/docs/api/schema.rst +++ b/docs/api/schema.rst @@ -160,7 +160,7 @@ HNSW (Hierarchical Navigable Small World) - Graph-based approximate search with **Use HNSW when:** - - Medium to large datasets (10K-1M+ vectors) requiring high recall rates + - Medium to large datasets (100K-1M+ vectors) requiring high recall rates - Search accuracy is more important than memory usage - Need general-purpose vector search with balanced performance - Cross-platform deployments where hardware-specific optimizations aren't available