mirror of
https://github.com/meilisearch/MeiliSearch
synced 2024-11-22 21:04:27 +01:00
Fix tests
This commit is contained in:
parent
54d07a8da3
commit
9fedd8101a
@ -397,7 +397,7 @@ async fn delete_document_by_complex_filter() {
|
|||||||
"canceledBy": null,
|
"canceledBy": null,
|
||||||
"details": {
|
"details": {
|
||||||
"providedIds": 0,
|
"providedIds": 0,
|
||||||
"deletedDocuments": 4,
|
"deletedDocuments": 2,
|
||||||
"originalFilter": "[[\"color = green\",\"color NOT EXISTS\"]]"
|
"originalFilter": "[[\"color = green\",\"color NOT EXISTS\"]]"
|
||||||
},
|
},
|
||||||
"error": null,
|
"error": null,
|
||||||
|
@ -1946,14 +1946,14 @@ 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###"
|
||||||
0 0 0 1 [4, ]
|
0 0 0 1 [0, ]
|
||||||
0 0 1 1 [5, ]
|
0 0 1 1 [1, ]
|
||||||
0 0 2 1 [6, ]
|
0 0 2 1 [2, ]
|
||||||
0 0 3 1 [7, ]
|
0 0 3 1 [3, ]
|
||||||
1 0 1 1 [4, ]
|
1 0 1 1 [0, ]
|
||||||
1 0 2 1 [5, ]
|
1 0 2 1 [1, ]
|
||||||
1 0 3 1 [6, ]
|
1 0 3 1 [2, ]
|
||||||
1 0 4 1 [7, ]
|
1 0 4 1 [3, ]
|
||||||
"###);
|
"###);
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -2038,9 +2038,9 @@ pub(crate) mod tests {
|
|||||||
3 3
|
3 3
|
||||||
"###);
|
"###);
|
||||||
db_snap!(index, facet_id_f64_docids, 1, @r###"
|
db_snap!(index, facet_id_f64_docids, 1, @r###"
|
||||||
1 0 0 1 [0, 4, ]
|
1 0 0 1 [0, ]
|
||||||
1 0 1 1 [1, 5, ]
|
1 0 1 1 [1, ]
|
||||||
1 0 2 1 [2, 6, ]
|
1 0 2 1 [2, ]
|
||||||
1 0 3 1 [3, ]
|
1 0 3 1 [3, ]
|
||||||
"###);
|
"###);
|
||||||
}
|
}
|
||||||
|
@ -0,0 +1,4 @@
|
|||||||
|
---
|
||||||
|
source: milli/src/update/index_documents/mod.rs
|
||||||
|
---
|
||||||
|
[]
|
@ -0,0 +1,4 @@
|
|||||||
|
---
|
||||||
|
source: milli/src/update/index_documents/mod.rs
|
||||||
|
---
|
||||||
|
|
@ -0,0 +1,4 @@
|
|||||||
|
---
|
||||||
|
source: milli/src/update/index_documents/mod.rs
|
||||||
|
---
|
||||||
|
|
@ -0,0 +1,4 @@
|
|||||||
|
---
|
||||||
|
source: milli/src/update/index_documents/mod.rs
|
||||||
|
---
|
||||||
|
|
@ -0,0 +1,4 @@
|
|||||||
|
---
|
||||||
|
source: milli/src/update/index_documents/mod.rs
|
||||||
|
---
|
||||||
|
[2, ]
|
@ -0,0 +1,5 @@
|
|||||||
|
---
|
||||||
|
source: milli/src/update/index_documents/mod.rs
|
||||||
|
---
|
||||||
|
benoit [2, ]
|
||||||
|
|
@ -0,0 +1,4 @@
|
|||||||
|
---
|
||||||
|
source: milli/src/update/index_documents/mod.rs
|
||||||
|
---
|
||||||
|
|
@ -0,0 +1,6 @@
|
|||||||
|
---
|
||||||
|
source: milli/src/update/index_documents/mod.rs
|
||||||
|
---
|
||||||
|
1 [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, ]
|
||||||
|
2 [21, ]
|
||||||
|
|
@ -0,0 +1,53 @@
|
|||||||
|
---
|
||||||
|
source: milli/src/update/index_documents/mod.rs
|
||||||
|
---
|
||||||
|
3 0 48.9021 1 [19, ]
|
||||||
|
3 0 49.4449 1 []
|
||||||
|
3 0 49.9314 1 [17, ]
|
||||||
|
3 0 50.1112 1 []
|
||||||
|
3 0 50.1793 1 [15, ]
|
||||||
|
3 0 50.2844 1 [14, ]
|
||||||
|
3 0 50.3518 1 [13, ]
|
||||||
|
3 0 50.4095 1 []
|
||||||
|
3 0 50.4502 1 [12, ]
|
||||||
|
3 0 50.6053 1 [8, ]
|
||||||
|
3 0 50.6224 1 [3, ]
|
||||||
|
3 0 50.6299 1 [0, ]
|
||||||
|
3 0 50.6312 1 [2, ]
|
||||||
|
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.8466 1 [10, ]
|
||||||
|
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.3708 1 [19, ]
|
||||||
|
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.1106 1 [1, 2, ]
|
||||||
|
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.2206 1 [7, ]
|
||||||
|
4 0 3.3758 1 [8, ]
|
||||||
|
4 0 3.5326 1 [13, ]
|
||||||
|
4 0 3.6957 1 [9, ]
|
||||||
|
4 0 3.9623 1 [12, ]
|
||||||
|
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, ]
|
||||||
|
|
@ -0,0 +1,4 @@
|
|||||||
|
---
|
||||||
|
source: milli/src/update/index_documents/mod.rs
|
||||||
|
---
|
||||||
|
|
@ -1,60 +1,56 @@
|
|||||||
---
|
---
|
||||||
source: milli/src/update/index_documents/mod.rs
|
source: milli/src/update/index_documents/mod.rs
|
||||||
---
|
---
|
||||||
0 [1, 7, ]
|
0 [1, ]
|
||||||
1 [2, ]
|
1 [2, ]
|
||||||
10 [1, 7, ]
|
10 [1, ]
|
||||||
12 [0, 8, ]
|
12 [0, ]
|
||||||
1344 [3, ]
|
1344 [3, ]
|
||||||
1813 [8, ]
|
1813 [0, ]
|
||||||
2 [0, 8, ]
|
2 [0, ]
|
||||||
23 [5, ]
|
23 [5, ]
|
||||||
25 [2, ]
|
25 [2, ]
|
||||||
3 [0, 8, ]
|
3 [0, ]
|
||||||
35 [5, ]
|
35 [5, ]
|
||||||
4 [4, 6, ]
|
4 [4, ]
|
||||||
42 [0, 5, 8, ]
|
42 [0, 5, ]
|
||||||
456 [1, 7, ]
|
456 [1, ]
|
||||||
5 [0, 8, ]
|
5 [0, ]
|
||||||
99 [2, ]
|
99 [2, ]
|
||||||
adams [5, ]
|
adams [5, ]
|
||||||
adventure [1, 7, ]
|
adventure [1, ]
|
||||||
alice [2, ]
|
alice [2, ]
|
||||||
and [0, 4, 6, 8, ]
|
and [0, 4, ]
|
||||||
antoine [1, 7, ]
|
antoine [1, ]
|
||||||
austen [8, ]
|
austen [0, ]
|
||||||
austin [0, ]
|
blood [4, ]
|
||||||
blood [4, 6, ]
|
|
||||||
carroll [2, ]
|
carroll [2, ]
|
||||||
de [1, 7, ]
|
de [1, ]
|
||||||
douglas [5, ]
|
douglas [5, ]
|
||||||
exupery [1, 7, ]
|
exupery [1, ]
|
||||||
fantasy [2, 3, 4, 6, ]
|
fantasy [2, 3, 4, ]
|
||||||
galaxy [5, ]
|
galaxy [5, ]
|
||||||
guide [5, ]
|
guide [5, ]
|
||||||
half [4, 6, ]
|
half [4, ]
|
||||||
harry [4, 6, ]
|
harry [4, ]
|
||||||
hitchhiker [5, ]
|
hitchhiker [5, ]
|
||||||
hobbit [3, ]
|
hobbit [3, ]
|
||||||
in [2, ]
|
in [2, ]
|
||||||
j [3, 4, 6, 8, ]
|
j [0, 3, 4, ]
|
||||||
jane [0, ]
|
k [4, ]
|
||||||
k [4, 6, ]
|
|
||||||
le [1, ]
|
|
||||||
lewis [2, ]
|
lewis [2, ]
|
||||||
little [7, ]
|
little [1, ]
|
||||||
petit [1, ]
|
potter [4, ]
|
||||||
potter [4, 6, ]
|
prejudice [0, ]
|
||||||
prejudice [0, 8, ]
|
pride [0, ]
|
||||||
pride [0, 8, ]
|
prince [1, ]
|
||||||
prince [1, 4, 7, ]
|
princess [4, ]
|
||||||
princess [6, ]
|
|
||||||
r [3, ]
|
r [3, ]
|
||||||
romance [0, 8, ]
|
romance [0, ]
|
||||||
rowling [4, 6, ]
|
rowling [4, ]
|
||||||
s [5, ]
|
s [5, ]
|
||||||
saint [1, 7, ]
|
saint [1, ]
|
||||||
the [3, 4, 5, 6, 7, ]
|
the [1, 3, 4, 5, ]
|
||||||
to [5, ]
|
to [5, ]
|
||||||
tolkien [3, ]
|
tolkien [3, ]
|
||||||
wonderland [2, ]
|
wonderland [2, ]
|
||||||
|
Loading…
Reference in New Issue
Block a user