diff --git a/thirdparty/faiss/faiss/IndexIVFFastScan.cpp b/thirdparty/faiss/faiss/IndexIVFFastScan.cpp index 0a90ebc03..179de75d2 100644 --- a/thirdparty/faiss/faiss/IndexIVFFastScan.cpp +++ b/thirdparty/faiss/faiss/IndexIVFFastScan.cpp @@ -1421,9 +1421,10 @@ void IndexIVFFastScan::range_search_implem_12( ij++; } } - std::sort(qcs.begin(), qcs.end(), [](const QC& a, const QC& b) { - return a.list_no < b.list_no; - }); + // comment this code, check out https://github.com/zilliztech/knowhere/issues/171 + // std::sort(qcs.begin(), qcs.end(), [](const QC& a, const QC& b) { + // return a.list_no < b.list_no; + // }); } TIC;