yahoojapan / NGT

Nearest Neighbor Search with Neighborhood Graph and Tree for High-dimensional Data
Apache License 2.0
1.26k stars 115 forks source link

Quantization in qg-l2-float.cpp #153

Closed MINGRUI001 closed 1 year ago

MINGRUI001 commented 1 year ago

For the sample of qg-l2-float, it shall be to construct a quantization graph and search on it. However, in the searching part (index.search(sc), line 99 of qg-l2-float.cpp), it is still to search the original graph without considering the quantization codes. I have also checked that some PQ-related functions, e.g., createDistanceLookup, are not called. Isn't it? Thanks.

masajiro commented 1 year ago

Thank you for your investigation. I have released v2.1.4 which resolves this issue.