From: fapth (@fapth) <noreply+fapth@github.com>
To: pgvector/pgvector <noreply+pgvector-pgvector@github.com>
Subject: [pgvector/pgvector] issue #833: The limit on the cosine distance index always returns 42, even if a higher one is set.
Date: Fri, 02 May 2025 08:56:36 +0000
Message-ID: <gh-pgvector-pgvector-833@github.com> (raw)
When you enter the following SQL command, it always returns 42. If you omit the limit, all entries are returned. Unfortunately, I need the limit to be 1000 here:
SELECT *
FROM public.pg_vectortest order by index_embedding <=> (select index_embedding from pg_vectortest where id = 681839) limit 1000;