From 8abd5c8d85777179a438fdfef875e7b8be96b4a2 Mon Sep 17 00:00:00 2001 From: albertlockett Date: Wed, 3 Jan 2024 15:36:54 -0500 Subject: [PATCH] fix ann docs --- docs/src/ann_indexes.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/docs/src/ann_indexes.md b/docs/src/ann_indexes.md index 6e9b7ac3..13b59d40 100644 --- a/docs/src/ann_indexes.md +++ b/docs/src/ann_indexes.md @@ -164,6 +164,7 @@ You can further filter the elements returned by a search using a where clause. const results_2 = await table .search(Array(1536).fill(1.2)) .where("id != '1141'") + .limit(2) .execute() ``` @@ -187,6 +188,7 @@ You can select the columns returned by the query using a select clause. const results_3 = await table .search(Array(1536).fill(1.2)) .select(["id"]) + .limit(2) .execute() ```