mirror of
https://github.com/pgvector/pgvector.git
synced 2026-07-12 23:56:55 +08:00
Added partial indexes section [skip ci]
This commit is contained in:
@@ -104,6 +104,14 @@ SELECT ...
|
|||||||
COMMIT;
|
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
|
## Reference
|
||||||
|
|
||||||
### Vector Type
|
### Vector Type
|
||||||
|
|||||||
Reference in New Issue
Block a user