Introduce the Proximity criterion

This commit is contained in:
Kerollmops
2021-02-22 17:17:01 +01:00
parent 22b84fe543
commit 9bc9b36645
4 changed files with 301 additions and 8 deletions

View File

@ -10,6 +10,7 @@ use super::query_tree::{Operation, Query, QueryKind};
pub mod typo;
pub mod words;
pub mod asc_desc;
pub mod proximity;
pub trait Criterion {
fn next(&mut self) -> anyhow::Result<Option<CriterionResult>>;