Compute edges of proximity graph lazily

This commit is contained in:
Loïc Lecrenier
2023-03-21 10:44:40 +01:00
parent 272cd7ebbd
commit 83e5b4ed0d
12 changed files with 345 additions and 841 deletions

View File

@ -9,9 +9,9 @@ use super::{QueryGraph, RankingRule, RankingRuleOutput, SearchContext};
use crate::{Result, TermsMatchingStrategy};
pub struct Words {
exhausted: bool,
exhausted: bool, // TODO: remove
query_graph: Option<QueryGraph>,
iterating: bool,
iterating: bool, // TODO: remove
positions_to_remove: Vec<i8>,
terms_matching_strategy: TermsMatchingStrategy,
}