mirror of
https://github.com/pgvector/pgvector.git
synced 2026-07-09 22:30:58 +08:00
Updated readme [skip ci]
This commit is contained in:
@@ -445,7 +445,7 @@ For multiple columns, consider a [multicolumn index](https://www.postgresql.org/
|
|||||||
CREATE INDEX ON items (location_id, category_id);
|
CREATE INDEX ON items (location_id, category_id);
|
||||||
```
|
```
|
||||||
|
|
||||||
Exact indexes work well for conditions that match a lower percentage of rows. Otherwise, [approximate indexes](#indexing) can work better.
|
Exact indexes work well for conditions that match a low percentage of rows. Otherwise, [approximate indexes](#indexing) can work better.
|
||||||
|
|
||||||
```sql
|
```sql
|
||||||
CREATE INDEX ON items USING hnsw (embedding vector_l2_ops);
|
CREATE INDEX ON items USING hnsw (embedding vector_l2_ops);
|
||||||
|
|||||||
Reference in New Issue
Block a user