Commit Graph

5610 Commits

Author SHA1 Message Date
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
groot
e568941180 refine code
Former-commit-id: 4406ca272f134594421b89aa34b6f91a3d8a92a4
2019-04-18 10:48:56 +08:00
Xu Peng
c2cfc98b77 refactor(db): refactor options
Former-commit-id: 53812504248a4a81f2f65ee07e81ad2d5e31eb38
2019-04-18 10:48:56 +08:00
Xu Peng
53270e4b97 refactor(db): file name refactor
Former-commit-id: af418586311c0857e5c1e9fdd543806bb4ad7184
2019-04-18 10:48:56 +08:00
groot
8d4d0c07e3 support more protocol
Former-commit-id: c064f5c924b24857c114178f3ab310ae67d553c2
2019-04-18 10:48:56 +08:00
Xu Peng
212d393712 refactor(db): mv types.h to Types.h
Former-commit-id: 5a36823d84570784113420afa4fff7d0cd1ef1d2
2019-04-18 10:48:56 +08:00
groot
fe20a302ba refine log code
Former-commit-id: fefbec403f92cf851f3810d3bc78109fb89bb768
2019-04-18 10:48:56 +08:00
Xu Peng
bdd137e1b2 feat(db): merge file changes
Former-commit-id: 38e1bf124e5cd4bbf2a838494c7962e928f05a17
2019-04-18 10:48:56 +08:00
groot
e4666f04f0 response signal 2
Former-commit-id: 8d3a36a2d332d05d48f9ecae990b70c35aee0072
2019-04-18 10:48:56 +08:00
groot
8b689e8e2a client sucessfully connect to server
Former-commit-id: 1e9186c606ae9ca46f9b2f57ccaeeb50b4cc6c3a
2019-04-18 10:48:56 +08:00
Xu Peng
1b9aeb89b2 feat(db): add merge files
Former-commit-id: 715b6eeae4b1c45ef5e8536536ab9b0faf720e42
2019-04-18 10:48:56 +08:00
groot
a0dedf1794 remove thrift unused files
Former-commit-id: a2f2809386ec2c2a4f69d7f46f3467054b008613
2019-04-18 10:48:56 +08:00
groot
719c232528 modify test client
Former-commit-id: d9bd14f32c078b87bdb58e46efe6e45912a5baef
2019-04-18 10:48:56 +08:00
groot
e09d360c40 build debug thrift
Former-commit-id: 96f032cc946158b7fc3146e17281d0012cacc051
2019-04-18 10:48:56 +08:00
groot
836bfb5c07 build debug thrift
Former-commit-id: 252bae2826946ae61a1a2ada570844b413f3df02
2019-04-18 10:48:56 +08:00
Xu Peng
fbb817a412 feat(db): add some meta data logic and update db bg merge jobs
Former-commit-id: 36bc3fbacf36450b863d69bd83a8ba3b9daffedb
2019-04-18 10:48:56 +08:00
Xu Peng
076ad6f511 feat(db): add group_id related info for memvertor apis
Former-commit-id: 102f857ae32bedb2dd42ebf951197c59f9e1d772
2019-04-18 10:48:56 +08:00
groot
758337f73e refine code
Former-commit-id: f03943ce54db1fdc11c00fc625dabdcdd0bbf817
2019-04-18 10:48:56 +08:00
groot
2a850821b5 add test client
Former-commit-id: af73a98aad00251fa5432d39e092ee950fe2db2b
2019-04-18 10:48:56 +08:00
xj.lin
a25a7a24a7 add db setting file
Former-commit-id: 184bf9c48a5b659a85a11b09aa694165ee6b7b61
2019-04-18 10:37:06 +08:00
Xu Peng
a8a1d3abcd feat(db): impl has_group
Former-commit-id: 785fb73b07ef58017a6e1f04cd2f997f43f89b88
2019-04-18 10:02:12 +08:00
Xu Peng
92e30f4e7a feat(db): impl get_group
Former-commit-id: d40df7e09e60dfa682d28481a2fe320d57819baa
2019-04-18 09:54:50 +08:00
Xu Peng
e47b6cf9cc refactor(db): change get_group and add_group apis
Former-commit-id: c235588d9c2901e5065997dc1917cc30df9ae623
2019-04-17 20:46:40 +08:00
Xu Peng
608c5692b4 feat(env): add sqlite3 in dependency
Former-commit-id: d09d22ca49cbf18b5647558f6c52c39fc6242baf
2019-04-17 20:29:56 +08:00
Xu Peng
0c8b4b04e8 feat(db): init sql orm unique ptr
Former-commit-id: 41a4a96958a81482d2700a4bc3973d8d91d678c0
2019-04-17 20:28:16 +08:00
Xu Peng
2aa2720dbd feat(db): impl add_group in meta
Former-commit-id: 49bb87da9b121a67f439c46f4dc7651f7bafaa4e
2019-04-17 19:54:37 +08:00
Xu Peng
e624b1a1c5 feat(db): fake data for db meta
Former-commit-id: 17f7dfa12376ec11084e8d5e3897b851a22ab35f
2019-04-17 18:37:12 +08:00
Xu Peng
72869830d9 feat(db): changes to local meta
Former-commit-id: ad3fc4b0634dcba15ce68e45af6c336aa762b07b
2019-04-17 18:22:12 +08:00
Xu Peng
0b5d7e0437 fix(db): fix compile error
Former-commit-id: e260fd302903e714dd2eb8fcf2e589f3ecdcc029
2019-04-17 16:59:31 +08:00
Xu Peng
33ffb08a88 feat(db): add local meta
Former-commit-id: ccb9e8080ad0a1c610ff5b3afe0d9d3c4c4e5366
2019-04-17 16:53:44 +08:00
Xu Peng
f297367987 feat(db): file name mock
Former-commit-id: 0ccabc6d787c1f974df4958763075b35332ab7a6
2019-04-17 14:25:27 +08:00
Xu Peng
074523368e feat(db): impl build_index
Former-commit-id: cf2b9ca3555675d6304ea273bdfeac0e15bb7271
2019-04-17 13:44:37 +08:00
Xu Peng
92983fcfbf fix(wrapper): fix write index
Former-commit-id: 98af046872115568f3b4e7859bf6b6970b0655f6
2019-04-17 13:44:37 +08:00