From 9d59e8011ace80b403b290cef29abf0d84f66835 Mon Sep 17 00:00:00 2001 From: Louis Dureuil Date: Tue, 31 Oct 2023 10:08:36 +0100 Subject: [PATCH] fix some tests --- milli/src/index.rs | 16 ++++++-------- .../facet_id_f64_docids.snap | 22 ------------------- 2 files changed, 7 insertions(+), 31 deletions(-) diff --git a/milli/src/index.rs b/milli/src/index.rs index 27ad72fad..f7450a672 100644 --- a/milli/src/index.rs +++ b/milli/src/index.rs @@ -1905,10 +1905,9 @@ pub(crate) mod tests { 3 3 "###); db_snap!(index, facet_id_f64_docids, 2, @r###" - 1 0 0 1 [0, ] - 1 0 1 1 [1, 4, ] - 1 0 2 1 [2, 5, ] - 1 0 3 1 [3, 6, ] + 1 0 1 1 [0, ] + 1 0 2 1 [1, ] + 1 0 3 1 [2, 3, ] "###); index @@ -1924,11 +1923,10 @@ pub(crate) mod tests { 3 3 "###); db_snap!(index, facet_id_f64_docids, 3, @r###" - 1 0 0 1 [0, ] - 1 0 1 1 [1, 4, ] - 1 0 2 1 [2, 5, ] - 1 0 3 1 [3, 6, ] - 1 0 4 1 [7, ] + 1 0 1 1 [0, ] + 1 0 2 1 [1, ] + 1 0 3 1 [2, ] + 1 0 4 1 [3, ] "###); index diff --git a/milli/src/update/index_documents/snapshots/mod.rs/geo_filtered_placeholder_search_should_not_return_deleted_documents/facet_id_f64_docids.snap b/milli/src/update/index_documents/snapshots/mod.rs/geo_filtered_placeholder_search_should_not_return_deleted_documents/facet_id_f64_docids.snap index 5d6009823..c45c350e7 100644 --- a/milli/src/update/index_documents/snapshots/mod.rs/geo_filtered_placeholder_search_should_not_return_deleted_documents/facet_id_f64_docids.snap +++ b/milli/src/update/index_documents/snapshots/mod.rs/geo_filtered_placeholder_search_should_not_return_deleted_documents/facet_id_f64_docids.snap @@ -2,41 +2,25 @@ 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, ] @@ -44,10 +28,4 @@ source: milli/src/update/index_documents/mod.rs 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, ]