Skip to content

Commit e6bae17

Browse files
committed
Updated readme [skip ci]
1 parent 52b777e commit e6bae17

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

README.md

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -463,15 +463,13 @@ Starting with 0.8.0, you can enable [iterative index scans](#iterative-index-sca
463463
SET hnsw.iterative_scan = strict_order;
464464
```
465465

466-
You can also create separate approximate indexes for each condition value (or groups of values).
467-
468-
If filtering by a few distinct values, use [partial indexing](https://www.postgresql.org/docs/current/indexes-partial.html).
466+
If filtering by only a few distinct values, consider [partial indexing](https://www.postgresql.org/docs/current/indexes-partial.html).
469467

470468
```sql
471469
CREATE INDEX ON items USING hnsw (embedding vector_l2_ops) WHERE (category_id = 123);
472470
```
473471

474-
If filtering by many different values, use [partitioning](https://www.postgresql.org/docs/current/ddl-partitioning.html).
472+
If filtering by many different values, consider [partitioning](https://www.postgresql.org/docs/current/ddl-partitioning.html).
475473

476474
```sql
477475
CREATE TABLE items (embedding vector(3), category_id int) PARTITION BY LIST(category_id);

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy