Commit Graph

672 Commits

Author SHA1 Message Date
zhenshan.cao
dcebee2367
[skip e2e]Update license (#13667)
Signed-off-by: zhenshan.cao <zhenshan.cao@zilliz.com>
2021-12-17 20:52:45 +08:00
zhenshan.cao
930e9daeaf
[skip ci] Update License (#13536)
Signed-off-by: zhenshan.cao <zhenshan.cao@zilliz.com>
2021-12-16 20:23:28 +08:00
zhenshan.cao
a5e762bb4a
[skip ci]Update license (#13535)
Signed-off-by: zhenshan.cao <zhenshan.cao@zilliz.com>
2021-12-16 20:21:29 +08:00
zhenshan.cao
177c57a7c7
[skip ci]Update license (#13532)
Signed-off-by: zhenshan.cao <zhenshan.cao@zilliz.com>
2021-12-16 20:19:41 +08:00
xige-16
6f8ea8cc7b
Fix querycoord panic at getRecoveryInfo (#12983)
Signed-off-by: xige-16 <xi.ge@zilliz.com>
2021-12-13 10:29:27 +08:00
Cai Yudong
4884541896
Update unittest log (#13161)
Signed-off-by: yudong.cai <yudong.cai@zilliz.com>
2021-12-10 15:55:08 +08:00
Cai Yudong
15b932c63c
Add unittest IVFFlatNM for Indexing (#13044)
Signed-off-by: yudong.cai <yudong.cai@zilliz.com>
2021-12-09 14:21:28 +08:00
zhenshan.cao
3bb2412ddb
Remove dependency with etcd_meta in segcore (#12987)
Signed-off-by: zhenshan.cao <zhenshan.cao@zilliz.com>
2021-12-09 11:45:06 +08:00
Cai Yudong
1ae249adb5
Update profiler CMakeLists.txt (#13001)
Signed-off-by: yudong.cai <yudong.cai@zilliz.com>
2021-12-08 23:23:06 +08:00
Cai Yudong
85efcd8582
Move fiu nlohmann and easylogging to core/thirdparty (#12981)
Signed-off-by: yudong.cai <yudong.cai@zilliz.com>
2021-12-08 18:45:07 +08:00
Cai Yudong
45bac3e4ec
Move profiler under core/thirdparty (#12949)
Signed-off-by: yudong.cai <yudong.cai@zilliz.com>
2021-12-08 13:01:04 +08:00
Cai Yudong
df875c5985
Clean useless thirdparty version (#12944)
Signed-off-by: yudong.cai <yudong.cai@zilliz.com>
2021-12-08 12:15:03 +08:00
Cai Yudong
7b97b155e8
Remove duplicated thirdparty (#12925)
Signed-off-by: yudong.cai <yudong.cai@zilliz.com>
2021-12-08 10:37:37 +08:00
Cai Yudong
2c42abf23b
Optimize segcore CMakeLists.txt (#12924)
Signed-off-by: yudong.cai <yudong.cai@zilliz.com>
2021-12-08 10:35:04 +08:00
Cai Yudong
41ba52bb28
Support C unittest profiling (#12899)
Signed-off-by: yudong.cai <yudong.cai@zilliz.com>
2021-12-07 20:17:03 +08:00
Cai Yudong
d40af885b9
Update header files for segcore/SegmentInterface.cpp (#12770)
Signed-off-by: yudong.cai <yudong.cai@zilliz.com>
2021-12-07 10:17:51 +08:00
Cai Yudong
55c4d4754a
Remove useless header file for segment_c.cpp (#12768)
Signed-off-by: yudong.cai <yudong.cai@zilliz.com>
2021-12-07 10:15:59 +08:00
Cai Yudong
b053317545
Rename FaissMetricTypeToString to MetricTypeToString (#12767)
Signed-off-by: yudong.cai <yudong.cai@zilliz.com>
2021-12-07 10:13:53 +08:00
Cai Yudong
32f3f78790
Reorder header files for segcore/TimestampIndex.h (#12766)
Signed-off-by: yudong.cai <yudong.cai@zilliz.com>
2021-12-06 18:11:07 +08:00
Cai Yudong
35cd7b5689
Format TimestampIndex.cpp (#12764)
Signed-off-by: yudong.cai <yudong.cai@zilliz.com>
2021-12-06 18:07:31 +08:00
Cai Yudong
1a806a174a
Support load collection with multiple vector column (#12630)
Signed-off-by: yudong.cai <yudong.cai@zilliz.com>
2021-12-03 11:29:33 +08:00
Cai Yudong
cbb01051f0
Update Search return type (#12578)
Signed-off-by: yudong.cai <yudong.cai@zilliz.com>
2021-12-02 11:45:32 +08:00
Ji Bin
26b9d0e9f7
Support cpu/qemu only support SSE42 (#12337)
Compiler options for compiling faiss updated:
- for common objs using -mss4.2 for tunning, remove -mf16c, which may
  need newer CPU.
- for avx2 objs using -mavx2 and -mf16c
- for avx512 objs using -mavx512* and -mf16c

Issue: #12335

Signed-off-by: Ji Bin <matrixji@live.com>
2021-12-01 17:05:32 +08:00
dragondriver
a44c00b0d0
Format test_c_api.cpp (#12515)
Signed-off-by: dragondriver <jiquan.long@zilliz.com>
2021-12-01 15:28:00 +08:00
dragondriver
1db1cf2104
Fix similarity correlation (#12511)
Signed-off-by: dragondriver <jiquan.long@zilliz.com>
2021-12-01 15:26:02 +08:00
dragondriver
6d92b8499c
Revert #11901, Fix wrong jaccard distance (#12487)
Signed-off-by: dragondriver <jiquan.long@zilliz.com>
2021-11-30 20:31:35 +08:00
Cai Yudong
7f9a41496d
Reorder header files for segcore/SegmentSealedImpl.h (#12439)
Signed-off-by: yudong.cai <yudong.cai@zilliz.com>
2021-11-30 18:45:35 +08:00
Cai Yudong
f899644e88
Update header files for segcore/SegmentSealedImpl.cpp (#12438)
Signed-off-by: yudong.cai <yudong.cai@zilliz.com>
2021-11-30 18:43:40 +08:00
Cai Yudong
97c2d2aec2
Reorder header files for segcore/SegmentSealed.h (#12435)
Signed-off-by: yudong.cai <yudong.cai@zilliz.com>
2021-11-30 18:41:44 +08:00
Cai Yudong
d24cc8f846
Reorder header files for segcore/SegmentInterface.h (#12434)
Signed-off-by: yudong.cai <yudong.cai@zilliz.com>
2021-11-30 18:39:49 +08:00
Cai Yudong
8f1e75718c
Clean code (#12433)
Signed-off-by: yudong.cai <yudong.cai@zilliz.com>
2021-11-30 18:37:41 +08:00
yukun
7bb9ae8802
Deleted data could not be searched using timestamp before delete time (#12437)
Signed-off-by: fishpenguin <kun.yu@zilliz.com>
2021-11-30 12:39:41 +08:00
Cai Yudong
486ceca7fb
Remove useless type (#12375)
Signed-off-by: yudong.cai <yudong.cai@zilliz.com>
2021-11-30 09:53:52 +08:00
Cai Yudong
365b5a5d01
Rename SubSearchResult fields for better readability (#12341)
Signed-off-by: yudong.cai <yudong.cai@zilliz.com>
2021-11-29 17:07:40 +08:00
Cai Yudong
cb952d6036
Rename SearchResult fields for better readability (#12327)
Signed-off-by: yudong.cai <yudong.cai@zilliz.com>
2021-11-29 14:57:18 +08:00
Cai Yudong
45fac75889
Fix segcore unittest fail (#12326)
Signed-off-by: yudong.cai <yudong.cai@zilliz.com>
2021-11-29 12:27:17 +08:00
zhenshan.cao
f95ef2260b
Add GetFlushState grpc method (#12220)
Update sdk version

Signed-off-by: zhenshan.cao <zhenshan.cao@zilliz.com>
2021-11-23 22:57:17 +08:00
Bingyi Sun
01be91116e
Add GetFlushState interface (#12170)
issue: #12075
Signed-off-by: sunby <bingyi.sun@zilliz.com>

Co-authored-by: sunby <bingyi.sun@zilliz.com>
2021-11-23 10:55:14 +08:00
dragondriver
73f18c564f
Refine logs when search with unsupported metric type (#12185)
Signed-off-by: dragondriver <jiquan.long@zilliz.com>
2021-11-23 10:13:14 +08:00
congqixia
8a9fb9b287
Fix CMakeLists.txt comment error (#12141)
Signed-off-by: Congqi Xia <congqi.xia@zilliz.com>
2021-11-19 19:33:13 +08:00
jaime
11110906a4
[skip ci] Add a TODO for a faiss cpp file (#12117)
Signed-off-by: yun.zhang <yun.zhang@zilliz.com>

Co-authored-by: yun.zhang <yun.zhang@zilliz.com>
2021-11-19 17:57:46 +08:00
jaime
c6fea64aa7
[skip ci] Add a comment to faiss CMakeLists (#12116)
Signed-off-by: yun.zhang <yun.zhang@zilliz.com>

Co-authored-by: yun.zhang <yun.zhang@zilliz.com>
2021-11-19 17:55:40 +08:00
Cai Yudong
3aca73969f
Optimize segcore API arrangement (#12135)
Signed-off-by: yudong.cai <yudong.cai@zilliz.com>
2021-11-19 17:23:12 +08:00
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
yukun
36e19ab9cd
[skip ci]Format segcore code (#10815)
Signed-off-by: fishpenguin <kun.yu@zilliz.com>
2021-10-28 17:22:28 +08:00
yukun
1cfafb9ee0
[skip ci]Remove unused code in segcore Search (#10814)
Signed-off-by: fishpenguin <kun.yu@zilliz.com>
2021-10-28 17:20:34 +08:00
yukun
b76c526907
[skip ci]Remove unused code in segcore (#10813)
Signed-off-by: fishpenguin <kun.yu@zilliz.com>
2021-10-28 17:18:41 +08:00
Cai Yudong
4186e785ab
Optimize GetResultData in reduce_c.cpp (#10797)
Signed-off-by: yudong.cai <yudong.cai@zilliz.com>
2021-10-28 14:24:22 +08:00
Cai Yudong
5ad4cdda25
Clean search result duplicates removal debug log (#10769)
Signed-off-by: yudong.cai <yudong.cai@zilliz.com>
2021-10-27 20:02:26 +08:00
xige-16
80215eb2f0
Retruen segment state when get query segment info (#10730)
Signed-off-by: xige-16 <xi.ge@zilliz.com>
2021-10-27 19:28:21 +08:00
yukun
5cd935729c
Fix bitmap merge in segcore (#10711)
Signed-off-by: fishpenguin <kun.yu@zilliz.com>
2021-10-27 14:34:31 +08:00
Cai Yudong
07fe3758c4
Remove core/src/utils/Log.h (#10675)
Signed-off-by: yudong.cai <yudong.cai@zilliz.com>
2021-10-26 19:34:22 +08:00
Cai Yudong
492dd1a66f
Remove redundant file (#10674)
Signed-off-by: yudong.cai <yudong.cai@zilliz.com>
2021-10-26 19:32:33 +08:00
Cai Yudong
403b41084f
Remove redundant head files for SegmentGrowingImpl.cpp (#10672)
Signed-off-by: yudong.cai <yudong.cai@zilliz.com>
2021-10-26 19:30:44 +08:00
yukun
471ddb07b2
Decide the final offset when repeated keys (#10671)
Signed-off-by: fishpenguin <kun.yu@zilliz.com>
2021-10-26 19:28:52 +08:00
Cai Yudong
1227b9ebae
Rename utils/tools.h to utils/Utils.h (#10665)
Signed-off-by: yudong.cai <yudong.cai@zilliz.com>
2021-10-26 17:28:23 +08:00
Cai Yudong
fa01a888a0
Remove redundant files under internal/core (#10658)
Signed-off-by: yudong.cai <yudong.cai@zilliz.com>
2021-10-26 17:26:30 +08:00
Cai Yudong
04d34bfcd7
Remove redundant code (#10635)
Signed-off-by: yudong.cai <yudong.cai@zilliz.com>
2021-10-26 13:12:21 +08:00
Cai Yudong
4cd83e78ed
Reorder header files for segcore/Collection.cpp (#10634)
Signed-off-by: yudong.cai <yudong.cai@zilliz.com>
2021-10-26 13:10:30 +08:00
Cai Yudong
06dad68f91
Add common/Consts.h (#10631)
Signed-off-by: yudong.cai <yudong.cai@zilliz.com>
2021-10-26 13:08:18 +08:00
godchen
6a0a5cf274
Add delete request hash values proto (#10601)
Signed-off-by: godchen <qingxiang.chen@zilliz.com>
2021-10-25 21:20:44 +08:00
yukun
6c13008dc3
Fix sealed segment get deleted bitmap assert (#10572)
Signed-off-by: fishpenguin <kun.yu@zilliz.com>
2021-10-25 21:18:47 +08:00
yukun
b8fd695838
Fix duplicate delete bug in growing segment (#10570)
Signed-off-by: fishpenguin <kun.yu@zilliz.com>
2021-10-25 20:15:49 +08:00
Cai Yudong
e4909c1c0b
Optimize segcore API GetResultData (#10548)
Signed-off-by: yudong.cai <yudong.cai@zilliz.com>
2021-10-25 17:53:20 +08:00
Cai Yudong
be57e8fdd8
Remove redundant code (#10343)
Signed-off-by: yudong.cai <yudong.cai@zilliz.com>
2021-10-25 14:27:12 +08:00
yukun
7acb48919b
Add Delete func in Segcore SegmentSealed (#10501)
Signed-off-by: fishpenguin <kun.yu@zilliz.com>
2021-10-24 14:19:10 +08:00
yukun
bc083950a8
Add delete in segcore segment sealed (#10470)
Signed-off-by: fishpenguin <kun.yu@zilliz.com>
2021-10-22 23:35:18 +08:00
yukun
0304a8014b
Support delete in query (#10452)
Signed-off-by: fishpenguin <kun.yu@zilliz.com>
2021-10-22 20:05:12 +08:00
yukun
f7c0f5b3da
Add segmentLoadDeletedRecord in querynode (#10449)
Signed-off-by: fishpenguin <kun.yu@zilliz.com>
2021-10-22 18:51:14 +08:00
groot
73c9ab43e0
Simplify cpp (#10413)
Signed-off-by: yhmo <yihua.mo@zilliz.com>
2021-10-22 14:33:11 +08:00
yukun
fe1927c05d
Support delete in SegmentSealed (#10181)
Signed-off-by: fishpenguin <kun.yu@zilliz.com>
2021-10-22 13:11:11 +08:00
Cai Yudong
824005115a
Remove duplicated search results in proxy (#10355)
Signed-off-by: yudong.cai <yudong.cai@zilliz.com>
2021-10-21 19:52:28 +08:00
groot
a91486e966
Fix a compile error (#10358)
Signed-off-by: yhmo <yihua.mo@zilliz.com>
2021-10-21 19:10:37 +08:00
yukun
ac581c5a38
Fix bitmap bug when delete without expression (#10325)
Signed-off-by: fishpenguin <kun.yu@zilliz.com>
2021-10-21 11:01:07 +08:00
groot
525a85ef06
Remove unused code (#10285)
Signed-off-by: yhmo <yihua.mo@zilliz.com>
2021-10-20 19:21:18 +08:00
yukun
e91eafd871
Fix Bitsetview bug in segcore (#10272)
Signed-off-by: fishpenguin <kun.yu@zilliz.com>
2021-10-20 16:34:36 +08:00
Cai Yudong
983bd1d473
Reorder header files for LoadInfo.h (#10264)
Signed-off-by: yudong.cai <yudong.cai@zilliz.com>
2021-10-20 15:46:47 +08:00
Cai Yudong
597523bf40
Reorder header files for FieldMeta.h (#10263)
Signed-off-by: yudong.cai <yudong.cai@zilliz.com>
2021-10-20 15:44:41 +08:00
Cai Yudong
48648c818b
Remove duplicated search results in segcore reduce (#10117)
Signed-off-by: yudong.cai <yudong.cai@zilliz.com>
2021-10-20 15:40:49 +08:00
Cai Yudong
ced29480cf
Format CGoHelper.h (#10261)
Signed-off-by: yudong.cai <yudong.cai@zilliz.com>
2021-10-20 14:56:35 +08:00
Cai Yudong
56f97aa07b
Move Log out of Milvus namespace (#10178)
Signed-off-by: yudong.cai <yudong.cai@zilliz.com>
2021-10-19 17:10:35 +08:00
yukun
e108476601
Support delete in SegmentGrowing (#10154)
Signed-off-by: fishpenguin <kun.yu@zilliz.com>
2021-10-19 11:54:34 +08:00
Cai Yudong
39bf58d8cb
Remove deprecated API get_offset_opt (#10150)
Signed-off-by: yudong.cai <yudong.cai@zilliz.com>
2021-10-19 11:46:34 +08:00
Cai Yudong
693220fe0a
Remove dummy structure EntityResult (#10149)
Signed-off-by: yudong.cai <yudong.cai@zilliz.com>
2021-10-19 11:28:34 +08:00
Cai Yudong
eda9d550a8
Code clean for test_timestamp_index (#10148)
Signed-off-by: yudong.cai <yudong.cai@zilliz.com>
2021-10-19 11:10:34 +08:00
Cai Yudong
d54f3426e8
Reorder header files for test_segcore (#10051)
Signed-off-by: yudong.cai <yudong.cai@zilliz.com>
2021-10-18 18:38:47 +08:00
Cai Yudong
027103b4f6
Reorder header files for test_span (#10053)
Signed-off-by: yudong.cai <yudong.cai@zilliz.com>
2021-10-18 18:10:57 +08:00
Cai Yudong
3e3f8b825a
Reorder header files for test_sealed (#10049)
Signed-off-by: yudong.cai <yudong.cai@zilliz.com>
2021-10-18 18:09:04 +08:00
Cai Yudong
ffd67de9cb
Reorder header files for test_reduce (#9934)
Signed-off-by: yudong.cai <yudong.cai@zilliz.com>
2021-10-15 17:00:43 +08:00
Cai Yudong
356b7e36ba
Reorder header files for test_query (#9932)
Signed-off-by: yudong.cai <yudong.cai@zilliz.com>
2021-10-15 16:56:51 +08:00
Cai Yudong
bb721f1cf4
Format internal/core/CMakeLists.txt (#9931)
Signed-off-by: yudong.cai <yudong.cai@zilliz.com>
2021-10-15 16:52:43 +08:00
XuanYang-cn
ea7abf49c3
Fix protobuf compilation error (#9881)
resolves:#9876

Signed-off-by: yangxuan <xuan.yang@zilliz.com>
2021-10-14 18:14:32 +08:00
Cai Yudong
5a8aca01fd
Reorder header files for test_plan_proto (#9871)
Signed-off-by: yudong.cai <yudong.cai@zilliz.com>
2021-10-14 16:52:33 +08:00
Cai Yudong
8dbc3db393
Remove dummy test_naive (#9850)
Signed-off-by: yudong.cai <yudong.cai@zilliz.com>
2021-10-14 12:52:33 +08:00
Cai Yudong
30661321f2
Remove dummy test_interface (#9848)
Signed-off-by: yudong.cai <yudong.cai@zilliz.com>
2021-10-14 12:50:37 +08:00
Cai Yudong
937e59f6c3
Remove dummy test_load (#9847)
Signed-off-by: yudong.cai <yudong.cai@zilliz.com>
2021-10-14 11:06:39 +08:00
ZhiShen
6a770e5c38
Make knowhere compile independently (#7606)
Make knowhere compile independently

1. Make knowhere compile independently
    * Add gtest, arrow, and some other libraries to index.
    * Add cache, log and some other files to knowhere.
    * Add CMakeLists files to index's thirdparty.

2. Modified the compilation content of knowhere
    * Delete some content of compile library.
    * Add IMPORTED_GLOBAL property to faiss.

3.  Change the compilation location of some libraries
    * Make OpenBLas compiled in thirdpartycore.cmake.
    * Make faiss compiled in thirdparty/CMakeLists.

Change the content of knowhere/CMakeLists

1. Change easyloggingpp and nlohmann into index/thirdparty.
2. Change MILVUS_THIRDPARTY_SRC into KNOWHERE_THIRDPARTY_SRC.

Delete FindOpenBLAS

1. Delete Openblas.cmake.

2. The search task for openBlas is assigned to ThirdpartyCore.

3. Some changes were made to build.sh in index.

Fix the openBLas compilation problem

Delete the if-else in compilation of faiss;

Now when complie faiss, it will find the Openblas as we wish.

Fix some problem:

1. delete arrow

2. set openblas_source to AUTO

3. change a include_dir

4. delete MKL

5. delete the CMakeLists in index/utils,cache,log

Change variable build_test to knowhere_build_test in index/build.sh

Change the include location of  GNUInstallDirs

set CMAKE_INSTALL_LIBDIR

Resolves: milvus-io#5183
See also: milvus-io#6604

Signed-off-by: Shen Zhi <m13120163046@163.com>
2021-10-13 17:06:33 +08:00
yukun
6c88774624
Add get final filtered bitmap in SegmentGrowing (#9780)
Signed-off-by: fishpenguin <kun.yu@zilliz.com>
2021-10-13 16:54:34 +08:00
Cai Yudong
92c7eb5a09
Code clean for test_interface (#9767)
Signed-off-by: yudong.cai <yudong.cai@zilliz.com>
2021-10-13 11:06:33 +08:00
Cai Yudong
ca5e3e8644
Code clean for test_indexing (#9765)
Signed-off-by: yudong.cai <yudong.cai@zilliz.com>
2021-10-13 11:00:39 +08:00
Cai Yudong
01db5dc6dd
Code clean for test_init (#9766)
Signed-off-by: yudong.cai <yudong.cai@zilliz.com>
2021-10-13 10:58:33 +08:00