Commit Graph

55 Commits (61b2c0ad16198c1fa3d57bb8a632e32272f3b7a8)

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
Cai Yudong ef0e3145eb
#1105 update error message when creating IVFSQ8H index without GPU resources (#1117) 2020-02-08 11:25:10 +08:00
Cai Yudong a909f95c6c #1078 Move 'insert_buffer_size' to Cache Config section (#1085)
Co-authored-by: Jin Hai <hai.jin@zilliz.com>
2020-01-18 10:08:46 +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
Cai Yudong 69d42a3d70 remove collector from config (#939)
* #931 remove collector from config

* #931 fix test_metrics build error
2020-01-07 16:14:38 +08:00
Cai Yudong 28da6c73d0 #908 move primary_path and secondary_path to storage config (#909) 2020-01-04 15:44:46 +08:00
shengjh ba36d18d10 Fix mysqlmetaimpl (#869)
* *fix mysqlMetaImpl Initialize failed create directory

* *style: format code

* *style: format code

* *style: format code

* *style: format code

* *fix: sqliteMetaImpl Initialize failed create directory

* add empty line to trigger CI
2020-01-02 17:32:41 +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
Zhiru Zhu e99896ac62 Add Opentracing (#729)
* add TracerUtil

* Interceptor ok

* add handler

* add context

* minor update

* keep span in trace context

* add span in search okay

* Update Context.cpp

* refactor

* refactor

* refactor

* format

* add context in SearchJob

* trace search okay

* add back finish span in interceptor

* add namespace

* add tracing config in server config

* add random id

* debug mode okay

* update CMakeLists

* add opentracing to cmake

* update unittest

* add tracing namespace

* remove std::run_time error

* add lock when erasing context_map

* update tracing config

* lint

* update CHANGELOG

* small fix

* fix server unit test

* fix scheduler unit test

* fix db unit test

* lint

* fix db unit test gpu version

* rename to tracing_config

* fix

* update

* trigger ci
2019-12-10 15:24:54 +08:00
Wang XiangYu 4847e5027f Remove unused codes (#732)
* remove unused function and comments

* remove always-true parameter

* run on python2 explicitly

* fix clang-format
2019-12-09 19:09:14 +08:00
groot 2b40ddbb27 fix unittest (#720)
* #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

* #696 metric_type changed from IP to L2

* #696 metric_type changed from IP to L2

* #696 metric_type changed from IP to L2

* #696 metric_type changed from IP to L2
2019-12-06 16:40:51 +08:00
groot b6f22c7370 Fix unittest failure (#714) 2019-12-05 20:08:15 +08:00
Yukikaze-CZR 8574b8b93f add code coverage rate and fix #670 (#693) 2019-12-04 19:37:13 +08:00
groot 3321a82c32 #670 Random failure of unittest db_test::SEARCH_TEST (#671) 2019-12-04 10:11:50 +08:00
Lizhou Gao 6c14297a29 use better names for timing MACROs milvus-io#556 2019-12-03 10:49:00 +08:00
groot 3df535e11e #649 Typo partiton should be partition 2019-12-02 15:39:16 +08:00
groot 0b3f7e15c0 Merge remote-tracking branch 'source/0.6.0' into ongoing 2019-11-30 16:26:02 +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
groot 85211d537f reconstruct code 2019-11-29 12:38:18 +08:00
groot 3a36d75404 Merge remote-tracking branch 'source/0.6.0' into ongoing 2019-11-29 10:47:46 +08:00
groot 50cd6dd8d2 add unittest case 2019-11-29 10:47:23 +08:00
groot 930097128b #596 Frequently insert operation cost too much disk space 2019-11-29 10:30:10 +08:00
Yukikaze-CZR 09d6165290 Increase code coverage rate #485 2019-11-28 19:37:36 +08:00
Jin Hai 095d07bf01
Merge pull request #562 from yhmo/migration
#354 Build migration scripts into milvus docker image
2019-11-27 15:53:43 +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 73f12432cc random failure of unittest 2019-11-27 11:01:29 +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
groot e96c97c8f7 #470 raw files should not be build index 2019-11-22 11:28:31 +08:00
fishpenguin 29006f3cb5 fix conflict 2019-11-20 19:00:56 +08:00
fishpenguin 8a42c8759e Query API in customization still uses old version 2019-11-20 18:44:11 +08:00
groot 50c4f98dc5 merge from 0.6.0 2019-11-20 12:25:17 +08:00
groot 15dcce417e #377 Create partition success if tag name only contains spaces 2019-11-20 12:24:18 +08:00
fishpenguin 7f5c2fefd8 Remove OnlyGpuPass and add MILVUS_GPU_VERSION define 2019-11-19 19:18:54 +08:00
Zhiru Zhu a7cb907e44 remove gpu in unittest 2019-11-15 20:15:34 +08:00
groot a57bfae626 merge 0.5.3 to 0.6.0 2019-11-14 16:16:11 +08:00
groot dbe90c7abc support table partition 2019-11-07 16:46:31 +08:00
yudong.cai 2deba2dcb9 #208 optimize unittest to support run single test more easily 2019-11-06 16:22:38 +08:00
groot 55bfdd3fb6 merge 0.5.2 into 0.6.0 2019-11-06 11:39:30 +08:00
youny626 2a1f2ab09d change default config to gpu 2019-11-05 21:48:23 +08:00
youny626 bede77751e clang format 2019-11-05 13:35:24 +08:00
groot bc802b04a0 fix build error 2019-11-05 12:02:58 +08:00
youny626 4ca6b59b91 add CPU version 2019-11-05 10:23:59 +08:00
yudong.cai 5150647eeb #168 fix reduce bug
Former-commit-id: 5c6f2e25cbf9efe4a58bf89757fc4983ebda4f35
2019-11-02 21:54:01 +08:00
yudong.cai f49d23badd #168 improve result reduce
Former-commit-id: 21887800b9afe47b759a09c1f9fbed97b467cab1
2019-11-02 21:54:01 +08:00
xiaojun.lin 39e127d707 Upgrade Faiss to v1.6
Former-commit-id: 637f6933c77c2644d4d90120d9d2aed77e4e70ff
2019-10-29 20:05:01 +08:00
starlord e7876f6343 avoid relative header path
Former-commit-id: d4a01b720ac7011e17076b7c36a20af0ebe2b58a
2019-10-23 15:05:22 +08:00
starlord bbc2c90741 format code
Former-commit-id: 1e15f2112b93a17958c2e663fafc79cf39dd3148
2019-10-21 19:30:54 +08:00