298 Commits

Author SHA1 Message Date
groot
678f1010a1 use rocksdb column family
Former-commit-id: dbf59149386a71807ff3ea4498240afd102b5001
2019-05-14 11:16:18 +08:00
groot
70521c45e4 Merge branch 'release-v1' into rocksdb
Former-commit-id: 9efa6d93a63167d98a3e379dc8baa30a2cd18b86
2019-05-13 17:12:37 +08:00
groot
a56333b55d throw exception
Former-commit-id: 6a8ae6f0c0b73fc9411b039143a1650e6ab7cc02
2019-05-13 17:05:24 +08:00
groot
56291b218d use rocksdb column family
Former-commit-id: 8cbc5d91e02e6bbc0eff1e329b4c76687d2c1f74
2019-05-13 15:17:05 +08:00
xj.lin
354f68a96f fix TopK bug
Former-commit-id: 76e24617b83d49b2a4808a0cd7406edb849e767e
2019-05-11 18:49:30 +08:00
xj.lin
c4244fdc6d fix search stack overflow
Former-commit-id: 39801544686f061a63f4c3f1dec11565164a928d
2019-05-11 16:52:16 +08:00
xj.lin
364af3b1a8 redefine default index build type
Former-commit-id: 1f10a7774b80b596323882bb74a46484a917344f
2019-05-11 11:27:06 +08:00
xj.lin
876f6a4c66 1 Support Cpu-version
2 Update build.sh support both cpu-build and gpu-build


Former-commit-id: 3c0ddd7fb2f93ab45b6f9878b71b6541617f92c4
2019-05-11 11:27:06 +08:00
Xu Peng
ac7092f556 fix(db): bug fix for add vectors
Former-commit-id: 84cfcf89843bfd79e226ef3fd8c6d9a273a1f4dc
2019-05-11 11:17:07 +08:00
groot
99b61e3b9b fix bug
Former-commit-id: 4f365862e364a8b6232a9d959354dd609db6a040
2019-05-10 14:33:23 +08:00
groot
b2d988b9c6 fix bug
Former-commit-id: 53fa5d480d001cc82145710fa0329604b85bab19
2019-05-10 14:32:43 +08:00
groot
7e6b928ce8 modify thrift api
Former-commit-id: 6a9222b918447562add54efb852bb8716c5ed254
2019-05-10 10:39:59 +08:00
groot
f9967cd744 modify thrift api
Former-commit-id: 744dec10d157280d9776a7507aaa428ca76aad66
2019-05-10 10:39:21 +08:00
groot
6a27275486 regen thrift py
Former-commit-id: a199ad849e1a0a6534bd343deaf8e4aa6a1335d5
2019-05-09 19:16:40 +08:00
groot
b97b406ce6 regen thrift cpp
Former-commit-id: 2d37cc786425da956db94fc2f3f5de824ad54b94
2019-05-09 19:16:13 +08:00
xj.lin
146bb9e6d4 support install prefix and default install
Former-commit-id: cada287cbf3b4ef2e32e8039aa7836bb76a6adb1
2019-05-09 12:05:35 +08:00
jinhai
51d9e2c21e Add license check functions
Former-commit-id: d3120c7b805a59bcb736908990d68652008eca8d
2019-05-08 14:55:21 +08:00
Xu Peng
56ffd6bad3 fix(db): db destruction bug fix
Former-commit-id: d77e18e428bc43b2cc1316f0d77b6807192f6662
2019-05-08 13:58:16 +08:00
Xu Peng
4428d56670 refactor(db): trait for engine and dbimpl
Former-commit-id: c42d9f4d7168b4d8e374ddb5ed0499ea1394a306
2019-05-08 12:13:01 +08:00
Xu Peng
b36a524739 refactor(db): using traits
Former-commit-id: 6496aa13a3ba40d4bec2e32a1ad6f10377055775
2019-05-08 12:13:01 +08:00
Xu Peng
9e43c45de4 feat(db): support trait for engine
Former-commit-id: cfb90e35386177032fa0c4ac7b8c81f29a536571
2019-05-08 12:13:01 +08:00
Xu Peng
372adf6c80 fix(cache): add pragma once in header
Former-commit-id: cb9b838950c536fa4a582c92cf0df634c0780764
2019-05-08 12:13:01 +08:00
groot
5897f415ad addd log
Former-commit-id: e950e203afc9c259a4530fd8c9b6ce95da4cb4bc
2019-05-07 12:11:39 +08:00
jinhai
7c0d0179fb Merge branch 'jinhai' of http://192.168.1.105:6060/jinhai/vecwise_engine into jinhai
Former-commit-id: af885c2b110e3f4061c22e593fca973a87673bd5
2019-05-06 22:12:42 +08:00
jinhai
9bf75e809a Add static linking
Former-commit-id: 95e2ccc0112a0cff1f1520c7ec8caee07be442d6
2019-05-06 22:11:02 +08:00
groot
e661ba82fe build error
Former-commit-id: 0764940092b64cca42918e542b9d8702cab1c55e
2019-05-06 22:01:28 +08:00
groot
0ce9502a3e fix bug
Former-commit-id: daf197368b50cd764df893949abb5f2956c9c560
2019-05-06 11:24:36 +08:00
xj.lin
2ac87c1e47 1. support IDMap
2. fix some bug
3. background job from IDMap -> IVF


Former-commit-id: ba8f24f09c5481103ad3f4c1c91d4deb70f26dad
2019-05-06 10:24:07 +08:00
xj.lin
56bbe40faf 1. fix operand serialize bug
2. support gpu-build
3. add unittest


Former-commit-id: bb36dcb05220d8f0648f282c7e38fe20f4ab3c16
2019-05-06 09:53:59 +08:00
jinhai
675777d072 Add libzstd-dev to solve the linking error
Former-commit-id: 993f2b5e526a3d073820f80b8ce473842ab937b5
2019-05-05 20:42:33 +08:00
groot
faa2c4b4b1 support empty id
Former-commit-id: 1a5303b58f3f3b0154f1609ff1acc0d00007c569
2019-05-05 20:13:34 +08:00
Xu Peng
496989bbe4 refactor(db): add more debug log
Former-commit-id: 7c196e05c60567216938115e081438beeecb0f47
2019-05-05 18:02:11 +08:00
Xu Peng
d3cbc1ccad fix(db): db desctruction bug fix
Former-commit-id: e456a0d76c2b1401107d47600c34d4622ca8cd8a
2019-05-05 17:26:50 +08:00
Xu Peng
8a029c9b0d refactor(db): add copyright header
Former-commit-id: 45606fe09972ab741faa4ee8061ef7d307c20c49
2019-05-05 13:10:04 +08:00
Xu Peng
72f096bfca refactor(db): typedef ptr for memvectors
Former-commit-id: 92289614937b7803fc41bf5cb7d50f468192aaa4
2019-05-05 12:55:42 +08:00
Xu Peng
c64e8c9621 refactor(db): typdef meta ptr
Former-commit-id: 1fcbd80c65a1ee2815a57127f04807ce7d9f23f3
2019-05-05 10:28:40 +08:00
Xu Peng
f5b0ec50cf refactor(db): typedef engine ptr
Former-commit-id: 4629cac435fd484ab949ab112b639a4849e37fca
2019-05-05 10:21:26 +08:00
Xu Peng
85707aa3e9 refactor(db): impl template for engine type part 2
Former-commit-id: 8be264a9ecc7704f63a978fb862b95140a19e1c0
2019-05-05 09:38:37 +08:00
Xu Peng
166289cafa refactor(db): impl template for engine type
Former-commit-id: 2e9a6fa992f58dfe567f7c274b9327454cf3f89e
2019-04-30 21:02:13 +08:00
Xu Peng
0e37089c6a refactor(db): refactor all for crtp replacement
Former-commit-id: 3c5d3ddeec04d573ef3916f673a7504c51a0a3bf
2019-04-30 20:23:11 +08:00
Xu Peng
67960d5a55 refactor(db): dbimpl refactor for ee
Former-commit-id: 5c762120594c4ab76237cc9d713dde3f4a57931a
2019-04-30 20:16:54 +08:00
Xu Peng
8866d36252 refactor(db): refactor execution_engine
Former-commit-id: 90ddd165224135d190108f5d7bce544b5c0f305e
2019-04-30 20:14:38 +08:00
Xu Peng
ca195424c5 refactor(db): refactor small part
Former-commit-id: 58fc916c28a94ccecd67c58d5cf3620c51fbe4c4
2019-04-30 18:44:00 +08:00
Xu Peng
62440022d9 refactor(db): remove dummy includes
Former-commit-id: 6cf84f4b81e93c4a02ec7467b14e0ebc9227585d
2019-04-30 18:34:32 +08:00
Xu Peng
94057d9d95 refactor(db): refactor search with execution engine
Former-commit-id: 1625a8aff9582e61e6bb687b4da40f7721610f91
2019-04-30 18:32:40 +08:00
Xu Peng
473d603a89 refactor(db): refactor build_index with execution engine
Former-commit-id: a37b3096ae6883f6633fd3c1f986ca0f45955a0b
2019-04-30 18:11:38 +08:00
Xu Peng
95adef2988 feat(db): add build_index api for ee
Former-commit-id: 75f268e4494d383f7a7b9e32c634a44f7beeba1c
2019-04-30 18:11:38 +08:00
Xu Peng
4cc5b8d523 refactor(db): replace faiss with execution engine
Former-commit-id: 7e7949541e39bc18f30c5aafa7968fdacf709719
2019-04-30 18:11:38 +08:00
groot
a724141e73 use multithreads to do id mapping
Former-commit-id: 10b201d3801b146fa6335e4dfd20c877cfb2e948
2019-04-30 17:37:50 +08:00
groot
b67c731b90 Merge branch 'jinhai' of 192.168.1.105:jinhai/vecwise_engine into jinhai
Former-commit-id: 730d1e5d7acd6ff2250ea1a453c2d4127f081356
2019-04-30 17:00:05 +08:00