From 8d955103023650d89535d95a4894d6b97c8215b7 Mon Sep 17 00:00:00 2001 From: Andrew Kane Date: Wed, 22 Mar 2023 13:32:25 -0700 Subject: [PATCH] Updated readme [skip ci] --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 4b4ec48..741c812 100644 --- a/README.md +++ b/README.md @@ -109,7 +109,7 @@ Specify the number of inverted lists (100 by default) CREATE INDEX ON items USING ivfflat (embedding vector_l2_ops) WITH (lists = 100); ``` -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](https://github.com/facebookresearch/faiss/issues/112) is `4 * sqrt(rows)`. ### Query Options @@ -119,7 +119,7 @@ Specify the number of probes (1 by default) SET ivfflat.probes = 1; ``` -A higher value improves recall at the cost of speed, and it can be set to the number of lists for exact nearest neighbor search (at which point the planner won’t use the index) +A higher value provides better recall at the cost of speed, and it can be set to the number of lists for exact nearest neighbor search (at which point the planner won’t use the index) Use `SET LOCAL` inside a transaction to set it for a single query