Add facet deletion tests that use both the incremental and bulk methods

+ update deletion snapshots to the new database format
This commit is contained in:
Loïc Lecrenier
2022-10-12 12:32:33 +02:00
parent e3ba1fc883
commit f198b20c42
19 changed files with 302 additions and 146 deletions

View File

@ -1,4 +0,0 @@
---
source: milli/src/update/delete_documents.rs
---

View File

@ -1,4 +0,0 @@
---
source: milli/src/update/delete_documents.rs
---

View File

@ -1,6 +1,6 @@
---
source: milli/src/update/delete_documents.rs
---
2 0 1.2 1.2 [20, 22, ]
2 0 2.2 2.2 [21, ]
2 0 1.2 1 [20, 22, ]
2 0 2.2 1 [21, ]

View File

@ -1,19 +1,19 @@
---
source: milli/src/update/delete_documents.rs
---
1 abstract abstract [2, 6, 10, 13, 14, 15, 16, 17, ]
1 aquarium aquarium [5, ]
1 art art [4, 5, 8, 9, 10, 12, 17, ]
1 cartoon cartoon [2, 7, 15, 17, ]
1 colorfulness colorfulness [13, ]
1 design design [2, 18, ]
1 drawing drawing [3, 4, 5, 8, 10, 11, 16, ]
1 geometry geometry [19, ]
1 letter letter [1, ]
1 outdoor outdoor [4, ]
1 painting painting [3, ]
1 pattern pattern [2, 3, 9, 10, 13, 14, 16, ]
1 sign sign [0, ]
2 design design [21, ]
2 geometry geometry [20, 22, ]
1 0 abstract 1 [2, 6, 10, 13, 14, 15, 16, 17, ]
1 0 aquarium 1 [5, ]
1 0 art 1 [4, 5, 8, 9, 10, 12, 17, ]
1 0 cartoon 1 [2, 7, 15, 17, ]
1 0 colorfulness 1 [13, ]
1 0 design 1 [2, 18, ]
1 0 drawing 1 [3, 4, 5, 8, 10, 11, 16, ]
1 0 geometry 1 [19, ]
1 0 letter 1 [1, ]
1 0 outdoor 1 [4, ]
1 0 painting 1 [3, ]
1 0 pattern 1 [2, 3, 9, 10, 13, 14, 16, ]
1 0 sign 1 [0, ]
2 0 design 1 [21, ]
2 0 geometry 1 [20, 22, ]

View File

@ -1,4 +1,4 @@
---
source: milli/src/update/delete_documents.rs
---
[0, ]
[0, 20, 22, ]

View File

@ -2,5 +2,5 @@
source: milli/src/update/delete_documents.rs
---
1 [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, ]
2 [20, 21, 22, ]
2 [21, ]

View File

@ -1,6 +1,5 @@
---
source: milli/src/update/delete_documents.rs
---
2 0 1.2 1.2 [20, 22, ]
2 0 2.2 2.2 [21, ]
2 0 2.2 1 [21, ]

View File

@ -1,18 +1,17 @@
---
source: milli/src/update/delete_documents.rs
---
1 abstract abstract [2, 6, 10, 13, 14, 15, 16, 17, ]
1 aquarium aquarium [5, ]
1 art art [4, 5, 8, 9, 10, 12, 17, ]
1 cartoon cartoon [2, 7, 15, 17, ]
1 colorfulness colorfulness [13, ]
1 design design [2, 18, ]
1 drawing drawing [3, 4, 5, 8, 10, 11, 16, ]
1 geometry geometry [19, ]
1 letter letter [1, ]
1 outdoor outdoor [4, ]
1 painting painting [3, ]
1 pattern pattern [2, 3, 9, 10, 13, 14, 16, ]
2 design design [21, ]
2 geometry geometry [20, 22, ]
1 0 abstract 1 [2, 6, 10, 13, 14, 15, 16, 17, ]
1 0 aquarium 1 [5, ]
1 0 art 1 [4, 5, 8, 9, 10, 12, 17, ]
1 0 cartoon 1 [2, 7, 15, 17, ]
1 0 colorfulness 1 [13, ]
1 0 design 1 [2, 18, ]
1 0 drawing 1 [3, 4, 5, 8, 10, 11, 16, ]
1 0 geometry 1 [19, ]
1 0 letter 1 [1, ]
1 0 outdoor 1 [4, ]
1 0 painting 1 [3, ]
1 0 pattern 1 [2, 3, 9, 10, 13, 14, 16, ]
2 0 design 1 [21, ]

View File

@ -1,7 +1,6 @@
---
source: milli/src/update/delete_documents.rs
---
1.2 [20, 22, ]
1_36 [3, ]
1_37 [4, ]
1_38 [5, ]
@ -21,9 +20,7 @@ source: milli/src/update/delete_documents.rs
1_68 [18, ]
1_69 [19, ]
1_7 [2, ]
1_70 [20, ]
1_71 [21, ]
1_72 [22, ]
2.2 [21, ]
abstract [2, 6, 10, 13, 14, 15, 16, 17, ]
aquarium [5, ]
@ -32,7 +29,7 @@ cartoon [2, 7, 15, 17, ]
colorfulness [13, ]
design [2, 18, 21, ]
drawing [3, 4, 5, 8, 10, 11, 16, ]
geometry [19, 20, 22, ]
geometry [19, ]
letter [1, ]
outdoor [4, ]
painting [3, ]

View File

@ -1,48 +1,53 @@
---
source: milli/src/update/delete_documents.rs
---
3 0 48.9021 48.9021 [19, ]
3 0 49.4449 49.4449 [18, ]
3 0 49.9314 49.9314 [17, ]
3 0 50.1112 50.1112 [16, ]
3 0 50.1793 50.1793 [15, ]
3 0 50.2844 50.2844 [14, ]
3 0 50.3518 50.3518 [13, ]
3 0 50.4095 50.4095 [11, ]
3 0 50.4502 50.4502 [12, ]
3 0 50.6053 50.6053 [8, ]
3 0 50.6224 50.6224 [3, ]
3 0 50.6299 50.6299 [0, ]
3 0 50.6312 50.6312 [2, ]
3 0 50.6415 50.6415 [1, ]
3 0 50.6552 50.6552 [4, ]
3 0 50.6924 50.6924 [5, ]
3 0 50.7263 50.7263 [6, ]
3 0 50.7453 50.7453 [7, ]
3 0 50.8466 50.8466 [10, ]
3 0 51.0537 51.0537 [9, ]
3 1 48.9021 50.1112 [16, 17, 18, 19, ]
3 1 50.1793 50.4095 [11, 13, 14, 15, ]
3 1 50.4502 50.6299 [0, 3, 8, 12, ]
3 1 50.6312 50.6924 [1, 2, 4, 5, ]
3 1 50.7263 51.0537 [6, 7, 9, 10, ]
4 0 2.271 2.271 [17, ]
4 0 2.3708 2.3708 [19, ]
4 0 2.7637 2.7637 [14, ]
4 0 2.7913 2.7913 [18, ]
4 0 2.8547 2.8547 [16, ]
4 0 3.0569 3.0569 [0, ]
4 0 3.1106 3.1106 [1, 2, ]
4 0 3.1476 3.1476 [3, ]
4 0 3.1541 3.1541 [6, ]
4 0 3.1763 3.1763 [5, ]
4 0 3.1897 3.1897 [4, ]
4 0 3.2189 3.2189 [15, ]
4 0 3.2206 3.2206 [7, ]
4 0 3.3758 3.3758 [8, ]
4 0 3.5326 3.5326 [13, ]
4 0 3.6957 3.6957 [9, ]
4 0 3.9623 3.9623 [12, ]
4 0 4.337 4.337 [10, ]
4 0 4.4347 4.4347 [11, ]
3 0 48.9021 1 [19, ]
3 0 49.4449 1 [18, ]
3 0 49.9314 1 [17, ]
3 0 50.1112 1 [16, ]
3 0 50.1793 1 [15, ]
3 0 50.2844 1 [14, ]
3 0 50.3518 1 [13, ]
3 0 50.4095 1 [11, ]
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 [4, ]
3 0 50.6924 1 [5, ]
3 0 50.7263 1 [6, ]
3 0 50.7453 1 [7, ]
3 0 50.8466 1 [10, ]
3 0 51.0537 1 [9, ]
3 1 48.9021 4 [16, 17, 18, 19, ]
3 1 50.1793 4 [11, 13, 14, 15, ]
3 1 50.4502 4 [0, 3, 8, 12, ]
3 1 50.6312 4 [1, 2, 4, 5, ]
3 1 50.7263 4 [6, 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 [18, ]
4 0 2.8547 1 [16, ]
4 0 3.0569 1 [0, ]
4 0 3.1106 1 [1, 2, ]
4 0 3.1476 1 [3, ]
4 0 3.1541 1 [6, ]
4 0 3.1763 1 [5, ]
4 0 3.1897 1 [4, ]
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 [11, ]
4 1 2.271 4 [14, 17, 18, 19, ]
4 1 2.8547 4 [0, 1, 2, 3, 16, ]
4 1 3.1541 4 [4, 5, 6, 15, ]
4 1 3.2206 4 [7, 8, 9, 13, ]
4 1 3.9623 3 [10, 11, 12, ]

View File

@ -1,36 +1,31 @@
---
source: milli/src/update/delete_documents.rs
---
3 0 48.9021 48.9021 [19, ]
3 0 49.9314 49.9314 [17, ]
3 0 50.1793 50.1793 [15, ]
3 0 50.2844 50.2844 [14, ]
3 0 50.3518 50.3518 [13, ]
3 0 50.4502 50.4502 [12, ]
3 0 50.6053 50.6053 [8, ]
3 0 50.6224 50.6224 [3, ]
3 0 50.6299 50.6299 [0, ]
3 0 50.6312 50.6312 [2, ]
3 0 50.6415 50.6415 [1, ]
3 0 50.7453 50.7453 [7, ]
3 0 50.8466 50.8466 [10, ]
3 0 51.0537 51.0537 [9, ]
3 1 48.9021 50.1112 [17, 19, ]
3 1 50.1793 50.4095 [13, 14, 15, ]
3 1 50.4502 50.6299 [0, 3, 8, 12, ]
3 1 50.6312 50.6924 [1, 2, ]
3 1 50.7263 51.0537 [7, 9, 10, ]
4 0 2.271 2.271 [17, ]
4 0 2.3708 2.3708 [19, ]
4 0 2.7637 2.7637 [14, ]
4 0 3.0569 3.0569 [0, ]
4 0 3.1106 3.1106 [1, 2, ]
4 0 3.1476 3.1476 [3, ]
4 0 3.2189 3.2189 [15, ]
4 0 3.2206 3.2206 [7, ]
4 0 3.3758 3.3758 [8, ]
4 0 3.5326 3.5326 [13, ]
4 0 3.6957 3.6957 [9, ]
4 0 3.9623 3.9623 [12, ]
4 0 4.337 4.337 [10, ]
3 0 48.9021 1 [19, ]
3 0 49.9314 1 [17, ]
3 0 50.1793 1 [15, ]
3 0 50.2844 1 [14, ]
3 0 50.3518 1 [13, ]
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.7453 1 [7, ]
3 0 50.8466 1 [10, ]
3 0 51.0537 1 [9, ]
4 0 2.271 1 [17, ]
4 0 2.3708 1 [19, ]
4 0 2.7637 1 [14, ]
4 0 3.0569 1 [0, ]
4 0 3.1106 1 [1, 2, ]
4 0 3.1476 1 [3, ]
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, ]