From 0deb44345846be8211f482f243fa982f5c87ee14 Mon Sep 17 00:00:00 2001 From: Andrew Kane Date: Sun, 28 May 2023 11:07:26 -0700 Subject: [PATCH] Added link to multicolumn indexes [skip ci] --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 491c241..34735b8 100644 --- a/README.md +++ b/README.md @@ -231,7 +231,7 @@ There are a few ways to index nearest neighbor queries with a `WHERE` clause SELECT * FROM items WHERE category_id = 123 ORDER BY embedding <-> '[3,1,2]' LIMIT 5; ``` -Create an index on one or more of the `WHERE` columns for exact search +Create an index on one [or more](https://www.postgresql.org/docs/current/indexes-multicolumn.html) of the `WHERE` columns for exact search ```sql CREATE INDEX ON items (category_id);