mirror of
https://github.com/pgvector/pgvector.git
synced 2026-07-01 10:11:20 +08:00
Restored section on partial indexes [skip ci]
This commit is contained in:
@@ -106,6 +106,14 @@ SELECT ...
|
||||
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
|
||||
|
||||
### Vector Type
|
||||
|
||||
Reference in New Issue
Block a user