mirror of
https://github.com/meilisearch/meilisearch.git
synced 2025-07-28 01:01:00 +00:00
Simplify the logger
This commit is contained in:
@ -190,10 +190,8 @@ impl<'ctx, G: RankingRuleGraphTrait> RankingRule<'ctx, QueryGraph> for GraphBase
|
||||
cur_distance_idx: _,
|
||||
} = &mut state;
|
||||
|
||||
let original_universe = universe;
|
||||
let mut universe = universe.clone();
|
||||
|
||||
let original_graph = graph.clone();
|
||||
let mut used_conditions = SmallBitmap::for_interned_values_in(&graph.conditions_interner);
|
||||
let mut good_paths = vec![];
|
||||
let mut considered_paths = vec![];
|
||||
@ -272,16 +270,6 @@ impl<'ctx, G: RankingRuleGraphTrait> RankingRule<'ctx, QueryGraph> for GraphBase
|
||||
}
|
||||
})?;
|
||||
|
||||
G::log_state(
|
||||
&original_graph,
|
||||
&considered_paths,
|
||||
dead_ends_cache,
|
||||
original_universe,
|
||||
all_costs,
|
||||
cost,
|
||||
logger,
|
||||
);
|
||||
|
||||
// We modify the next query graph so that it only contains the subgraph
|
||||
// that was used to compute this bucket
|
||||
// But we only do it in case the bucket length is >1, because otherwise
|
||||
|
Reference in New Issue
Block a user