mirror of
https://github.com/pgvector/pgvector.git
synced 2026-06-06 05:51:21 +08:00
Added partial indexes section [skip ci]
This commit is contained in:
@@ -104,6 +104,14 @@ SELECT ...
|
||||
COMMIT;
|
||||
```
|
||||
|
||||
### Partial Indexes
|
||||
|
||||
Use [partial indexes](https://www.postgresql.org/docs/current/indexes-partial.html) to speed up queries with a `WHERE` clause
|
||||
|
||||
```sql
|
||||
CREATE INDEX ON table USING ivfflat (column) WHERE (condition = true);
|
||||
```
|
||||
|
||||
## Reference
|
||||
|
||||
### Vector Type
|
||||
|
||||
Reference in New Issue
Block a user