Commit Graph

5203 Commits

Author SHA1 Message Date
zhenshan.cao
8a63d27612
Remove unused settings (#2095)
Signed-off-by: czs007 <czs@alumni.hust.edu.cn>
2020-04-25 15:31:44 +08:00
weishuo
c4290271ca
Remove unused defaultdict in shards/mishards/service_handler.py. (#2092)
Signed-off-by: weishuo <2411602273@qq.com>
2020-04-25 15:30:13 +08:00
chengpu
6d2c50ac21
Use std::copy to replace forloop assignment (#2087)
Signed-off-by: chengpu <chengpu@live.com>
2020-04-25 15:28:31 +08:00
Murpphy
87fc760416
Remove unsed datetime (#2094)
Signed-off-by: Murpphy <31717785+Murpphy@users.noreply.github.com>
2020-04-25 15:27:38 +08:00
binbin12580
2247d58cc4
Unused variable: ids (#2088)
Signed-off-by:  binbin12580 <1565196967@qq.com>
2020-04-25 15:26:16 +08:00
Cross
7deef8029f
Update GrpcRequestHandler.cpp (#2085)
Signed-off-by: Cross <xinyuanm9@gmail.com>
2020-04-25 14:53:49 +08:00
SwaggySong
d8b1b54bd6
Remove unused enum (#2089)
Signed-off-by: SwaggySong 36157116+SwaggySong@users.noreply.github.com
2020-04-25 14:50:47 +08:00
groot
82f4c289eb
New api HasPartition, SearchByID, GetVectorsByID (#2056)
* modify proto

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

* modify c sdk

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

* rewrite search by id

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

* change cases

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

* fix cases

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

* fix wal case

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

* fix search by id

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

* modify sdk

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

* refine code

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

* refine code

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

* changelog

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

* add search_by_ids case

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

* disable test_search)by_ids

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

Co-authored-by: zw <zw@zilliz.com>
Co-authored-by: del-zhenwu <56623710+del-zhenwu@users.noreply.github.com>
2020-04-25 14:49:32 +08:00
lwglgy
7e52815fb6
DBImpl.cpp::ExecWalRecord need to process error status in case wal::MXLogType::Entity (#2083)
Signed-off-by: lwglgy <1486111482@qq.com>
2020-04-25 13:24:24 +08:00
yukun
67d8a9b54c
Add http interface for hybrid search (#2079)
* Add http interface for hybrid search

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

* Add unittest for http hybrid interface

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

* clang format

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

* Fix codacy quality

Signed-off-by: fishpenguin <kun.yu@zilliz.com>
2020-04-25 13:19:17 +08:00
Jin Hai
6d87dc3c72
Merge pull request #2084 from lee-eve/master
Unused variable: offsets
2020-04-25 13:18:19 +08:00
water32
420d70dcc5
unused variable, just remove it. (#2082)
Signed-off-by:  water32 <miaochen@mail.ustc.edu.cn>

unused variable, just remove it.
2020-04-25 11:58:23 +08:00
lieve
6fea6a17de Unused variable: offsets
Signed-off-by: lieve <645417202@qq.com>
Signed-off-by: lizhengxie <zhengxie.li@zuolin.com>
2020-04-25 11:48:27 +08:00
PJZero
fedbb697e3
Update GrpcRequestHandler.cpp (#2069)
Signed-off-by: pengjian05 <pengjian05@baidu.com>

Co-authored-by: pengjian05 <pengjian05@baidu.com>
2020-04-25 11:19:30 +08:00
Jin Hai
54c9386bdc
#2076 CheckMetricConfigAddress error message (#2077)
Signed-off-by: jinhai <hai.jin@zilliz.com>
2020-04-25 10:04:04 +08:00
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
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
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