mirror of
https://github.com/meilisearch/meilisearch.git
synced 2025-07-27 08:41:00 +00:00
Fix clippy
This commit is contained in:
@ -614,8 +614,6 @@ impl std::fmt::Display for Token<'_> {
|
|||||||
|
|
||||||
#[cfg(test)]
|
#[cfg(test)]
|
||||||
pub mod tests {
|
pub mod tests {
|
||||||
use std::fmt::format;
|
|
||||||
|
|
||||||
use FilterCondition as Fc;
|
use FilterCondition as Fc;
|
||||||
|
|
||||||
use super::*;
|
use super::*;
|
||||||
|
@ -212,7 +212,7 @@ impl<'a> VectorFilter<'a> {
|
|||||||
embedder_config.config.quantized(),
|
embedder_config.config.quantized(),
|
||||||
);
|
);
|
||||||
|
|
||||||
let mut new_docids = if let Some(fragment_token) = &self.fragment_token {
|
docids |= if let Some(fragment_token) = &self.fragment_token {
|
||||||
let fragment_name = fragment_token.value();
|
let fragment_name = fragment_token.value();
|
||||||
let Some(fragment_config) = embedder_config
|
let Some(fragment_config) = embedder_config
|
||||||
.fragments
|
.fragments
|
||||||
@ -261,8 +261,6 @@ impl<'a> VectorFilter<'a> {
|
|||||||
stats.documents
|
stats.documents
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
docids |= new_docids;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
if let Some(universe) = universe {
|
if let Some(universe) = universe {
|
||||||
|
Reference in New Issue
Block a user