Mark get_vector_store as public

This commit is contained in:
Louis Dureuil
2025-09-01 16:37:52 +02:00
parent 4ccce18d7b
commit c9cc748f42

View File

@ -469,7 +469,7 @@ impl Index {
)?) )?)
} }
pub(crate) fn get_vector_store(&self, rtxn: &RoTxn<'_>) -> Result<VectorStoreBackend> { pub fn get_vector_store(&self, rtxn: &RoTxn<'_>) -> Result<VectorStoreBackend> {
Ok(self Ok(self
.main .main
.remap_types::<Str, SerdeJson<VectorStoreBackend>>() .remap_types::<Str, SerdeJson<VectorStoreBackend>>()