Commit Graph

5330 Commits

Author SHA1 Message Date
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
del-zhenwu
55cc6be6c9
Set case level (#1968)
* add mishards test stage

Signed-off-by: zw <zw@zilliz.com>

* add clean up

Signed-off-by: zw <zw@zilliz.com>

* Set case level

Signed-off-by: zw <zw@zilliz.com>

* update test timeout

Signed-off-by: zw <zw@zilliz.com>

* remove some test cases

Signed-off-by: zw <zw@zilliz.com>

* udpate

Signed-off-by: zw <zw@zilliz.com>

* remove connect

Signed-off-by: zw <zw@zilliz.com>

* update case

Signed-off-by: zw <zw@zilliz.com>
2020-04-21 01:33:05 +00:00
JUN
a2e7a91964
Modify data type in CommonUtil.cpp (#1996)
Signed-off-by: JUN <gujun720@foxmail.com>
2020-04-20 20:42:16 +08:00
Jin Hai
315dac3338
Automerge1 (#1984)
* [skip ci] remove auto-merge git-action

Signed-off-by: jinhai <hai.jin@zilliz.com>

* [skip ci] update CHANGELOG.md

Signed-off-by: jinhai <hai.jin@zilliz.com>

* Stop strip the binary

Signed-off-by: jinhai <hai.jin@zilliz.com>

* Improve code

Signed-off-by: jinhai <hai.jin@zilliz.com>

* Fix compiling error

Signed-off-by: JinHai-CN <hai.jin@zilliz.com>

* Fix warning

Signed-off-by: JinHai-CN <hai.jin@zilliz.com>
2020-04-20 20:39:22 +08:00
Yaning Zhong
814b8f0c53
move const char* to .cpp file (#1994)
Signed-off-by: ynzhong <zhongyn522@gmail.com>

Co-authored-by: ynzhong <zhongyn522@gmail.com>
2020-04-20 15:41:38 +08:00
Tracy199
c50de3de9a
use TimeRecorder instead of chrono (#1989)
Signed-off-by: Tracy199 <houkx@vip.sina.com>
2020-04-20 01:29:11 +00:00
HuangHua
008f24a7c2
replace metaOptions with meta_options (#1979)
* replace metaOptions with meta_options

Signed-off-by: huanghua <bruce.huang@hotmail.com>

* typo

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

Co-authored-by: groot <yihua.mo@zilliz.com>
2020-04-19 08:00:50 +00:00
smiling849
50ddc49332
fix hnsw code format (#1987)
Signed-off-by: Zhonglei Song <szl_84@sina.com>
2020-04-19 12:00:45 +08:00
bigbraver
e8f759c22b
code optimize (#1986)
Signed-off-by: bigbraver <bigbraver@qq.com>
2020-04-19 03:54:23 +00:00
Hanyang Ke
25b6efc8e8
fix warning (#1988)
Signed-off-by: kehycs <kehycs@foxmail.com>
2020-04-19 11:12:01 +08:00
anchun
29acf6a594
update some variables in validation utils. (#1978)
Signed-off-by: anchun <nkterry@163.com>
2020-04-18 21:59:26 +08:00
Jin Hai
ecafa5ab3f
[skip ci] update mergify (#1983)
Signed-off-by: jinhai <hai.jin@zilliz.com>
2020-04-18 20:38:49 +08:00