pg.ddx.io pgvector/pgvector GitHub issues and pull requestshelp / color / mirror / Atom feed
[pgvector/pgvector] issue #940: Vector search results 4+ messages / 2 participants [nested] [flat]
* [pgvector/pgvector] issue #940: Vector search results @ 2025-12-23 15:32 "samimiashkan (@samimiashkan)" <noreply+samimiashkan@github.com> 0 siblings, 0 replies; 4+ messages in thread From: samimiashkan (@samimiashkan) @ 2025-12-23 15:32 UTC (permalink / raw) To: pgvector/pgvector <noreply+pgvector-pgvector@github.com> Hi.. I notice someting in my vector search.. It delivers chunks not in order (i.e. chunk2, chunk0, chunk1, chunkx .....). sometimes it delivers one singel chunk from a set (i.e. chunk1 or chunk2 only).. ommiting chunk(s) before. Is this normal? Has anybody experienced this. it is a search with hnsw index (cosin similarity) Please shar your thoughts. Many thanks. ^ permalink raw [nested|flat] 4+ messages in thread
* Re: [pgvector/pgvector] issue #940: Vector search results @ 2025-12-24 12:23 ` "ankane (@ankane)" <noreply+ankane@github.com> 2 siblings, 0 replies; 4+ messages in thread From: ankane (@ankane) @ 2025-12-24 12:23 UTC (permalink / raw) To: pgvector/pgvector <noreply+pgvector-pgvector@github.com> Hi @samimiashkan, you can see this behavior with ordering if the query vector is `NULL` (or the query is missing an `ORDER BY` clause). For omitted chunks, indexes use approximate search. ^ permalink raw [nested|flat] 4+ messages in thread
* Re: [pgvector/pgvector] issue #940: Vector search results @ 2025-12-24 12:23 ` "ankane (@ankane)" <noreply+ankane@github.com> 2 siblings, 0 replies; 4+ messages in thread From: ankane (@ankane) @ 2025-12-24 12:23 UTC (permalink / raw) To: pgvector/pgvector <noreply+pgvector-pgvector@github.com> @ankane closed this. ^ permalink raw [nested|flat] 4+ messages in thread
* Re: [pgvector/pgvector] issue #940: Vector search results @ 2025-12-24 15:19 ` "samimiashkan (@samimiashkan)" <noreply+samimiashkan@github.com> 2 siblings, 0 replies; 4+ messages in thread From: samimiashkan (@samimiashkan) @ 2025-12-24 15:19 UTC (permalink / raw) To: pgvector/pgvector <noreply+pgvector-pgvector@github.com> Hi @ankane .. Thanks for response.. Actually no.. the whole similarity check is in "order by" clause and I have no NULL vector. The result is not wrong and it hits the right records.. but I expected that vectore search would take into account the column "chunk_seq" into account. But it obviously does not!! It just delivers the first record it hits, which is not necessarily the "chunk_seq 0". ^ permalink raw [nested|flat] 4+ messages in thread
end of thread, other threads:[~2025-12-24 15:19 UTC | newest] Thread overview: 4+ messages (download: mbox mbox.gz follow: Atom feed) -- links below jump to the message on this page -- 2025-12-23 15:32 [pgvector/pgvector] issue #940: Vector search results "samimiashkan (@samimiashkan)" <noreply+samimiashkan@github.com> 2025-12-24 12:23 ` "ankane (@ankane)" <noreply+ankane@github.com> 2025-12-24 12:23 ` "ankane (@ankane)" <noreply+ankane@github.com> 2025-12-24 15:19 ` "samimiashkan (@samimiashkan)" <noreply+samimiashkan@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