| From: | "S, Naveen Krishna (Development Engineer 3)" <naveenkrishna(dot)s(at)sky(dot)uk> |
|---|---|
| To: | Thomas Munro <thomas(dot)munro(at)gmail(dot)com>, "pgsql-bugs(at)lists(dot)postgresql(dot)org" <pgsql-bugs(at)lists(dot)postgresql(dot)org> |
| Subject: | Re: [EXTERNAL] Re: BUG #19114: ORDER BY ASC is tampering result when calculating distance btw vectors |
| Date: | 2025-11-19 09:54:41 |
| Message-ID: | DB9PR06MB80443C49F44B095A3F2BE61685D7A@DB9PR06MB8044.eurprd06.prod.outlook.com |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-bugs |
Hi Thomas,
Very good day!
As you referred I am able to confirm the following:
1.
The issue is occurring when HNSW indexing is done.
2.
The issue is not replicable with vector extension 0.8.0
3.
I have tried with multiple m and ef_construction pairs ranging from (16,200) to (64,512) and nothing is working.
May I know where could I see the release updates on 0.8.1 of the vector extension?
Also please feel free to share your thoughts for me to test more on the same.
Thanks and regards,
Naveen Krishna
From: Thomas Munro <thomas(dot)munro(at)gmail(dot)com>
Date: Monday, 17 November 2025 at 1:21 PM
To: S, Naveen Krishna (Development Engineer 3) <naveenkrishna(dot)s(at)sky(dot)uk>, pgsql-bugs(at)lists(dot)postgresql(dot)org <pgsql-bugs(at)lists(dot)postgresql(dot)org>
Subject: [EXTERNAL] Re: BUG #19114: ORDER BY ASC is tampering result when calculating distance btw vectors
On Mon, Nov 17, 2025 at 7:14 PM PG Bug reporting form
<noreply(at)postgresql(dot)org> wrote:
> 40 records
Sounds like pgvector[1]?
"Why are there less results for a query after adding an HNSW index?
Results are limited by the size of the dynamic candidate list
(hnsw.ef_search), which is 40 by default. ...."
[1] https://urldefense.com/v3/__https://github.com/pgvector/pgvector__;!!IlCVUJ0!pgEkbcfGC71pECmG2FAxk-UVuOknYxbjtoQO3yaM1g09YxwPgPSDF9XXWQgCAxG3rmlFOkoesem_tILjQC_EsxIduQ$
--------------------------------------------------------------------
This email is from an external source. Please do not open attachments or click links from an unknown or suspicious origin. Phishing attempts can be reported by using the report message button in Outlook or sending them as an attachment to phishing(at)sky(dot)uk(dot) Thank you
--------------------------------------------------------------------
Information in this email including any attachments may be privileged, confidential and is intended exclusively for the addressee. The views expressed may not be official policy, but the personal views of the originator. If you have received it in error, please notify the sender by return e-mail and delete it from your system. You should not reproduce, distribute, store, retransmit, use or disclose its contents to anyone. Please note we reserve the right to monitor all e-mail communication through our internal and external networks. SKY and the SKY marks are trademarks of Sky Limited and Sky International AG and are used under licence.
Sky UK Limited (Registration No. 2906991), Sky-In-Home Service Limited (Registration No. 2067075), Sky Subscribers Services Limited (Registration No. 2340150) and Sky CP Limited (Registration No. 9513259) are direct or indirect subsidiaries of Sky Limited (Registration No. 2247735). All of the companies mentioned in this paragraph are incorporated in England and Wales and share the same registered office at Grant Way, Isleworth, Middlesex TW7 5QD
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Bertrand Drouvot | 2025-11-19 10:05:12 | Re: pg_resetwal prints new OldestXID in wrong circumstances |
| Previous Message | Heikki Linnakangas | 2025-11-19 09:52:31 | pg_resetwal prints new OldestXID in wrong circumstances |