pgvector.git / summary / log / commit / refs
commit b5416d6f100f2b31d4e6d1c2a26b8dc4cb9b7a6e
Author: Andrew Kane <andrew@ankane.org>
Date: Fri Nov 03 23:48:57 2023 +0000
Updated readme [skip ci]
README.md | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/README.md b/README.md
index a44aa0e8..9ea32870 100644
--- a/README.md
+++ b/README.md
@@ -413,7 +413,7 @@ You’ll need to use [dimensionality reduction](https://en.wikipedia.org/wiki/Di
#### Can I store vectors with different dimensions in the same column?
-You can use the `vector` type (instead of `vector(3)`). However, you can only create indexes on rows with the same number of dimensions (using [partial indexing](https://www.postgresql.org/docs/current/indexes-partial.html) on an [expression](https://www.postgresql.org/docs/current/indexes-expressional.html)).
+You can use the `vector` type (instead of `vector(3)`). However, you can only create indexes on rows with the same number of dimensions (using [expression](https://www.postgresql.org/docs/current/indexes-expressional.html) and [partial](https://www.postgresql.org/docs/current/indexes-partial.html) indexing).
```sql
CREATE INDEX ON items USING hnsw ((embedding::vector(3)) vector_l2_ops) WHERE (model_id = 123);
[parent: f361bf27048e]