pg.ddx.io pgvector/pgvector GitHub issues and pull requestshelp / color / mirror / Atom feed
[pgvector/pgvector] issue #833: The limit on the cosine distance index always returns 42, even if a higher one is set. 3+ messages / 2 participants [nested] [flat]
* [pgvector/pgvector] issue #833: The limit on the cosine distance index always returns 42, even if a higher one is set. @ 2025-05-02 08:56 "fapth (@fapth)" <noreply+fapth@github.com> 0 siblings, 0 replies; 3+ messages in thread From: fapth (@fapth) @ 2025-05-02 08:56 UTC (permalink / raw) To: pgvector/pgvector <noreply+pgvector-pgvector@github.com> 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; ^ permalink raw [nested|flat] 3+ messages in thread
* Re: [pgvector/pgvector] issue #833: The limit on the cosine distance index always returns 42, even if a higher one is set. @ 2025-05-02 19:59 ` "ankane (@ankane)" <noreply+ankane@github.com> 1 sibling, 0 replies; 3+ messages in thread From: ankane (@ankane) @ 2025-05-02 19:59 UTC (permalink / raw) To: pgvector/pgvector <noreply+pgvector-pgvector@github.com> Hi @fapth, check out [the docs](https://github.com/pgvector/pgvector?tab=readme-ov-file#why-are-there-less-results-for-a-query-after...). ^ permalink raw [nested|flat] 3+ messages in thread
* Re: [pgvector/pgvector] issue #833: The limit on the cosine distance index always returns 42, even if a higher one is set. @ 2025-05-02 19:59 ` "ankane (@ankane)" <noreply+ankane@github.com> 1 sibling, 0 replies; 3+ messages in thread From: ankane (@ankane) @ 2025-05-02 19:59 UTC (permalink / raw) To: pgvector/pgvector <noreply+pgvector-pgvector@github.com> @ankane closed this. ^ permalink raw [nested|flat] 3+ messages in thread
end of thread, other threads:[~2025-05-02 19:59 UTC | newest] Thread overview: 3+ messages (download: mbox mbox.gz follow: Atom feed) -- links below jump to the message on this page -- 2025-05-02 08:56 [pgvector/pgvector] issue #833: The limit on the cosine distance index always returns 42, even if a higher one is set. "fapth (@fapth)" <noreply+fapth@github.com> 2025-05-02 19:59 ` "ankane (@ankane)" <noreply+ankane@github.com> 2025-05-02 19:59 ` "ankane (@ankane)" <noreply+ankane@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