Removed support for L1 distance and Jaccard distance from ivfflat due to non-optimal clustering

This commit is contained in:
Andrew Kane
2024-04-22 14:11:29 -07:00
parent 881fbc15ef
commit b2f7dad8a7
15 changed files with 13 additions and 170 deletions

View File

@@ -356,24 +356,12 @@ Cosine distance
CREATE INDEX ON items USING ivfflat (embedding vector_cosine_ops) WITH (lists = 100);
```
L1 distance - unreleased
```sql
CREATE INDEX ON items USING ivfflat (embedding vector_l1_ops) WITH (lists = 100);
```
Hamming distance - unreleased
```sql
CREATE INDEX ON items USING ivfflat (embedding bit_hamming_ops) WITH (lists = 100);
```
Jaccard distance - unreleased
```sql
CREATE INDEX ON items USING ivfflat (embedding bit_jaccard_ops) WITH (lists = 100);
```
Supported types are:
- `vector` - up to 2,000 dimensions