mirror of
https://github.com/meilisearch/meilisearch.git
synced 2025-07-27 08:41:00 +00:00
Unrelated minor fixes
This commit is contained in:
@ -1461,8 +1461,6 @@ fn some_documents<'a, 't: 'a>(
|
|||||||
document.remove("_vectors");
|
document.remove("_vectors");
|
||||||
}
|
}
|
||||||
RetrieveVectors::Retrieve => {
|
RetrieveVectors::Retrieve => {
|
||||||
// Clippy is simply wrong
|
|
||||||
#[allow(clippy::manual_unwrap_or_default)]
|
|
||||||
let mut vectors = match document.remove("_vectors") {
|
let mut vectors = match document.remove("_vectors") {
|
||||||
Some(Value::Object(map)) => map,
|
Some(Value::Object(map)) => map,
|
||||||
_ => Default::default(),
|
_ => Default::default(),
|
||||||
|
@ -111,7 +111,7 @@ impl FilterableAttributesFeatures {
|
|||||||
self.filter.is_filterable_null()
|
self.filter.is_filterable_null()
|
||||||
}
|
}
|
||||||
|
|
||||||
/// Check if `IS EXISTS` is allowed
|
/// Check if `EXISTS` is allowed
|
||||||
pub fn is_filterable_exists(&self) -> bool {
|
pub fn is_filterable_exists(&self) -> bool {
|
||||||
self.filter.is_filterable_exists()
|
self.filter.is_filterable_exists()
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user