Fix compiler warnings/errors

This commit is contained in:
Loïc Lecrenier 2023-04-03 10:09:27 +02:00
parent 0d2e7bcc13
commit 4708d9b016
2 changed files with 2 additions and 1 deletions

View File

@ -52,6 +52,7 @@ fn main() -> Result<(), Box<dyn Error>> {
&(!query.trim().is_empty()).then(|| query.trim().to_owned()), &(!query.trim().is_empty()).then(|| query.trim().to_owned()),
// what a the from which when there is // what a the from which when there is
TermsMatchingStrategy::Last, TermsMatchingStrategy::Last,
false,
&None, &None,
&None, &None,
0, 0,

View File

@ -37,7 +37,7 @@ use self::interner::Interner;
use self::ranking_rules::{BoxRankingRule, RankingRule}; use self::ranking_rules::{BoxRankingRule, RankingRule};
use self::resolve_query_graph::compute_query_graph_docids; use self::resolve_query_graph::compute_query_graph_docids;
use self::sort::Sort; use self::sort::Sort;
use crate::search::new::distinct::{apply_distinct_rule, DistinctOutput}; use crate::search::new::distinct::apply_distinct_rule;
use crate::{ use crate::{
AscDesc, Filter, Index, MatchingWords, Member, Result, SearchResult, TermsMatchingStrategy, AscDesc, Filter, Index, MatchingWords, Member, Result, SearchResult, TermsMatchingStrategy,
UserError, UserError,