Commit Graph

18542 Commits

Author SHA1 Message Date
xj.lin
fad9f773fd Merge branch 'jinhai' of 192.168.1.105:jinhai/vecwise_engine into jinhai
Former-commit-id: 0fbd96bd0c21068d989b897fae395c403b732e4a
2019-04-19 21:40:02 +08:00
Xu Peng
cb82771ef4 feat(db): change open db api
Former-commit-id: f9c5b0714096075d7a869b248a8b44201b41d0e0
2019-04-19 21:39:59 +08:00
xj.lin
457688d787 add search support
Former-commit-id: 4aae0710844eff71fb83f3d73f3fa7463b00e99b
2019-04-19 21:39:39 +08:00
Xu Peng
6d6f7e6ff2 feat(db): change open db api
Former-commit-id: 145b55b170bc9050daa6191752096e1418533aea
2019-04-19 17:11:33 +08:00
xj.lin
d7c7720ef6 update cmakefile
Former-commit-id: 2827b60ab09f52a244a6da690c42340884a48f39
2019-04-19 16:43:30 +08:00
xj.lin
b8557278d6 Merge branch 'jinhai' of 192.168.1.105:jinhai/vecwise_engine into jinhai
Former-commit-id: ffc6296b2fa45fcad0a544389b79eb2a16589596
2019-04-19 16:08:17 +08:00
Xu Peng
8e1e03b2ba feat(db): cleanup pre db destruction
Former-commit-id: 98270b53f6bafcde31d44039bb224d547ce71b07
2019-04-19 16:08:12 +08:00
Xu Peng
2de4f04771 fix(db): no default sqlite dumped
Former-commit-id: d5b6964706cbb0870e5cc9c8fab048a849dd3fa1
2019-04-19 16:08:12 +08:00
Xu Peng
fe93299d9a fix(db): set new file rows to 0
Former-commit-id: a8690d08c1563f0c7ddd91d5709912a5aab49899
2019-04-19 16:08:12 +08:00
Xu Peng
a9ed75fc46 feat(db): remove mutex for meta operation
Former-commit-id: f5f168c15284d7fd9d9353cf78b2d421ae310187
2019-04-19 16:08:12 +08:00
xj.lin
cc641236d2 add TopK
Former-commit-id: 847a46e3b7ab8bead610ec9888fce5a4279a6920
2019-04-19 16:07:45 +08:00
Xu Peng
efeecf54e0 feat(db): cleanup pre db destruction
Former-commit-id: 3eb7940392378a61e031d0b840d7b5e797e10f6e
2019-04-19 15:57:12 +08:00
Xu Peng
2a886ca191 fix(db): no default sqlite dumped
Former-commit-id: 763198a34f09cfecc6d768b0b6eb28a29e1bf288
2019-04-19 10:17:17 +08:00
Xu Peng
7c6a033a6a fix(db): set new file rows to 0
Former-commit-id: ca814fc5f6c81679e25ec4cd195b430a89b52383
2019-04-19 10:16:52 +08:00
Xu Peng
ef59efc76a feat(db): remove mutex for meta operation
Former-commit-id: 349c7856679f76eedd9c29f0208bd27beae93b33
2019-04-19 10:00:06 +08:00
Xu Peng
a6e92dc9ab feat(db): update for merege and index
Former-commit-id: b06f36ce5a8ebca0f1f4554437b19233f8f6f723
2019-04-18 21:00:40 +08:00
Xu Peng
08a1527b66 feat(db): fix missing location
Former-commit-id: 1a4a5c09c9b48e4d70a660050a289f9c7af59750
2019-04-18 21:00:40 +08:00
Xu Peng
2780b1a6d6 feat(db): fix meta lock issue
Former-commit-id: 9c276ca661d234e3e1268836fc6efddef408be3e
2019-04-18 21:00:40 +08:00
Xu Peng
58c0a6f838 feat(db): fix insert group bug
Former-commit-id: ff93f2cd24c2d952c95f55dd141f693ad995ec51
2019-04-18 21:00:40 +08:00
Xu Peng
a1ebba77e6 feat(db): fix insert bug
Former-commit-id: be162dd2b77e8ea1b47253f5f404a8874b46bddd
2019-04-18 21:00:40 +08:00
Xu Peng
98270ac004 feat(db): create group and partition folders
Former-commit-id: 8ac0992576c47435723d70d131d83571f30345b7
2019-04-18 21:00:40 +08:00
Xu Peng
75c35f5184 feat(db): serialize file bug fix
Former-commit-id: 0596a907902f32e7cb172d471eea66714912fe5f
2019-04-18 21:00:40 +08:00
Xu Peng
8d5ef3fb27 feat(db): add where condition in files_to_merege
Former-commit-id: df201faf70298a074ac794fb4e4964b6b2426a69
2019-04-18 21:00:40 +08:00
Xu Peng
44f5d3e7eb feat(db): meta operation
Former-commit-id: 6f7cd4ec069195d659585b321fc5f6e6f20bb719
2019-04-18 21:00:40 +08:00
groot
6e1e282865 refine code
Former-commit-id: d5ee6d0520568a27f7e75754ec05c98a05b7f246
2019-04-18 17:26:03 +08:00
groot
6fbb37a759 avoid build failure
Former-commit-id: 7790321f9a935ea784a8ffdb845f5c2391bc6da2
2019-04-18 15:37:31 +08:00
xj.lin
465bd19948 fix bug
Former-commit-id: 1c21d81875ec000c6f26ef8f2c367df8992fde59
2019-04-18 11:21:49 +08:00
xj.lin
a7657e1e3d update dbschema
Former-commit-id: dbccc662f41d36199fd59000a02de7693acda4e8
2019-04-18 10:57:38 +08:00
xj.lin
eef523f8ba Merge branch 'jinhai' of 192.168.1.105:jinhai/vecwise_engine into jinhai
Former-commit-id: 0256614a23ffa2504065fa978cbe869e5f99aba7
2019-04-18 10:50:44 +08:00
Xu Peng
9171a64170 feat(db): impl has_group
Former-commit-id: 8b58eef49cc7b1f328f8d2bd3bd42077cd6bf427
2019-04-18 10:50:24 +08:00
Xu Peng
1b4ccfdba4 feat(db): impl get_group
Former-commit-id: 5519dfb718d786120322faacd32ef364bcf8b82a
2019-04-18 10:50:24 +08:00
Xu Peng
0e6881d94c refactor(db): change get_group and add_group apis
Former-commit-id: 1b542b4b99af0ba88c7093584d9fc11fc3919560
2019-04-18 10:50:24 +08:00
Xu Peng
0935924798 feat(env): add sqlite3 in dependency
Former-commit-id: 192593de9056e0dfba3110221b3d4f6e869a8354
2019-04-18 10:50:24 +08:00
Xu Peng
d4c835f975 feat(db): init sql orm unique ptr
Former-commit-id: bb0251bcd0349c1c9656dc6be908d3700c16f4bb
2019-04-18 10:50:24 +08:00
Xu Peng
fd2aee96b5 feat(db): impl add_group in meta
Former-commit-id: 3459cff7d6ccaa7e4b47fec7bcb1b5bbd44e1737
2019-04-18 10:50:24 +08:00
Xu Peng
eb8907667b feat(db): fake data for db meta
Former-commit-id: b6fb08599a93f48cc123998da9fa2c0f771a0d93
2019-04-18 10:50:24 +08:00
Xu Peng
adc087c57e feat(db): changes to local meta
Former-commit-id: 95ddf67ccd65c7a00a4f23599947ba9693fea78a
2019-04-18 10:50:24 +08:00
Xu Peng
cc5290693d fix(db): fix compile error
Former-commit-id: b0734cdc673bbc74ef8b670e2d6f56edc5364eec
2019-04-18 10:50:24 +08:00
Xu Peng
2bc205b791 feat(db): add local meta
Former-commit-id: 30814a42efc7ad53847fc00d93903e1201c125d2
2019-04-18 10:50:24 +08:00
Xu Peng
f5348ed57c feat(db): file name mock
Former-commit-id: e99baa04809535f5f3c10d5b0c007c9c06ab159c
2019-04-18 10:50:24 +08:00
Xu Peng
de8e9176ce feat(db): impl build_index
Former-commit-id: 983d243660ad2a71f8a62c7ed81d4b6f521c03d0
2019-04-18 10:50:24 +08:00
Xu Peng
4b5044daf0 fix(wrapper): fix write index
Former-commit-id: 3e96e1039dc77d768695e1a1f5bcdb72bc4866d3
2019-04-18 10:50:24 +08:00
groot
c224e5bcac build faiss thrift optional
Former-commit-id: e0f2c5408bbd830220a1d43432695442aa6d53c7
2019-04-18 10:50:24 +08:00
Xu Peng
86342b9578 feat(wrapper): add one more build_all api in IndexBuilder
Former-commit-id: b24296b10003d45616d3a38c86ab4657f691713a
2019-04-18 10:50:24 +08:00
Xu Peng
2269c0d980 feat(db): mock build_index related
Former-commit-id: eea24e1c5846af870694a10e865140efb0566a42
2019-04-18 10:50:24 +08:00
Xu Peng
817d032a02 refactor(db): using wrapper write_index
Former-commit-id: d72e2bb4ee8122da76a23661df802adc3447d3f7
2019-04-18 10:50:24 +08:00
Xu Peng
e60b4f0bd1 refactor(db): using index factory in MemManager
Former-commit-id: 31cc3fe760f94eb9c5e673f44b0a0d1de8c98c40
2019-04-18 10:50:24 +08:00
Xu Peng
6ea0bbadaf refactor(db): using index factory
Former-commit-id: aa34392ec71eb4181a37625f07c2995a57e8cc57
2019-04-18 10:50:24 +08:00
groot
3224c4eb70 client call api
Former-commit-id: f2d5ccecb8359642ba8d63ef538b90fba209b2b5
2019-04-18 10:50:24 +08:00
Xu Peng
8b5aa978ec feat(db): add build index thread
Former-commit-id: f3df7ccdd381ec67aaca4a66401644249bdb0b3d
2019-04-18 10:48:56 +08:00