pgvector.git / summary / log / commit / refs
commit 81e9e72fbc5969d8bc632ab1456bca1d16c6fcaf
Author: Andrew Kane <andrew@ankane.org>
Date: Wed Mar 22 21:00:47 2023 +0000
Updated guidance on lists [skip ci]
README.md | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/README.md b/README.md
index 741c8129..ee940f92 100644
--- a/README.md
+++ b/README.md
@@ -109,7 +109,10 @@ Specify the number of inverted lists (100 by default)
CREATE INDEX ON items USING ivfflat (embedding vector_l2_ops) WITH (lists = 100);
```
-A lower value provides better recall at the cost of speed. A [good place to start](https://github.com/facebookresearch/faiss/issues/112) is `4 * sqrt(rows)`.
+A lower value provides better recall at the cost of speed. A good place to start is:
+
+- `rows / 1000` for up to 1M rows
+- `sqrt(rows)` for over 1M rows
### Query Options
[parent: 8d9551030236]