From 752d031010fecdf48f823bee809fb2dfdae8be26 Mon Sep 17 00:00:00 2001 From: Samyak S Sarnayak Date: Wed, 26 Oct 2022 23:07:20 +0530 Subject: [PATCH] Update phrase search to use new `execute` method --- milli/tests/search/phrase_search.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/milli/tests/search/phrase_search.rs b/milli/tests/search/phrase_search.rs index e4f5d73f9..ca5eaad48 100644 --- a/milli/tests/search/phrase_search.rs +++ b/milli/tests/search/phrase_search.rs @@ -10,7 +10,7 @@ fn set_stop_words(index: &Index, stop_words: &[&str]) { let mut builder = Settings::new(&mut wtxn, &index, &config); let stop_words = stop_words.into_iter().map(|s| s.to_string()).collect(); builder.set_stop_words(stop_words); - builder.execute(|_| ()).unwrap(); + builder.execute(|_| (), || false).unwrap(); wtxn.commit().unwrap(); }