mirror of
https://github.com/pgvector/pgvector.git
synced 2026-07-12 07:36:55 +08:00
Restored section on partial indexes [skip ci]
This commit is contained in:
@@ -106,6 +106,14 @@ SELECT ...
|
|||||||
COMMIT;
|
COMMIT;
|
||||||
```
|
```
|
||||||
|
|
||||||
|
### Partial Indexes
|
||||||
|
|
||||||
|
Consider [partial indexes](https://www.postgresql.org/docs/current/indexes-partial.html) for queries with a `WHERE` clause
|
||||||
|
|
||||||
|
```sql
|
||||||
|
CREATE INDEX ON table USING ivfflat (column) WHERE (other_column = 123);
|
||||||
|
```
|
||||||
|
|
||||||
## Reference
|
## Reference
|
||||||
|
|
||||||
### Vector Type
|
### Vector Type
|
||||||
|
|||||||
Reference in New Issue
Block a user