From 54b97ed8e1241072cd5e68e14267f61d96b8d5bf Mon Sep 17 00:00:00 2001 From: Kerollmops Date: Wed, 10 Mar 2021 10:56:26 +0100 Subject: [PATCH] Update the fetcher comments --- milli/src/search/criteria/fetcher.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/milli/src/search/criteria/fetcher.rs b/milli/src/search/criteria/fetcher.rs index 723b5a13a..fa204bdf2 100644 --- a/milli/src/search/criteria/fetcher.rs +++ b/milli/src/search/criteria/fetcher.rs @@ -8,12 +8,12 @@ use crate::search::query_tree::Operation; use crate::search::WordDerivationsCache; use super::{resolve_query_tree, Candidates, Criterion, CriterionResult, Context}; -/// The result of a call to the parent criterion. +/// The result of a call to the fetcher. #[derive(Debug, Clone, PartialEq)] pub struct FetcherResult { - /// The query tree that must be used by the children criterion to fetch candidates. + /// The query tree corresponding to the current bucket of the last criterion. pub query_tree: Option, - /// The candidates that this criterion is allowed to return subsets of. + /// The candidates of the current bucket of the last criterion. pub candidates: RoaringBitmap, /// Candidates that comes from the current bucket of the initial criterion. pub bucket_candidates: RoaringBitmap,