Convert HNSW search results to legacy, receipt-free EmbedSearchHit
rows using a label-to-source-row lookup. This compatibility helper does not
establish live-source authority and must not be used directly for persisted
content egress; use hnswResultsToReceiptHits with current EmbedDb
hydration for that path.
Parameters
result: {distances:number[];labels:number[]}
Labels and cosine distances returned by the native HNSW index.
Convert HNSW search results to legacy, receipt-free EmbedSearchHit rows using a label-to-source-row lookup. This compatibility helper does not establish live-source authority and must not be used directly for persisted content egress; use hnswResultsToReceiptHits with current EmbedDb hydration for that path.