diff --git a/milli/src/search/criteria/mod.rs b/milli/src/search/criteria/mod.rs
index d21102e64..45689bbe5 100644
--- a/milli/src/search/criteria/mod.rs
+++ b/milli/src/search/criteria/mod.rs
@@ -10,7 +10,17 @@ use super::query_tree::{Operation, Query, QueryKind};
pub mod typo;
pub trait Criterion {
- fn next(&mut self) -> anyhow::Result