mirror of
https://github.com/meilisearch/MeiliSearch
synced 2024-12-24 13:40:31 +01:00
refactor: Change return type to keep consistency with others
This commit is contained in:
parent
e0d24104a3
commit
d3182f3830
@ -1145,8 +1145,8 @@ impl Index {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/// Clears the exact attributes from the store.
|
/// Clears the exact attributes from the store.
|
||||||
pub(crate) fn delete_exact_attributes(&self, txn: &mut RwTxn) -> Result<bool> {
|
pub(crate) fn delete_exact_attributes(&self, txn: &mut RwTxn) -> heed::Result<bool> {
|
||||||
Ok(self.main.delete::<_, Str>(txn, main_key::EXACT_ATTRIBUTES)?)
|
self.main.delete::<_, Str>(txn, main_key::EXACT_ATTRIBUTES)
|
||||||
}
|
}
|
||||||
|
|
||||||
pub fn max_values_per_facet(&self, txn: &RoTxn) -> heed::Result<Option<usize>> {
|
pub fn max_values_per_facet(&self, txn: &RoTxn) -> heed::Result<Option<usize>> {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user