mirror of https://github.com/milvus-io/milvus.git
Signed-off-by: zhenshan.cao <zhenshan.cao@zilliz.com>pull/21986/head
parent
51f751940c
commit
68156b3d6d
|
@ -44,6 +44,6 @@ struct IndexStructure {
|
||||||
return a_ == b.a_;
|
return a_ == b.a_;
|
||||||
}
|
}
|
||||||
T a_;
|
T a_;
|
||||||
size_t idx_;
|
int32_t idx_;
|
||||||
};
|
};
|
||||||
} // namespace milvus::index
|
} // namespace milvus::index
|
||||||
|
|
|
@ -81,7 +81,7 @@ class ScalarIndexSort : public ScalarIndex<T> {
|
||||||
private:
|
private:
|
||||||
bool is_built_;
|
bool is_built_;
|
||||||
Config config_;
|
Config config_;
|
||||||
std::vector<size_t> idx_to_offsets_; // used to retrieve.
|
std::vector<int32_t> idx_to_offsets_; // used to retrieve.
|
||||||
std::vector<IndexStructure<T>> data_;
|
std::vector<IndexStructure<T>> data_;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue