Set eMatches

This commit is contained in:
Andrew Kane
2024-02-05 21:50:59 -08:00
parent 48ba549a0a
commit e3c33c9ba2

View File

@@ -916,7 +916,10 @@ HnswSearchLayer(char *base, Datum q, IndexScanDesc scan, List *ep, int ef, int l
f = ((HnswPairingHeapNode *) pairingheap_first(W))->inner;
if (index == NULL)
{
eDistance = GetCandidateDistance(base, e, q, procinfo, collation);
eMatches = true;
}
else
HnswLoadElement(eElement, &eDistance, &q, index, procinfo, collation, inserting, scan, &eMatches);