pg.ddx.io  pgvector/pgvector GitHub issues and pull requests  
help / color / mirror / Atom feed
[pgvector/pgvector] issue #881: In the same scenario, if the topk value is greater than 40, only 40 records can be returned.
3+ messages / 2 participants
[nested] [flat]

* [pgvector/pgvector] issue #881: In the same scenario, if the topk value is greater than 40, only 40 records can be returned.
@ 2025-08-01 07:52 "qinhaoranaaa (@qinhaoranaaa)" <noreply+qinhaoranaaa@github.com>
  0 siblings, 0 replies; 3+ messages in thread

From: qinhaoranaaa (@qinhaoranaaa) @ 2025-08-01 07:52 UTC (permalink / raw)
  To: pgvector/pgvector <noreply+pgvector-pgvector@github.com>

The commands are exactly the same except for topk. I added the assertion that PQntuples(queryRes) >= g_topk。
command:
<img width="1251" height="719" alt="Image" src="https://github.com/user-attachments/assets/7524e5e3-6691-4806-aba6-af06c982eb54"; />
result:
<img width="831" height="493" alt="Image" src="https://github.com/user-attachments/assets/65eaa015-42fd-4992-8ad3-674a43fc01ed"; />

^ permalink  raw  [nested|flat] 3+ messages in thread

* Re: [pgvector/pgvector] issue #881: In the same scenario, if the topk value is greater than 40, only 40 records can be returned.
@ 2025-08-01 07:57 ` "ankane (@ankane)" <noreply+ankane@github.com>
  1 sibling, 0 replies; 3+ messages in thread

From: ankane (@ankane) @ 2025-08-01 07:57 UTC (permalink / raw)
  To: pgvector/pgvector <noreply+pgvector-pgvector@github.com>

Hi @qinhaoranaaa, check out the [troubleshooting 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 #881: In the same scenario, if the topk value is greater than 40, only 40 records can be returned.
@ 2025-08-01 07:57 ` "ankane (@ankane)" <noreply+ankane@github.com>
  1 sibling, 0 replies; 3+ messages in thread

From: ankane (@ankane) @ 2025-08-01 07:57 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-08-01 07:57 UTC | newest]

Thread overview: 3+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2025-08-01 07:52 [pgvector/pgvector] issue #881: In the same scenario, if the topk value is greater than 40, only 40 records can be returned. "qinhaoranaaa (@qinhaoranaaa)" <noreply+qinhaoranaaa@github.com>
2025-08-01 07:57 ` "ankane (@ankane)" <noreply+ankane@github.com>
2025-08-01 07:57 ` "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