2366: Bump milli to v0.26.4 r=curquiza a=curquiza

Fixes the milli related issues
- https://github.com/meilisearch/meilisearch/issues/2352
- https://github.com/meilisearch/meilisearch/issues/2358
- https://github.com/meilisearch/meilisearch/issues/2338

Co-authored-by: Clémentine Urquizar <clementine@meilisearch.com>
Co-authored-by: Kerollmops <clement@meilisearch.com>
This commit is contained in:
bors[bot] 2022-05-04 10:30:42 +00:00 committed by GitHub
commit 5337bdb9c5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 11 additions and 11 deletions

16
Cargo.lock generated
View File

@ -1092,8 +1092,8 @@ dependencies = [
[[package]] [[package]]
name = "filter-parser" name = "filter-parser"
version = "0.1.0" version = "0.26.4"
source = "git+https://github.com/meilisearch/milli.git?tag=v0.26.2#b0c4789301acb70e740f971ec0996c550cac8540" source = "git+https://github.com/meilisearch/milli.git?tag=v0.26.4#6ee67df128b63f40eedfe1cb2edfa1a59492e310"
dependencies = [ dependencies = [
"nom", "nom",
"nom_locate", "nom_locate",
@ -1119,8 +1119,8 @@ dependencies = [
[[package]] [[package]]
name = "flatten-serde-json" name = "flatten-serde-json"
version = "0.1.0" version = "0.26.4"
source = "git+https://github.com/meilisearch/milli.git?tag=v0.26.2#b0c4789301acb70e740f971ec0996c550cac8540" source = "git+https://github.com/meilisearch/milli.git?tag=v0.26.4#6ee67df128b63f40eedfe1cb2edfa1a59492e310"
dependencies = [ dependencies = [
"serde_json", "serde_json",
] ]
@ -1622,8 +1622,8 @@ dependencies = [
[[package]] [[package]]
name = "json-depth-checker" name = "json-depth-checker"
version = "0.1.0" version = "0.26.4"
source = "git+https://github.com/meilisearch/milli.git?tag=v0.26.2#b0c4789301acb70e740f971ec0996c550cac8540" source = "git+https://github.com/meilisearch/milli.git?tag=v0.26.4#6ee67df128b63f40eedfe1cb2edfa1a59492e310"
dependencies = [ dependencies = [
"serde_json", "serde_json",
] ]
@ -2151,8 +2151,8 @@ dependencies = [
[[package]] [[package]]
name = "milli" name = "milli"
version = "0.26.2" version = "0.26.4"
source = "git+https://github.com/meilisearch/milli.git?tag=v0.26.2#b0c4789301acb70e740f971ec0996c550cac8540" source = "git+https://github.com/meilisearch/milli.git?tag=v0.26.4#6ee67df128b63f40eedfe1cb2edfa1a59492e310"
dependencies = [ dependencies = [
"bimap", "bimap",
"bincode", "bincode",

View File

@ -6,7 +6,7 @@ edition = "2021"
[dependencies] [dependencies]
enum-iterator = "0.7.0" enum-iterator = "0.7.0"
meilisearch-error = { path = "../meilisearch-error" } meilisearch-error = { path = "../meilisearch-error" }
milli = { git = "https://github.com/meilisearch/milli.git", tag = "v0.26.2" } milli = { git = "https://github.com/meilisearch/milli.git", tag = "v0.26.4" }
rand = "0.8.4" rand = "0.8.4"
serde = { version = "1.0.136", features = ["derive"] } serde = { version = "1.0.136", features = ["derive"] }
serde_json = { version = "1.0.79", features = ["preserve_order"] } serde_json = { version = "1.0.79", features = ["preserve_order"] }

View File

@ -497,7 +497,7 @@ async fn search_facet_distribution() {
assert_eq!(code, 200, "{}", response); assert_eq!(code, 200, "{}", response);
let dist = response["facetsDistribution"].as_object().unwrap(); let dist = response["facetsDistribution"].as_object().unwrap();
dbg!(&dist); dbg!(&dist);
assert_eq!(dist.len(), 2); assert_eq!(dist.len(), 3);
assert_eq!( assert_eq!(
dist["doggos.name"], dist["doggos.name"],
json!({ "bobby": 1, "buddy": 1, "gros bill": 1, "turbo": 1, "fast": 1}) json!({ "bobby": 1, "buddy": 1, "gros bill": 1, "turbo": 1, "fast": 1})

View File

@ -30,7 +30,7 @@ lazy_static = "1.4.0"
log = "0.4.14" log = "0.4.14"
meilisearch-auth = { path = "../meilisearch-auth" } meilisearch-auth = { path = "../meilisearch-auth" }
meilisearch-error = { path = "../meilisearch-error" } meilisearch-error = { path = "../meilisearch-error" }
milli = { git = "https://github.com/meilisearch/milli.git", tag = "v0.26.2" } milli = { git = "https://github.com/meilisearch/milli.git", tag = "v0.26.4" }
mime = "0.3.16" mime = "0.3.16"
num_cpus = "1.13.1" num_cpus = "1.13.1"
obkv = "0.2.0" obkv = "0.2.0"