54 Commits

Author SHA1 Message Date
Jin Hai
e1027e9e65
#1240 Update license declaration of each file (#1241)
* #1240 Update license declaration of each files

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

* #1240 Update CHANGELOG

Signed-off-by: jinhai <hai.jin@zilliz.com>
2020-02-17 23:40:58 +08:00
shengjh
4dee7dfac6
Improve codecov (#1095)
* Optimize config test. Dir src/config 99% lines covered

* add unittest coverage

* optimize cache&config unittest

* code format

* format

* format code

* fix merge conflict

* cover src/utils unittest

*  '#831 fix exe_path judge error'

* #831 fix exe_path judge error

* add some unittest coverage

* add some unittest coverage

* improve coverage of src/wrapper

* improve src/wrapper coverage

* *test optimize db/meta unittest

* fix bug

* *test optimize mysqlMetaImpl unittest

* *style: format code

* import server& scheduler unittest coverage

* handover next work

* *test: add some test_meta test case

* *format code

* *fix: fix typo

* feat(codecov): improve code coverage for src/db(#872)

* feat(codecov): improve code coverage for src/db/engine(#872)

* feat(codecov): improve code coverage(#872)

* fix config unittest bug

* feat(codecov): improve code coverage core/db/engine(#872)

* feat(codecov): improve code coverage core/knowhere

* feat(codecov): improve code coverage core/knowhere

* feat(codecov): improve code coverage

* feat(codecov): fix cpu test some error

* feat(codecov): improve code coverage

* feat(codecov): rename some fiu

* fix(db/meta): fix switch/case default action

* feat(codecov): improve code coverage(#872)
* fix error caused by merge code
* format code

* feat(codecov): improve code coverage & format code(#872)

* feat(codecov): fix test error(#872)

* feat(codecov): fix unittest test_mem(#872)

* feat(codecov): fix unittest(#872)

* feat(codecov): fix unittest for resource manager(#872)

* feat(codecov): code format (#872)

* feat(codecov): trigger ci(#872)

* fix(RequestScheduler): remove a wrong sleep statement

* test(test_rpc): fix rpc test

* Fix format issue

* Remove unused comments

* Fix unit test error

Co-authored-by: ABNER-1 <ABNER-1@users.noreply.github.com>
Co-authored-by: Jin Hai <hai.jin@zilliz.com>
2020-02-11 23:03:29 +08:00
Tinkerrr
829cb4bbec
Support hnsw (#1131)
* add hnsw

* add config

* format...

* format..
2020-02-08 11:00:00 +08:00
groot
0f1aa5f8bb Tanimoto distance (#1016)
* Add log to debug #678

* Rename nsg_mix to RNSG in C++ sdk #735

* [skip ci] change __function__

* clang-format

* #766 If partition tag is similar, wrong partition is searched

* #766 If partition tag is similar, wrong partition is searched

* reorder changelog id

* typo

* define interface

* Define interface (#832)

* If partition tag is similar, wrong partition is searched  (#825)

* #766 If partition tag is similar, wrong partition is searched

* #766 If partition tag is similar, wrong partition is searched

* reorder changelog id

* typo

* define interface Attach files by dragging & dropping, selecting or pasting them. 

Co-authored-by: groot <yihua.mo@zilliz.com>

* faiss & knowhere

* faiss & knowhere (#842)

* Add log to debug #678

* Rename nsg_mix to RNSG in C++ sdk #735

* [skip ci] change __function__

* clang-format

* If partition tag is similar, wrong partition is searched  (#825)

* #766 If partition tag is similar, wrong partition is searched

* #766 If partition tag is similar, wrong partition is searched

* reorder changelog id

* typo

* faiss & knowhere

Co-authored-by: groot <yihua.mo@zilliz.com>

* support binary input

* code lint

* add wrapper interface

* add knowhere unittest

* sdk support binary

* support using metric tanimoto and hamming

* sdk binary insert/query example

* fix bug

* fix bug

* update wrapper

* format

* Improve unittest and fix bugs

* delete printresult

* fix bug

* #823 Support binary vector tanimoto metric

* fix typo

* dimension limit to 32768

* fix

* dimension limit to 32768

* fix describe index bug

* fix #886

* fix #889

* add jaccard cases

* hamming dev-test case

* change test_connect

* Add tanimoto cases

* change the output type of hamming

* add abs

* merge master

* rearrange changelog id

* modify feature description

Co-authored-by: Yukikaze-CZR <48198922+Yukikaze-CZR@users.noreply.github.com>
Co-authored-by: Tinkerrr <linxiaojun.cn@outlook.com>
2020-01-14 19:22:27 +08:00
Heisenberg-Y
1e72267a65 add cpu mode for built-in Faiss (#841)
* add cpu mode for built-in Faiss

* delete customization options on build stage

* delete faiss version

* delete customization options on build stage

* fix unittest problem in cpu mode

* fix unittest problem in cpu mode

Co-authored-by: quicksilver <zhifeng.zhang@zilliz.com>
Co-authored-by: Jin Hai <hai.jin@zilliz.com>
2019-12-28 17:28:11 +08:00
groot
564095fd8d #674 server down in stability test (#708)
* #670 Random failure of unittest db_test::SEARCH_TEST

* add an important log

* add an important log

* add an important log

* #674 server down in stability test

* add more log

* remove log
2019-12-05 16:50:53 +08:00
Cai Yudong
5970450d48 #705 fix search SQ8H crash without GPU resource (#706) 2019-12-05 11:42:09 +08:00
groot
20e0710661 Add important log (#694)
* #670 Random failure of unittest db_test::SEARCH_TEST

* add an important log

* add an important log

* add an important log
2019-12-04 16:19:52 +08:00
yudong.cai
f330d9f902 #658 Milvus error out when building SQ8H index without GPU resources 2019-12-03 15:50:27 +08:00
groot
62b6db567d add more logs 2019-12-02 11:57:43 +08:00
groot
07ac2e32c0 merge 0.6.0 2019-12-02 10:30:22 +08:00
Jin Hai
91b165d3cc
Merge pull request #624 from cydrain/caiyd_fix_gpu_index
fix gpu index build hang when gpu resources disabled
2019-11-30 17:43:07 +08:00
groot
0b3f7e15c0 Merge remote-tracking branch 'source/0.6.0' into ongoing 2019-11-30 16:26:02 +08:00
Jin Hai
6f58f7550b
Merge pull request #608 from fishpenguin/0.6.0-yk-refactor-scheduler
NSG build failed using GPU-edition if set gpu_enable false
2019-11-30 16:16:04 +08:00
groot
2e3caca4da more log 2019-11-30 15:38:14 +08:00
yudong.cai
de440acaa0 #579 fix CPU version build error 2019-11-30 14:03:46 +08:00
yudong.cai
dcbe1a0c3f #579 when gpu resources disabled, use cpu index instead 2019-11-30 11:26:40 +08:00
fishpenguin
fdfb397918 fix test_nsg failed bug 2019-11-29 20:17:37 +08:00
groot
bc2dba26a2 refine code 2019-11-29 18:15:28 +08:00
groot
736c348cfc add log 2019-11-29 17:20:16 +08:00
groot
c220e0e157 refine code 2019-11-29 16:18:57 +08:00
yudong.cai
a023511f16 #611 remove MILVUS_CPU_VERSION 2019-11-29 16:02:08 +08:00
Yukikaze-CZR
09d6165290 Increase code coverage rate #485 2019-11-28 19:37:36 +08:00
Yukikaze-CZR
46da58e222 #504 The code coverage rate of core/src/scheduler/optimizer is too low 2019-11-27 14:29:05 +08:00
Yukikaze-CZR
47abe4ff47 #504 The code coverage rate of core/src/scheduler/optimizer is too low 2019-11-27 14:21:53 +08:00
groot
8b652a00e2 #530 BuildIndex stop when do build index and search simultaneously 2019-11-26 18:08:15 +08:00
groot
2b805489a1 #485 Increase code coverage rate 2019-11-23 11:34:45 +08:00
xiaojun.lin
863cc5dbaf Merge branch '0.6.0' into 0.6.0-#227 2019-11-20 16:23:39 +08:00
xiaojun.lin
bfd4c6c522 upgrade SPTAG and support KDT and BKT 2019-11-20 16:08:18 +08:00
yudong.cai
c89bb6699e #306 Use int64 for all config integer 2019-11-20 14:26:39 +08:00
fishpenguin
7f5c2fefd8 Remove OnlyGpuPass and add MILVUS_GPU_VERSION define 2019-11-19 19:18:54 +08:00
fishpenguin
caacf40ed2 fix for config change 2019-11-19 14:18:45 +08:00
fishpenguin
35f1796355 fix conflicts 2019-11-18 14:32:09 +08:00
fishpenguin
513ad3b842 Support build index with multiple gpu 2019-11-18 11:38:48 +08:00
zirui.chen
f4536ac888 #127 Support new Index type IVFPQ 2019-11-14 16:40:36 +08:00
zirui.chen
8c412093ca Support new Index type IVFPQ #127 2019-11-14 11:13:35 +08:00
youny626
4ca6b59b91 add CPU version 2019-11-05 10:23:59 +08:00
fishpenguin
bf35fe2df3 #169 - IVF_FLAT search out of memory
Former-commit-id: 0a231da138e4a3bbefb1ca0744bb121544834b65
2019-11-02 16:28:34 +08:00
xiaojun.lin
cb5eb3340a Merge branch '0.5.1' into fix_ivfsqh_crash
Former-commit-id: f78784bcbae30641ea0b40bcf9351a244b60b74c
2019-11-01 14:45:52 +08:00
xiaojun.lin
85b136b364 Fix bug #161
Former-commit-id: 5daf77b3344351a8030e53ff704b7e8bf1cce400
2019-11-01 14:40:52 +08:00
wxyu
892bd4daac Improve large query optimizer pass
Former-commit-id: 1f0c283ec4dc5560c14d4e17d76719d38dfc2280
2019-10-31 14:30:17 +08:00
xiaojun.lin
39e127d707 Upgrade Faiss to v1.6
Former-commit-id: 637f6933c77c2644d4d90120d9d2aed77e4e70ff
2019-10-29 20:05:01 +08:00
JinHai-CN
74736236e7 Merge branch '0.5.0' into 0.5.1
Former-commit-id: a04484fa5b0adfc77ea742c4d7c38a52e8209603
2019-10-21 14:31:52 +08:00
wxyu
ac20f4f9a6 update
Former-commit-id: 99939385bdc36200807099b56fc49d72578489f1
2019-10-19 19:33:06 +08:00
xiaojun.lin
f23e8e2143 clang-format...
Former-commit-id: 3bd5e246b34d8ca7800dbc6ce0e784dfa26ce18a
2019-10-19 17:51:59 +08:00
xiaojun.lin
6572e6bf25 MS-671 Fix HybridIndex Crash
MS-670 Adapt to faiss-1.6


Former-commit-id: 12300b390b6d300dc460f0729a368a240c972a80
2019-10-19 17:49:28 +08:00
wxyu
b8605caa40 add log
Former-commit-id: 12f5c2eb2903b8285c2d4ae3fb58e02fd10c3f83
2019-10-19 15:03:40 +08:00
yudong.cai
4d1fb143e1 MS-665 rename build_index_gpu to index_build_device, and move it to resource config
Former-commit-id: f3da7963531406da7a22fbf5ab95caa8e920344a
2019-10-18 16:32:28 +08:00
starlord
938de62fa1 #39 Create SQ8H index hang if using github server version
Former-commit-id: 056ccbf9cad2de039cc61a512932d3aaea25131d
2019-10-18 11:46:15 +08:00
Yu Kun
01de85b5c7 annotate some unused code to improve code coverage
Former-commit-id: 801df9b679a8a3622473ddefb81ce1baba524a04
2019-10-17 17:16:52 +08:00