Commit Graph

529 Commits

Author SHA1 Message Date
dragondriver
8c951217ee
Fix wrong distances caused by metric type (#11901)
Signed-off-by: dragondriver <jiquan.long@zilliz.com>
2021-11-16 19:11:10 +08:00
Xiangyu Wang
12f50cb22c
[skip ci]Update OWNERS files (#11898)
Signed-off-by: Xiangyu Wang <xiangyu.wang@zilliz.com>
2021-11-16 15:41:11 +08:00
Cai Yudong
fd45a7ee5f
Remove redundant header file in segcore/SegmentGrowingImpl.cpp (#11831)
Signed-off-by: yudong.cai <yudong.cai@zilliz.com>
2021-11-16 10:37:12 +08:00
Cai Yudong
a58f6b4820
Reorder header files for segcore/SegmentGrowing.h (#11829)
Signed-off-by: yudong.cai <yudong.cai@zilliz.com>
2021-11-16 10:35:16 +08:00
Cai Yudong
e920b6d6ff
Reorder header files for segcore/SegmentGrowingImpl.h (#11830)
Signed-off-by: yudong.cai <yudong.cai@zilliz.com>
2021-11-16 10:33:16 +08:00
Cai Yudong
ecae18ad40
Use LOG_SEGCORE_ERROR_ instead of std::cout (#11802)
Signed-off-by: yudong.cai <yudong.cai@zilliz.com>
2021-11-15 18:13:09 +08:00
Cai Yudong
b0054f1b48
Update C API NewSegment (#11809)
Signed-off-by: yudong.cai <yudong.cai@zilliz.com>
2021-11-15 16:57:09 +08:00
Cai Yudong
106ed4d4ee
Reorder header files for segcore/segment_c.cpp (#11800)
Signed-off-by: yudong.cai <yudong.cai@zilliz.com>
2021-11-15 15:43:10 +08:00
Cai Yudong
a35db8eda0
Optimize retrieve to use batch mode assignment (#11647)
Signed-off-by: yudong.cai <yudong.cai@zilliz.com>
2021-11-12 10:06:44 +08:00
Cai Yudong
5fdc6626cb
Change API retrieve return type from CProtoResult to CProto (#11555)
Signed-off-by: yudong.cai <yudong.cai@zilliz.com>
2021-11-12 10:04:49 +08:00
dragondriver
daaeb27ee1
Make AdapterMgr.GetAdapter thread-safe (#11674)
Signed-off-by: dragondriver <jiquan.long@zilliz.com>
2021-11-11 20:42:44 +08:00
Cai Yudong
c5f566357a
Remove debug code (#11556)
Signed-off-by: yudong.cai <yudong.cai@zilliz.com>
2021-11-10 17:31:37 +08:00
Cai Yudong
4df4dc8f80
Reorder header files for segcore/SealedIndexingRecord.h (#11541)
Signed-off-by: yudong.cai <yudong.cai@zilliz.com>
2021-11-10 17:13:41 +08:00
Cai Yudong
87b4fe2220
Remove empty file SealedIndexingRecord.cpp (#11538)
Signed-off-by: yudong.cai <yudong.cai@zilliz.com>
2021-11-10 17:11:45 +08:00
Cai Yudong
72340d7c36
Remove duplicated SIMD setting (#11536)
Signed-off-by: yudong.cai <yudong.cai@zilliz.com>
2021-11-10 17:09:37 +08:00
congqixia
85af0b571d
Add dropped segment state (#11499)
Signed-off-by: Congqi Xia <congqi.xia@zilliz.com>
2021-11-09 18:41:37 +08:00
Cai Yudong
993d8ec4d3
Reorder header files for ScalarIndex (#11482)
Signed-off-by: yudong.cai <yudong.cai@zilliz.com>
2021-11-09 16:29:04 +08:00
Cai Yudong
64b47ee4b3
Reorder header files for segcore/reduce_c.h (#11481)
Signed-off-by: yudong.cai <yudong.cai@zilliz.com>
2021-11-09 16:27:20 +08:00
Cai Yudong
ba49490b04
Reorder header files for segcore/reduce_c.cpp (#11480)
Signed-off-by: yudong.cai <yudong.cai@zilliz.com>
2021-11-09 16:25:32 +08:00
Bingyi Sun
50791765d5
Add GetCompactionStateWithPlans rpc interface in milvus.proto (#11491)
Signed-off-by: sunby <bingyi.sun@zilliz.com>

Co-authored-by: sunby <bingyi.sun@zilliz.com>
2021-11-09 15:47:00 +08:00
Cai Yudong
dae65640a7
Remove redundant header file in segcore/Record.h (#11478)
Signed-off-by: yudong.cai <yudong.cai@zilliz.com>
2021-11-09 15:03:09 +08:00
Bingyi Sun
c3f0c5a3ff
Add compaction interfaces in proxy (#11431)
issue: #9904
Signed-off-by: sunby <bingyi.sun@zilliz.com>

Co-authored-by: sunby <bingyi.sun@zilliz.com>
2021-11-09 14:47:02 +08:00
Cai Yudong
14c37058e3
Rename simd configuration valid values for better readability (#11410)
Signed-off-by: yudong.cai <yudong.cai@zilliz.com>
2021-11-08 22:07:05 +08:00
Cai Yudong
caf3a2405d
Update KnowhereException (#11425)
Signed-off-by: yudong.cai <yudong.cai@zilliz.com>
2021-11-08 22:05:05 +08:00
Cai Yudong
feb7f47faa
Reorder header files for segcore/plan_c.h (#11405)
Signed-off-by: yudong.cai <yudong.cai@zilliz.com>
2021-11-08 16:11:16 +08:00
Cai Yudong
f609f3f1c8
Reorder header files for segcore/plan_c.cpp (#11404)
Signed-off-by: yudong.cai <yudong.cai@zilliz.com>
2021-11-08 16:09:26 +08:00
Cai Yudong
315aa0aff9
Merge GetResultData and ResetResultData into ReduceResultData (#11396)
Signed-off-by: yudong.cai <yudong.cai@zilliz.com>
2021-11-08 15:58:58 +08:00
bigsheeper
38375ee1d3
Add LoadBalance (#9945)
Signed-off-by: bigsheeper <yihao.dai@zilliz.com>
2021-11-06 16:54:59 +08:00
Cai Yudong
db2a0a3bd3
Fix reduce panic (#11325)
Signed-off-by: yudong.cai <yudong.cai@zilliz.com>
2021-11-05 18:17:00 +08:00
godchen
09f8fa1040
Add query coord watch delta channel (#11218)
Signed-off-by: godchen <qingxiang.chen@zilliz.com>
2021-11-05 14:47:19 +08:00
xige-16
b567a8e5b5
Add SystemInfo msgType for getMetricRequest (#11151)
Signed-off-by: xige-16 <xi.ge@zilliz.com>
2021-11-04 10:58:11 +08:00
Cai Yudong
f25def79ed
Add debug logs for search results handling (#11186)
Signed-off-by: yudong.cai <yudong.cai@zilliz.com>
2021-11-03 19:12:10 +08:00
Ji Bin
68d6839ab0
Improvements: Some adaptation for gcc-10 (#7853)
Support windows compile with MSYS (partial). This part including:

- CMakeLists.txt using CMAKE_SHARED_LIBRARY_SUFFIX instead .so
- Replace finite() with std::isfinite()
  ref: https://github.com/facebookresearch/faiss/pull/1341
- Replace bzero (deprecated in POSIX 2001) with memset.
  ref: https://github.com/facebookresearch/faiss/pull/1340
- Some int types match.

Signed-off-by: Ji Bin <matrixji@live.com>
2021-11-03 16:00:16 +08:00
zhenshan.cao
cd79fd07c4
Fix timetravel bug on sealed segment (#11152)
Signed-off-by: zhenshan.cao <zhenshan.cao@zilliz.com>
2021-11-03 12:40:12 +08:00
Cai Yudong
e059c99ada
Reorder header files for segcore/load_index_c.h (#11143)
Signed-off-by: yudong.cai <yudong.cai@zilliz.com>
2021-11-03 12:16:12 +08:00
Cai Yudong
9531fc5adf
Reorder header files for segcore/load_index_c.cpp (#11140)
Signed-off-by: yudong.cai <yudong.cai@zilliz.com>
2021-11-03 11:46:12 +08:00
Cai Yudong
40d254d09c
Reorder header files for segcore/InsertRecord.h (#11139)
Signed-off-by: yudong.cai <yudong.cai@zilliz.com>
2021-11-03 11:42:12 +08:00
Cai Yudong
885e5f4210
Remove redundant empty lines (#11138)
Signed-off-by: yudong.cai <yudong.cai@zilliz.com>
2021-11-03 11:38:15 +08:00
Cai Yudong
dca0f1a463
Reorder header files for segcore/DeletedRecord.h (#11064)
Signed-off-by: yudong.cai <yudong.cai@zilliz.com>
2021-11-02 14:16:31 +08:00
Cai Yudong
93339c7f49
Reorder header files for segcore/FieldIndexing.h (#11067)
Signed-off-by: yudong.cai <yudong.cai@zilliz.com>
2021-11-02 11:14:33 +08:00
Cai Yudong
5397449f2a
Reorder header files for segcore/FieldIndexing.cpp (#11066)
Signed-off-by: yudong.cai <yudong.cai@zilliz.com>
2021-11-02 11:06:30 +08:00
Cai Yudong
623a31ab42
Reorder header files for segcore/ConcurrentVector.h (#11063)
Signed-off-by: yudong.cai <yudong.cai@zilliz.com>
2021-11-02 11:02:28 +08:00
Cai Yudong
6d5755998b
Reorder header files for segcore/Collection.h (#11059)
Signed-off-by: yudong.cai <yudong.cai@zilliz.com>
2021-11-02 10:46:33 +08:00
Cai Yudong
ca936affac
Reorder header files for segcore/AckResponder.h (#11058)
Signed-off-by: yudong.cai <yudong.cai@zilliz.com>
2021-11-02 10:44:34 +08:00
Cai Yudong
4241326524
Update test API CheckSearchResultDuplicate (#11019)
Signed-off-by: yudong.cai <yudong.cai@zilliz.com>
2021-11-01 18:31:59 +08:00
yukun
d8044299a0
Add uids and seg_offsets check in segcore (#10983)
Signed-off-by: fishpenguin <kun.yu@zilliz.com>
2021-11-01 15:21:52 +08:00
Cai Yudong
da0cb4a702
Use primary key only to check search result duplicate (#10949)
Signed-off-by: yudong.cai <yudong.cai@zilliz.com>
2021-11-01 10:06:03 +08:00
yukun
8153beffb2
[skip ci]Remove unused code in segcore (#10905)
Signed-off-by: fishpenguin <kun.yu@zilliz.com>
2021-10-29 17:26:44 +08:00
yukun
64d5584670
[skip ci]Format segcore comments (#10904)
Signed-off-by: fishpenguin <kun.yu@zilliz.com>
2021-10-29 17:24:51 +08:00
groot
57783827fb
Add cpp coverage (#10801)
Signed-off-by: yhmo <yihua.mo@zilliz.com>
2021-10-28 18:54:35 +08:00