mirror of
https://gitee.com/milvus-io/milvus.git
synced 2026-01-01 16:35:29 +08:00
fix
Signed-off-by: xiaojun.lin <xiaojun.lin@zilliz.com>
This commit is contained in:
parent
aaf7f4874e
commit
f891a590b5
@ -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
|
||||
|
||||
@ -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;
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user