From: jkatz (@jkatz) <noreply+jkatz@github.com>
To: pgvector/pgvector <noreply+pgvector-pgvector@github.com>
Subject: Re: [pgvector/pgvector] PR #231: Add 8-bit scalar quantization support for `IVF` index.
Date: Thu, 17 Aug 2023 18:59:55 +0000
Message-ID: <gh-pgvector-pgvector-231-rc1297623635@github.com> (raw)
In-Reply-To: <gh-pgvector-pgvector-231-rc1297254981@github.com>
References: <gh-pgvector-pgvector-231@github.com>
<gh-pgvector-pgvector-231-rc1297254981@github.com>
(on README.md:175)
OR as another examples
```sql
CREATE INDEX ON items USING ivf (lists=100); -- defaults to `quantizer=flat` or `quantizer=NULL` or however one wants to represent "flat"
CREATE INDEX ON items USING ivf (lists=100, quantizer='SQ8');
```
That said, given `ivfflat` index AM is out there, we do need to be careful about introducing new access methods. Effectively we need to treat `ivfflat` as if it's not going away. Maybe `ivf` becomes the preferred choice when creating an IVF index and the default is to leverage the `ivfflat` infrastructure.