mirror of
https://github.com/meilisearch/meilisearch.git
synced 2025-09-26 14:56:29 +00:00
Rename HannoyStats to VectorStoreStats
The stats can be provided by any backend
This commit is contained in:
@ -645,7 +645,7 @@ impl VectorStore {
|
||||
pub fn aggregate_stats(
|
||||
&self,
|
||||
rtxn: &RoTxn,
|
||||
stats: &mut HannoyStats,
|
||||
stats: &mut VectorStoreStats,
|
||||
) -> Result<(), crate::Error> {
|
||||
if self.backend == VectorStoreBackend::Arroy {
|
||||
if self.quantized {
|
||||
@ -1161,7 +1161,7 @@ where
|
||||
}
|
||||
|
||||
#[derive(Debug, Default, Clone)]
|
||||
pub struct HannoyStats {
|
||||
pub struct VectorStoreStats {
|
||||
pub number_of_embeddings: u64,
|
||||
pub documents: RoaringBitmap,
|
||||
}
|
||||
|
Reference in New Issue
Block a user