pg.ddx.io  pgvector/pgvector GitHub issues and pull requests  
help / color / mirror / Atom feed
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;

view thread (3+ messages)  latest in thread

Message-ID: <gh-pgvector-pgvector-833@github.com>
Permalink:  ../gh-pgvector-pgvector-833@github.com/

 · 


This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox