mirror of
https://github.com/meilisearch/meilisearch.git
synced 2025-09-08 05:36:31 +00:00
Make cargo fmt happy
This commit is contained in:
committed by
Louis Dureuil
parent
4645813ea8
commit
97ea9e9937
@ -133,8 +133,7 @@ impl VectorStore {
|
||||
self._items_in_store(rtxn, self.quantized_db(), store_id, with_items)
|
||||
.map_err(Into::into)
|
||||
} else {
|
||||
self._items_in_store(rtxn, self.angular_db(), store_id, with_items)
|
||||
.map_err(Into::into)
|
||||
self._items_in_store(rtxn, self.angular_db(), store_id, with_items).map_err(Into::into)
|
||||
}
|
||||
}
|
||||
|
||||
@ -582,8 +581,7 @@ impl VectorStore {
|
||||
.map_err(Into::into)
|
||||
}
|
||||
} else if self.quantized {
|
||||
self._nns_by_item(rtxn, self.quantized_db(), item, limit, filter)
|
||||
.map_err(Into::into)
|
||||
self._nns_by_item(rtxn, self.quantized_db(), item, limit, filter).map_err(Into::into)
|
||||
} else {
|
||||
self._nns_by_item(rtxn, self.angular_db(), item, limit, filter).map_err(Into::into)
|
||||
}
|
||||
@ -665,8 +663,7 @@ impl VectorStore {
|
||||
self._nns_by_vector(rtxn, self.quantized_db(), vector, limit, filter)
|
||||
.map_err(Into::into)
|
||||
} else {
|
||||
self._nns_by_vector(rtxn, self.angular_db(), vector, limit, filter)
|
||||
.map_err(Into::into)
|
||||
self._nns_by_vector(rtxn, self.angular_db(), vector, limit, filter).map_err(Into::into)
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user