mirror of
https://github.com/meilisearch/meilisearch.git
synced 2025-07-28 01:01:00 +00:00
Introduce the Proximity criterion
This commit is contained in:
@ -79,6 +79,13 @@ impl Operation {
|
||||
Self::Consecutive(ops)
|
||||
}
|
||||
}
|
||||
|
||||
pub fn query(&self) -> Option<&Query> {
|
||||
match self {
|
||||
Operation::Query(query) => Some(query),
|
||||
_ => None,
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
#[derive(Clone, Eq, PartialEq, Hash)]
|
||||
|
Reference in New Issue
Block a user