mirror of
https://github.com/meilisearch/meilisearch.git
synced 2025-07-28 01:01:00 +00:00
Merge remote-tracking branch 'milli/main' into bring-v1-changes
This commit is contained in:
@ -183,14 +183,14 @@ impl<'t> Criterion for Proximity<'t> {
|
||||
}
|
||||
|
||||
fn resolve_candidates(
|
||||
ctx: &'_ dyn Context,
|
||||
ctx: &dyn Context,
|
||||
query_tree: &Operation,
|
||||
proximity: u8,
|
||||
cache: &mut Cache,
|
||||
wdcache: &mut WordDerivationsCache,
|
||||
) -> Result<RoaringBitmap> {
|
||||
fn resolve_operation(
|
||||
ctx: &'_ dyn Context,
|
||||
ctx: &dyn Context,
|
||||
query_tree: &Operation,
|
||||
proximity: u8,
|
||||
cache: &mut Cache,
|
||||
@ -244,7 +244,7 @@ fn resolve_candidates(
|
||||
}
|
||||
|
||||
fn mdfs_pair(
|
||||
ctx: &'_ dyn Context,
|
||||
ctx: &dyn Context,
|
||||
left: &Operation,
|
||||
right: &Operation,
|
||||
proximity: u8,
|
||||
@ -299,7 +299,7 @@ fn resolve_candidates(
|
||||
}
|
||||
|
||||
fn mdfs(
|
||||
ctx: &'_ dyn Context,
|
||||
ctx: &dyn Context,
|
||||
branches: &[Operation],
|
||||
proximity: u8,
|
||||
cache: &mut Cache,
|
||||
|
@ -240,14 +240,14 @@ fn alterate_query_tree(
|
||||
}
|
||||
|
||||
fn resolve_candidates(
|
||||
ctx: &'_ dyn Context,
|
||||
ctx: &dyn Context,
|
||||
query_tree: &Operation,
|
||||
number_typos: u8,
|
||||
cache: &mut HashMap<(Operation, u8), RoaringBitmap>,
|
||||
wdcache: &mut WordDerivationsCache,
|
||||
) -> Result<RoaringBitmap> {
|
||||
fn resolve_operation(
|
||||
ctx: &'_ dyn Context,
|
||||
ctx: &dyn Context,
|
||||
query_tree: &Operation,
|
||||
number_typos: u8,
|
||||
cache: &mut HashMap<(Operation, u8), RoaringBitmap>,
|
||||
@ -277,7 +277,7 @@ fn resolve_candidates(
|
||||
}
|
||||
|
||||
fn mdfs(
|
||||
ctx: &'_ dyn Context,
|
||||
ctx: &dyn Context,
|
||||
branches: &[Operation],
|
||||
mana: u8,
|
||||
cache: &mut HashMap<(Operation, u8), RoaringBitmap>,
|
||||
|
@ -291,6 +291,7 @@ impl<'a> FacetDistribution<'a> {
|
||||
if !invalid_fields.is_empty() {
|
||||
return Err(UserError::InvalidFacetsDistribution {
|
||||
invalid_facets_name: invalid_fields.into_iter().cloned().collect(),
|
||||
valid_facets_name: filterable_fields.into_iter().collect(),
|
||||
}
|
||||
.into());
|
||||
} else {
|
||||
|
Reference in New Issue
Block a user