Commit Graph

14874 Commits

Author SHA1 Message Date
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
groot
8d163abd42 Merge branch 'jinhai' of 192.168.1.105:jinhai/vecwise_engine into jinhai
Former-commit-id: ec359e3f7b884e87cd3d629ac7bf722a9b0b3ef5
2019-04-17 12:15:25 +08:00
groot
b8b84abea5 build faiss thrift optional
Former-commit-id: 26ae31415424b7c86f8c7f99d0e30cc73c32f3f6
2019-04-17 12:15:12 +08:00
Xu Peng
c0326906d9 feat(wrapper): add one more build_all api in IndexBuilder
Former-commit-id: d6d7187a419bafb81751b815e2ebd235058e43f9
2019-04-17 11:47:57 +08:00
Xu Peng
c87cdc8736 feat(db): mock build_index related
Former-commit-id: a4908e8eaf9b8ba57d873e0f9b1128980edbf3ff
2019-04-17 11:08:16 +08:00
Xu Peng
5c3319d5d2 refactor(db): using wrapper write_index
Former-commit-id: a7ce7f72f6c50385c32d14aa01530db8fbfcdc3b
2019-04-17 10:46:24 +08:00
Xu Peng
ada3903352 refactor(db): using index factory in MemManager
Former-commit-id: 808f882176b0f933c609475bbd3930b3402525a8
2019-04-17 10:46:24 +08:00
Xu Peng
45a74e1560 refactor(db): using index factory
Former-commit-id: 7026fb087240214666a43f1c486d2683a5a1ecb2
2019-04-17 10:46:24 +08:00
groot
32b5d7c4a4 client call api
Former-commit-id: 1abe8528051e0fb01dc2922f3ac71c739ae6df57
2019-04-17 10:45:39 +08:00
Xu Peng
a7cefc6a33 feat(db): add build index thread
Former-commit-id: f184776634884331e6920f53ac8186cc721176a1
2019-04-16 20:47:06 +08:00
groot
21e51ff638 refine code
Former-commit-id: aca348ba7691ed82df6f8fcae687b7015e6cf401
2019-04-16 18:45:52 +08:00
Xu Peng
062e370bee refactor(db): refactor options
Former-commit-id: 2631c7298346b6dcfbde0d43bc58f36e36eef807
2019-04-16 18:05:04 +08:00
Xu Peng
a5f318d33e refactor(db): file name refactor
Former-commit-id: 8b42724cd45f62b6e65a1704d5c0f37cb50dd9ef
2019-04-16 17:39:20 +08:00
groot
dd92d0043b Merge branch 'jinhai' of 192.168.1.105:jinhai/vecwise_engine into jinhai
Former-commit-id: d71fc0fa0898f04eb5b72c28241fec1b000b1de3
2019-04-16 17:20:18 +08:00
groot
7f14f8a155 support more protocol
Former-commit-id: b69bcf707d83ddcc90f27037b4391790011dcc7d
2019-04-16 17:20:09 +08:00
Xu Peng
03cd4a676f refactor(db): mv types.h to Types.h
Former-commit-id: 2e20d1e22d2ef198ec7d2992f027736614c0ca9b
2019-04-16 16:58:55 +08:00
groot
4ec7b45488 Merge branch 'jinhai' of 192.168.1.105:jinhai/vecwise_engine into jinhai
Former-commit-id: bb71b649430ce6ef4a794ae366e377ed246608c3
2019-04-16 16:50:41 +08:00
groot
5a8b70b779 refine log code
Former-commit-id: 96584eb602bacf90d6482cdef60608fa31f488f1
2019-04-16 16:50:34 +08:00
Xu Peng
dfdc514886 feat(db): merge file changes
Former-commit-id: 806100220b3af5d11d0a6d99ecc16fe55536b9fd
2019-04-16 16:47:22 +08:00
groot
18994f2aa9 response signal 2
Former-commit-id: 1506ef55ee42647da9a76512b277007828b945c9
2019-04-16 16:32:55 +08:00
groot
4c260cd8dd Merge branch 'jinhai' of 192.168.1.105:jinhai/vecwise_engine into jinhai
Former-commit-id: 10e67885c5ef64f1791f6e646c663e90f9f05efa
2019-04-16 16:25:20 +08:00
groot
5b791bf4b0 client sucessfully connect to server
Former-commit-id: f2bdb21901c8f11b434421c5c33148b177fbf082
2019-04-16 16:25:14 +08:00
Xu Peng
3917084e01 feat(db): add merge files
Former-commit-id: 9673339417ce0eb4f4d767420e4a87aa551b1edc
2019-04-16 16:19:12 +08:00
groot
162bd5af3d remove thrift unused files
Former-commit-id: bc758dfe799d27412478af975e5328cc632a1cd8
2019-04-16 16:17:36 +08:00
groot
7e38ce21b0 modify test client
Former-commit-id: 2be1d99889a53e0236d3050a77ad2adee0aa9fcd
2019-04-16 15:49:10 +08:00
groot
cb7519a061 build debug thrift
Former-commit-id: 92ae762918a3bc62a3e1ce5bcae1c7eb4e84208e
2019-04-16 15:41:05 +08:00
groot
e8707d6485 Merge branch 'jinhai' of 192.168.1.105:jinhai/vecwise_engine into jinhai
Former-commit-id: 0f2498cbd94b36dd35305d984d6a58feb65dfb4c
2019-04-16 15:40:35 +08:00
groot
98fe81f667 build debug thrift
Former-commit-id: 6016c4de9ba0c4349a4d485c3f86199aad6f0ce4
2019-04-16 15:40:29 +08:00
Xu Peng
846a05459e feat(db): add some meta data logic and update db bg merge jobs
Former-commit-id: 6f899d8efdf831b286e1af8a9e6490dde1acedc0
2019-04-16 14:49:29 +08:00
Xu Peng
83cff9fac0 feat(db): add group_id related info for memvertor apis
Former-commit-id: 561ecf8893c38246fa1fb3ed33603d3de67e1126
2019-04-16 14:49:29 +08:00
groot
9dd6b39536 refine code
Former-commit-id: 67d36b9a87addf76364175af90d4f05ab85bc7e5
2019-04-16 12:34:35 +08:00
groot
397d1cfcd2 add thrift service
Former-commit-id: a26d0befbb2d06095c003edc3d87e79ca4911b41
2019-04-16 12:10:27 +08:00
groot
4342b747f9 add test client
Former-commit-id: cebc4c2bfaec125003e0b6e60534e69514796fd7
2019-04-16 12:03:33 +08:00
xj.lin
d126d3a734 Merge branch 'jinhai' of 192.168.1.105:jinhai/vecwise_engine into jinhai
Former-commit-id: ac4af7e8cff2301a0c8da93d9b512cc44af7aadb
2019-04-16 11:18:16 +08:00
Xu Peng
ee5d02939e feat(db): add search api for db
Former-commit-id: 593c7ef1ea7a37022773cf49d82bd2b16763f173
2019-04-16 11:17:02 +08:00
Xu Peng
fa33addbf7 faker(db): mock some testing data
Former-commit-id: 17e28faece56f38b37c7d5ae00758b7ea5392464
2019-04-16 11:17:02 +08:00
Xu Peng
fd8365a098 fix(db): fix id generator runtime error
Former-commit-id: fc964ebe4af0d31527b9b6ec01558d84199efbff
2019-04-16 11:17:02 +08:00