File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -107,9 +107,9 @@ struct DiskAnnNode {
107107 * so caller which puts nodes in the context can forget about resource managmenet (context will take care of this)
108108*/
109109struct DiskAnnSearchCtx {
110- VectorPair query ; /* initial query vector; user query for SELECT and row vector for INSERT */
111- DiskAnnNode * * aCandidates ; /* array of candidates ordered by distance to the query (ascending) */
112- float * aDistances ; /* array of distances to the query vector */
110+ VectorPair query ; /* initial query vector; user query for SELECT and row vector for INSERT */
111+ DiskAnnNode * * aCandidates ; /* array of unvisited candidates ordered by distance (possibly approximate) to the query (ascending) */
112+ float * aDistances ; /* array of distances (possible approximate) to the query vector */
113113 unsigned int nCandidates ; /* current size of aCandidates/aDistances arrays */
114114 unsigned int maxCandidates ; /* max size of aCandidates/aDistances arrays */
115115 DiskAnnNode * * aTopCandidates ; /* top candidates with exact distance calculated */
You can’t perform that action at this time.
0 commit comments