Merge forward and backward proximity conditions in proximity graph

This commit is contained in:
Loïc Lecrenier
2023-03-15 13:02:55 +01:00
parent c0cdaf9f53
commit 05fe856e6e
4 changed files with 50 additions and 58 deletions

View File

@ -303,7 +303,7 @@ mod tests {
let mut ctx = SearchContext::new(&index, &txn);
let results = execute_search(
&mut ctx,
"releases from poison by the government",
"which a the releases from poison by the government",
// "sun flower s are the best",
// "zero config",
TermsMatchingStrategy::Last,
@ -359,7 +359,7 @@ mod tests {
let start = Instant::now();
let mut s = Search::new(&txn, &index);
s.query("releases from poison by the government");
s.query("which a the releases from poison by the government");
s.terms_matching_strategy(TermsMatchingStrategy::Last);
// s.criterion_implementation_strategy(crate::CriterionImplementationStrategy::OnlySetBased);
let docs = s.execute().unwrap();