mirror of
https://github.com/meilisearch/meilisearch.git
synced 2024-11-27 04:25:06 +08:00
remove option of bucket_candidates
This commit is contained in:
parent
daf126a638
commit
b0e0c5eba0
@ -63,7 +63,7 @@ impl<'t> Criterion for Fetcher<'t> {
|
||||
return Ok(Some(CriterionResult {
|
||||
query_tree: self.query_tree.clone(),
|
||||
candidates: candidates.clone(),
|
||||
bucket_candidates: Some(candidates),
|
||||
bucket_candidates: candidates,
|
||||
}));
|
||||
},
|
||||
Forbidden(_) => {
|
||||
@ -81,7 +81,7 @@ impl<'t> Criterion for Fetcher<'t> {
|
||||
return Ok(Some(CriterionResult {
|
||||
query_tree: self.query_tree.clone(),
|
||||
candidates: candidates.clone(),
|
||||
bucket_candidates: Some(candidates),
|
||||
bucket_candidates: candidates,
|
||||
}));
|
||||
},
|
||||
}
|
||||
@ -95,7 +95,7 @@ impl<'t> Criterion for Fetcher<'t> {
|
||||
return Ok(Some(CriterionResult {
|
||||
query_tree: self.query_tree.clone(),
|
||||
candidates: candidates.clone(),
|
||||
bucket_candidates: Some(candidates),
|
||||
bucket_candidates: candidates,
|
||||
}));
|
||||
},
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user