Commit Graph

5291 Commits

Author SHA1 Message Date
Jin Hai
723b10600b
#2073 Fix CheckDBConfigBackendUrl error message (#2074)
Signed-off-by: jinhai <hai.jin@zilliz.com>
2020-04-25 09:31:25 +08:00
Wang XiangYu
c0d5a47eba
rename optimizer to selector (#2067)
* rename

Signed-off-by: wxyu <xy.wang@zilliz.com>

* fix clang-format

Signed-off-by: wxyu <xy.wang@zilliz.com>
2020-04-24 11:42:17 +00:00
格雷大大
bf4cea1d1f
add log 4 annoy if index has been built when BuildAll interface invoked (#2071)
* add log 4 annoy if index has been built when BuildAll interface invoked

Signed-off-by: grace <yan.gu@zilliz.com>

* fix lint error

Signed-off-by: grace <yan.gu@zilliz.com>
2020-04-24 19:38:21 +08:00
Wang XiangYu
67819be29b
warn when use sqlite as metadata management (#2065)
Signed-off-by: wxyu <xy.wang@zilliz.com>
2020-04-24 15:23:46 +08:00
Allen Zhang
44a384cfe7
Merge pull request #1 from Actknight/master
move http parser to http utils
2020-04-24 11:51:26 +08:00
Yhz
87778052f4 move http parser to http utils
Signed-off-by: Yhz <yinghao.zou@zilliz.com>
2020-04-23 23:16:04 +08:00
Jin Hai
2c2021c938
Merge pull request #2047 from AllenYu1987/AllenYu1987-patch-1
Use std::copy to replace forloop assignment
2020-04-23 15:13:36 +08:00
JinHai-CN
a41949f075 Merge remote-tracking branch 'main/master' into AllenYu1987-patch-1 2020-04-23 14:08:28 +08:00
del-zhenwu
db42b0bd94
fix case bug (#2049)
Signed-off-by: zw <zw@zilliz.com>
2020-04-23 06:06:42 +00:00
Jin Hai
9a3ae916a2
Merge pull request #2044 from Tlincy/Tlincy-patch-1
Update LogUtils.cpp: use switch ... case to replace if ... else
2020-04-23 14:03:54 +08:00
Jin Hai
3267ed406f
Merge pull request #2032 from ggaaooppeenngg/code-clean
Delete CommandDto class and remove file CmdDto.hpp
2020-04-23 14:01:48 +08:00
Allen Zhang
f741be0a79 Move http query parser
Signed-off-by: Allen Zhang <allen.zhangyilun@gmail.com>
2020-04-23 12:14:11 +08:00
loguo
fc969f73ba
Update DBImpl.cpp: rename flush_tables to flushed_collections (#2043)
Signed-off-by: loguo <xiangzhouguo@gmail.com>
2020-04-23 11:27:29 +08:00
Aredcap
b55f249938
Assert cmd reply (#2030)
* Assert cmd reply

Signed-off-by: Aredcap <zhangleilei19@mails.ucas.ac.cn>

* fix unittest error

Signed-off-by: Aredcap <zhangleilei19@mails.ucas.ac.cn>
2020-04-23 11:22:58 +08:00
JinHai-CN
58d0fa56de Fix error
Signed-off-by: JinHai-CN <hai.jin@zilliz.com>
2020-04-23 11:20:30 +08:00
Cupchen
889681f63a
Remove whole class ConnectionMgr (#2048)
* Update __init__.py: Remove unused ConnectionMgr

Signed-off-by: Cupchen <class_cyl@163.com>

* Remove unused ConnectionMgr

Signed-off-by: Cupchen <class_cyl@163.com>

* Remove unused ConnectionMgr

Signed-off-by: Cupchen <class_cyl@163.com>

* Remove whole class ConnectionMgr 

Signed-off-by: Cupchen <class_cyl@163.com>
2020-04-23 11:11:21 +08:00
moe-of-faith
b23beebbfd
Change LogOut("[%s][%d]" ..... ) to LogOut("[%s][%ld]" ......) (#2041)
Signed-off-by: moe-of-faith <aeon.sym@gmail.com>
2020-04-23 11:03:10 +08:00
Gxz
ce44da04e1
unused var: s (#2042)
Signed-off-by: guoxiangzhou <8188755@qq.com>
2020-04-23 11:02:39 +08:00
JinHai-CN
7d63d15718 Fix lint
Signed-off-by: JinHai-CN <hai.jin@zilliz.com>
2020-04-23 10:53:33 +08:00
JinHai-CN
23ad133c14 Fix lint
Signed-off-by: JinHai-CN <hai.jin@zilliz.com>
2020-04-23 10:45:34 +08:00
AllenYu1987
f4629b242e
Update GrpcRequestHandler.cpp: Use std::copy to replace forloop assignment
Signed-off-by: AllenYu1987 <myextremelove@hotmail.com>
2020-04-23 10:42:54 +08:00
Cupchen
26478a1bbb
Update __init__.py: Remove unused ConnectionMgr (#2045)
Signed-off-by: Cupchen <class_cyl@163.com>
2020-04-23 10:30:57 +08:00
phantom
ea5c9f0178
Update core/src/scheduler/JobMgr.cpp: format include (#2046)
Signed-off-by: qingyigudu <sore_loner@sohu.com>
2020-04-23 10:25:46 +08:00
Tlincy
92508bcc0a
Update LogUtils.cpp: use switch ... case to replace if ... else
Signed-off-by: Tlincy <540549770@qq.com>
2020-04-23 09:35:51 +08:00
Yoya
44e8e02065
remove unused function "preprocessor" (#2034)
Signed-off-by: Yoya <taydycn@gmail.com>
2020-04-22 20:16:55 +08:00
ryjiang
a3e4d29af6
Remove unused function (#2029)
* [skip ci] Remove unused function

Signed-off-by:  shanghaikid <jiangruiyi@gmail.com>
Signed-off-by: ruiyi.jiang <ruiyi.jiang@zilliz.com>

* remove unused function in utils.cpp

Signed-off-by: ruiyi.jiang <ruiyi.jiang@zilliz.com>
2020-04-22 20:15:09 +08:00
Fierralin
72cae5221c
Move NULL to nullptr (#2027)
* Move NULL to nullptr

Signed-off-by: Fierralin <fierralin@hotmail.com>

* Try fix

Signed-off-by: Fierralin <fierralin@hotmail.com>
2020-04-22 18:39:04 +08:00
Ben
9bfd48cdf5
move the definiation to cpp file (#2033)
Signed-off-by: Ben <sckim2008@gmail.com>
2020-04-22 15:16:37 +08:00
yukun
ff9697b184
Change input format for attributes (#1990)
* Change input of attributes

Signed-off-by: fishpenguin <kun.yu@zilliz.com>

* Fix unittest for new attrs format

Signed-off-by: fishpenguin <kun.yu@zilliz.com>

* Fix float type for new format

Signed-off-by: fishpenguin <kun.yu@zilliz.com>

* Use new HEntity

Signed-off-by: fishpenguin <kun.yu@zilliz.com>

* Add sdk_hybrid

Signed-off-by: fishpenguin <kun.yu@zilliz.com>

* Add metric_type assign in CreateHybridCollection

Signed-off-by: fishpenguin <kun.yu@zilliz.com>

* Fix for clang-format

Signed-off-by: fishpenguin <kun.yu@zilliz.com>

* Read engine_type from extra_params

Signed-off-by: fishpenguin <kun.yu@zilliz.com>

* Remove todo annotation

Signed-off-by: fishpenguin <kun.yu@zilliz.com>

* Remove some comments

Signed-off-by: fishpenguin <kun.yu@zilliz.com>

* Add DescribeHybridCollection request

Signed-off-by: fishpenguin <kun.yu@zilliz.com>

* Remove unused code

Signed-off-by: fishpenguin <kun.yu@zilliz.com>
2020-04-22 06:12:46 +00:00
HesterG
ba191b263a
rename table_schema_array (#2024)
Signed-off-by: HesterG <hestergong@gmail.com>
2020-04-22 12:01:01 +08:00
Jin Hai
aca299166c
Merge pull request #2026 from mileyzjq/code_polish
Fix unused code and clarify params
2020-04-22 11:59:29 +08:00
Peng Gao
f7351e7482 Delete CommandDto class and remove file CmdDto.hpp
Signed-off-by: Peng Gao <peng.gao.dut@gmail.com>
2020-04-22 11:46:54 +08:00
sahuang
9e78cde3f2 Fix
Signed-off-by: sahuang <xiaohai.xu@zilliz.com>
2020-04-22 10:47:12 +08:00
Lin-gh-Saint
04db47fa66
fix warning: no return statement (#2025)
Signed-off-by: Lin-gh-Saint <linguanhaohyq@gmail.com>
2020-04-22 10:03:11 +08:00
HesterG
68f7a0fa77
rename table_schema to collection_schema (#2023)
Signed-off-by: HesterG <hestergong@gmail.com>
2020-04-22 10:02:19 +08:00
Accagain
c7eb9b0fa2
add safty check 4 annoy load index (#2022)
Signed-off-by: cms <chenmaosen0@gmail.com>
2020-04-22 10:00:46 +08:00
nezha2017
00e76219f6
use #include "segment/SegmentWriter.h" instead (#2020)
Signed-off-by: yefu.chen <yefu.chen@zilliz.com>
2020-04-22 09:46:33 +08:00
mileyzjq
72d80aca74 fix unused code and clarify params
Signed-off-by: mileyzjq <mileyzha@gmail.com>
2020-04-21 22:08:50 +08:00
shiyu09
0320259976
rename table_info into collection_info (#2016)
Signed-off-by: shiyu09 <39143280+shiyu09@users.noreply.github.com>
2020-04-21 20:30:16 +08:00
adream307
a3d99de5de
Context-head-file (#2021)
* Context-head-file

Signed-off-by: adream307 <adream307@163.com>

* clang-format

Signed-off-by: adream307 <adream307@163.com>

Co-authored-by: adream307 <adream307@163.com>
2020-04-21 19:04:06 +08:00
del-zhenwu
7b6ff08466
Update timeout strategy in CI (#2000)
Signed-off-by: zw <zw@zilliz.com>
2020-04-21 18:46:21 +08:00
break2017
65a6d8cce7
[skip-ci] remove redundant code in test cases (#2019)
Signed-off-by: break2017 <zhenxiang0708@163.com>
2020-04-21 16:40:02 +08:00
nameczz
5bcd3034c6
remove unused function "normalize_vector" (#2015)
Signed-off-by: nameczz <nameczz@126.com>
2020-04-21 15:53:17 +08:00
bo huang
574ff66c01
add safty check 4 annoy load index (#2009)
Signed-off-by: bo-huang <1013767522@qq.com>
2020-04-21 14:23:42 +08:00
Cai Yudong
f039032c8c
Caiyd 1965 unify metric cal (#2008)
* #1965 add metric algorithm benchmark for FAISS

Signed-off-by: yudong.cai <yudong.cai@zilliz.com>

* #1965 add metric algorithm benchmark for NSG

Signed-off-by: yudong.cai <yudong.cai@zilliz.com>

* #1965 add metric algorithm benchmark for ANNOY

Signed-off-by: yudong.cai <yudong.cai@zilliz.com>

* #1965 add metric algorithm benchmark for HNSW

Signed-off-by: yudong.cai <yudong.cai@zilliz.com>

* code opt

Signed-off-by: yudong.cai <yudong.cai@zilliz.com>

* calculate average time

Signed-off-by: yudong.cai <yudong.cai@zilliz.com>

* #1965 annoy/nsg/hnsw all use faiss distance algorithm

Signed-off-by: yudong.cai <yudong.cai@zilliz.com>

* #1965 support AVX512/AVX2/SSE42

Signed-off-by: yudong.cai <yudong.cai@zilliz.com>

* #1965 update changelog

Signed-off-by: yudong.cai <yudong.cai@zilliz.com>

* #1965 fix hnsw ip calculation error

Signed-off-by: yudong.cai <yudong.cai@zilliz.com>
2020-04-21 14:22:33 +08:00
groot
a5eec9d7b4
create index notify (#2003)
* create index notify

Signed-off-by: yhmo <yihua.mo@zilliz.com>

* typo

Signed-off-by: yhmo <yihua.mo@zilliz.com>

* typo

Signed-off-by: groot <yihua.mo@zilliz.com>
2020-04-21 14:22:18 +08:00
xudalin0609
9e30c468ff
remove unused var (#2006)
Signed-off-by: xudl <isxudl@163.com>

Co-authored-by: xudl <isxudl@163.com>
2020-04-21 12:13:23 +08:00
Jin Hai
7350337884
Update readme cn (#2011)
* Update README.md

Signed-off-by: Jin Hai <haijin.chn@gmail.com>

* [skip ci] Update README_CN.md

Signed-off-by: Jin Hai <haijin.chn@gmail.com>
2020-04-21 11:42:27 +08:00
Jin Hai
23526f0d72
[skip ci] Update README.md (#2010)
Signed-off-by: Jin Hai <haijin.chn@gmail.com>
2020-04-21 11:39:58 +08:00
Morry Niu
75ca0d96b6
keep bitset naming consistent (#2004)
Signed-off-by: Xinyao Niu <morryniu123@gmail.com>
2020-04-21 09:40:49 +08:00