Commit Graph

14361 Commits

Author SHA1 Message Date
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
Xu Peng
803686b8c6 fix(db): fix mem runtime error
Former-commit-id: c12e6e99c8c7de1b62c2d2e7f9fecf3775715326
2019-04-16 11:17:02 +08:00
Xu Peng
8eebbf65b4 fix(db): fix runtime error due to missing return value
Former-commit-id: 592d640810b741d8fbdaf04a248f1938f485b1d7
2019-04-16 11:17:02 +08:00
Xu Peng
ff120dba16 fix(db): fix compile error
Former-commit-id: dbf6519efd3a0bac6f8ef2c617fcc08b879543f4
2019-04-16 11:17:02 +08:00
Xu Peng
424b938c82 fix(db): fix db compile errors
Former-commit-id: 8c013a54ad53efcce47f4f9480164052ecfa9249
2019-04-16 11:17:02 +08:00
Xu Peng
d4dae8127b fix(db): fix meta compile error
Former-commit-id: dde5e3262cc177db2fad98d82ee129718936fa01
2019-04-16 11:17:02 +08:00
Xu Peng
e6b0c5a099 fix(db): fix env compile error
Former-commit-id: 683cb59254dfec9cd6a2d93270cde064a4222779
2019-04-16 11:17:02 +08:00
Xu Peng
28e42d0ee5 fix(db): fix id generator errors
Former-commit-id: 1068933b6c74775bfc1ee8641c41d095babaea0c
2019-04-16 11:17:02 +08:00
Xu Peng
3863f2d3b3 fix(db): fix status compile error
Former-commit-id: 1d896ef1c7970c9c418683560e760762d828be84
2019-04-16 11:17:02 +08:00
Xu Peng
1bc01da85f feat(cpp/db): add timer thread
Former-commit-id: e94c2675e8e4294620c94669fa1d3208af7fcc40
2019-04-16 11:17:02 +08:00
Xu Peng
3e8213ff47 feat(cpp/db): update for memory and meta operations
Former-commit-id: 34cc6ca2c596870ad8152ab0da4d187fb518093a
2019-04-16 11:17:02 +08:00
Xu Peng
c6f36c8fba refactor(cpp/db): remove dummy apis
Former-commit-id: 900f085c733a2131c6db9de8940403635898e955
2019-04-16 11:17:02 +08:00
Xu Peng
e1a5d5effa feat(cpp/db): add meta related method in db api
Former-commit-id: d9cab929294aeb154e245e8cdc96b6c3a460af91
2019-04-16 11:17:02 +08:00
Xu Peng
771155df1a feat(cpp/db): meta schema update
Former-commit-id: de373b37b4132f5f62818216728fa29564a43927
2019-04-16 11:17:02 +08:00