mirror of
https://github.com/meilisearch/meilisearch.git
synced 2024-11-30 00:55:00 +08:00
fix some tests
This commit is contained in:
parent
dad78cbf8d
commit
9d59e8011a
@ -1905,10 +1905,9 @@ pub(crate) mod tests {
|
|||||||
3 3
|
3 3
|
||||||
"###);
|
"###);
|
||||||
db_snap!(index, facet_id_f64_docids, 2, @r###"
|
db_snap!(index, facet_id_f64_docids, 2, @r###"
|
||||||
1 0 0 1 [0, ]
|
1 0 1 1 [0, ]
|
||||||
1 0 1 1 [1, 4, ]
|
1 0 2 1 [1, ]
|
||||||
1 0 2 1 [2, 5, ]
|
1 0 3 1 [2, 3, ]
|
||||||
1 0 3 1 [3, 6, ]
|
|
||||||
"###);
|
"###);
|
||||||
|
|
||||||
index
|
index
|
||||||
@ -1924,11 +1923,10 @@ pub(crate) mod tests {
|
|||||||
3 3
|
3 3
|
||||||
"###);
|
"###);
|
||||||
db_snap!(index, facet_id_f64_docids, 3, @r###"
|
db_snap!(index, facet_id_f64_docids, 3, @r###"
|
||||||
1 0 0 1 [0, ]
|
1 0 1 1 [0, ]
|
||||||
1 0 1 1 [1, 4, ]
|
1 0 2 1 [1, ]
|
||||||
1 0 2 1 [2, 5, ]
|
1 0 3 1 [2, ]
|
||||||
1 0 3 1 [3, 6, ]
|
1 0 4 1 [3, ]
|
||||||
1 0 4 1 [7, ]
|
|
||||||
"###);
|
"###);
|
||||||
|
|
||||||
index
|
index
|
||||||
|
@ -2,41 +2,25 @@
|
|||||||
source: milli/src/update/index_documents/mod.rs
|
source: milli/src/update/index_documents/mod.rs
|
||||||
---
|
---
|
||||||
3 0 48.9021 1 [19, ]
|
3 0 48.9021 1 [19, ]
|
||||||
3 0 49.4449 1 []
|
|
||||||
3 0 49.9314 1 [17, ]
|
3 0 49.9314 1 [17, ]
|
||||||
3 0 50.1112 1 []
|
|
||||||
3 0 50.1793 1 [15, ]
|
3 0 50.1793 1 [15, ]
|
||||||
3 0 50.2844 1 [14, ]
|
3 0 50.2844 1 [14, ]
|
||||||
3 0 50.3518 1 [13, ]
|
3 0 50.3518 1 [13, ]
|
||||||
3 0 50.4095 1 []
|
|
||||||
3 0 50.4502 1 [12, ]
|
3 0 50.4502 1 [12, ]
|
||||||
3 0 50.6053 1 [8, ]
|
3 0 50.6053 1 [8, ]
|
||||||
3 0 50.6224 1 [3, ]
|
3 0 50.6224 1 [3, ]
|
||||||
3 0 50.6299 1 [0, ]
|
3 0 50.6299 1 [0, ]
|
||||||
3 0 50.6312 1 [2, ]
|
3 0 50.6312 1 [2, ]
|
||||||
3 0 50.6415 1 [1, ]
|
3 0 50.6415 1 [1, ]
|
||||||
3 0 50.6552 1 []
|
|
||||||
3 0 50.6924 1 []
|
|
||||||
3 0 50.7263 1 []
|
|
||||||
3 0 50.7453 1 [7, ]
|
3 0 50.7453 1 [7, ]
|
||||||
3 0 50.8466 1 [10, ]
|
3 0 50.8466 1 [10, ]
|
||||||
3 0 51.0537 1 [9, ]
|
3 0 51.0537 1 [9, ]
|
||||||
3 1 48.9021 4 [17, 19, ]
|
|
||||||
3 1 50.1793 4 [13, 14, 15, ]
|
|
||||||
3 1 50.4502 4 [0, 3, 8, 12, ]
|
|
||||||
3 1 50.6312 4 [1, 2, ]
|
|
||||||
3 1 50.7263 4 [7, 9, 10, ]
|
|
||||||
4 0 2.271 1 [17, ]
|
4 0 2.271 1 [17, ]
|
||||||
4 0 2.3708 1 [19, ]
|
4 0 2.3708 1 [19, ]
|
||||||
4 0 2.7637 1 [14, ]
|
4 0 2.7637 1 [14, ]
|
||||||
4 0 2.7913 1 []
|
|
||||||
4 0 2.8547 1 []
|
|
||||||
4 0 3.0569 1 [0, ]
|
4 0 3.0569 1 [0, ]
|
||||||
4 0 3.1106 1 [1, 2, ]
|
4 0 3.1106 1 [1, 2, ]
|
||||||
4 0 3.1476 1 [3, ]
|
4 0 3.1476 1 [3, ]
|
||||||
4 0 3.1541 1 []
|
|
||||||
4 0 3.1763 1 []
|
|
||||||
4 0 3.1897 1 []
|
|
||||||
4 0 3.2189 1 [15, ]
|
4 0 3.2189 1 [15, ]
|
||||||
4 0 3.2206 1 [7, ]
|
4 0 3.2206 1 [7, ]
|
||||||
4 0 3.3758 1 [8, ]
|
4 0 3.3758 1 [8, ]
|
||||||
@ -44,10 +28,4 @@ source: milli/src/update/index_documents/mod.rs
|
|||||||
4 0 3.6957 1 [9, ]
|
4 0 3.6957 1 [9, ]
|
||||||
4 0 3.9623 1 [12, ]
|
4 0 3.9623 1 [12, ]
|
||||||
4 0 4.337 1 [10, ]
|
4 0 4.337 1 [10, ]
|
||||||
4 0 4.4347 1 []
|
|
||||||
4 1 2.271 4 [14, 17, 19, ]
|
|
||||||
4 1 2.8547 4 [0, 1, 2, 3, ]
|
|
||||||
4 1 3.1541 4 [15, ]
|
|
||||||
4 1 3.2206 4 [7, 8, 9, 13, ]
|
|
||||||
4 1 3.9623 3 [10, 12, ]
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user