Signed-off-by: xiaojun.lin <xiaojun.lin@zilliz.com>
pull/1579/head
xiaojun.lin 2020-03-09 15:06:26 +08:00
parent aaf7f4874e
commit f891a590b5
2 changed files with 3 additions and 1 deletions

View File

@ -46,6 +46,7 @@ Please mark all change in change log and use the issue from GitHub
- \#1549 Fix server/wal config setting bug
- \#1556 Index file not created after table and index created
- \#1560 Search crashed with Super-high dimensional binary vector
- \#1564 Too low recall for glove-200-angular, ivf_pq index
## Feature
- \#216 Add CLI to get server info

View File

@ -101,7 +101,8 @@ XSearchTask::XSearchTask(const std::shared_ptr<server::Context>& context, TableF
if (file_) {
// distance -- value 0 means two vectors equal, ascending reduce, L2/HAMMING/JACCARD/TONIMOTO ...
// similarity -- infinity value means two vectors equal, descending reduce, IP
if (file_->metric_type_ == static_cast<int>(MetricType::IP)) {
if (file_->metric_type_ == static_cast<int>(MetricType::IP) &&
file_->engine_type_ != static_cast<int>(EngineType::FAISS_PQ)) {
ascending_reduce = false;
}