From: vincenzon (@vincenzon) <noreply+vincenzon@github.com>
To: pgvector/pgvector <noreply+pgvector-pgvector@github.com>
Subject: Re: [pgvector/pgvector] issue #263: No results when using index
Date: Tue, 12 Sep 2023 21:16:27 +0000
Message-ID: <gh-pgvector-pgvector-263-c1716453623@github.com> (raw)
In-Reply-To: <gh-pgvector-pgvector-263@github.com>
References: <gh-pgvector-pgvector-263@github.com>
@jkatz there are 890K rows, there are 800 lists in the IVFFlat index, and I am querying with 28 probes.
```
Table "public.quotes"
Column | Type | Collation | Nullable | Default
-------------+-------------+-----------+----------+---------
id | integer | | not null |
movie_title | text | | |
movie_line | text | | |
character | text | | |
embedding | vector(768) | | |
embedding2 | vector(768) | | |
Indexes:
"quotes_pkey" PRIMARY KEY, btree (id)
"quotes_embedding2_idx" ivfflat (embedding2 vector_cosine_ops) WITH (lists='800')
```