Removed unused search impl

This commit is contained in:
Louis Dureuil 2023-03-27 11:04:27 +02:00
parent 16fefd364e
commit 5a644054ab
No known key found for this signature in database

View File

@ -33,7 +33,7 @@ use roaring::RoaringBitmap;
use words::Words; use words::Words;
use self::ranking_rules::RankingRule; use self::ranking_rules::RankingRule;
use crate::{Filter, Index, MatchingWords, Result, Search, SearchResult, TermsMatchingStrategy}; use crate::{Filter, Index, MatchingWords, Result, SearchResult, TermsMatchingStrategy};
/// A structure used throughout the execution of a search query. /// A structure used throughout the execution of a search query.
pub struct SearchContext<'ctx> { pub struct SearchContext<'ctx> {
@ -292,10 +292,3 @@ pub fn execute_search(
documents_ids, documents_ids,
}) })
} }
impl<'a> Search<'a> {
// TODO
pub fn execute_new(&self) -> Result<SearchResult> {
todo!()
}
}