support error & return document count on addition

This commit is contained in:
mpostma
2020-12-30 18:44:33 +01:00
parent 54861335a0
commit d9dc2036a7
3 changed files with 44 additions and 61 deletions

41
Cargo.lock generated
View File

@ -1188,22 +1188,6 @@ dependencies = [
"unicode-segmentation",
]
[[package]]
name = "heed"
version = "0.10.6"
dependencies = [
"byteorder",
"heed-traits 0.7.0",
"heed-types 0.7.2",
"libc",
"lmdb-rkv-sys",
"once_cell",
"page_size",
"synchronoise",
"url",
"zerocopy",
]
[[package]]
name = "heed"
version = "0.10.6"
@ -1211,8 +1195,8 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "afcc6c911acaadad3ebe9f1ef1707d80bd71c92037566f47b6238a03b60adf1a"
dependencies = [
"byteorder",
"heed-traits 0.7.0 (registry+https://github.com/rust-lang/crates.io-index)",
"heed-types 0.7.2 (registry+https://github.com/rust-lang/crates.io-index)",
"heed-traits",
"heed-types",
"libc",
"lmdb-rkv-sys",
"once_cell",
@ -1223,27 +1207,12 @@ dependencies = [
"zerocopy",
]
[[package]]
name = "heed-traits"
version = "0.7.0"
[[package]]
name = "heed-traits"
version = "0.7.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "b328f6260a7e51bdb0ca6b68e6ea27ee3d11fba5dee930896ee7ff6ad5fc072c"
[[package]]
name = "heed-types"
version = "0.7.2"
dependencies = [
"bincode",
"heed-traits 0.7.0",
"serde",
"serde_json",
"zerocopy",
]
[[package]]
name = "heed-types"
version = "0.7.2"
@ -1251,7 +1220,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "e628efb08beaee58355f80dc4adba79d644940ea9eef60175ea17dc218aab405"
dependencies = [
"bincode",
"heed-traits 0.7.0 (registry+https://github.com/rust-lang/crates.io-index)",
"heed-traits",
"serde",
"serde_json",
"zerocopy",
@ -1646,7 +1615,7 @@ dependencies = [
"futures",
"futures-util",
"grenad",
"heed 0.10.6 (registry+https://github.com/rust-lang/crates.io-index)",
"heed",
"http",
"indexmap",
"jemallocator",
@ -1738,7 +1707,7 @@ dependencies = [
"fst",
"fxhash",
"grenad",
"heed 0.10.6",
"heed",
"human_format",
"itertools",
"jemallocator",