yahoojapan / NGT

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

Quantization in qg-l2-float.cpp #153

Closed MINGRUI001 closed 11 months ago

MINGRUI001 commented 11 months 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 11 months ago

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