mirror of
https://github.com/meilisearch/meilisearch.git
synced 2025-09-06 04:36:32 +00:00
Fix signature of backend change function
This commit is contained in:
@ -119,10 +119,10 @@ impl VectorStore {
|
|||||||
&mut self,
|
&mut self,
|
||||||
wtxn: &mut RwTxn,
|
wtxn: &mut RwTxn,
|
||||||
progress: Progress,
|
progress: Progress,
|
||||||
must_stop_processing: MSP,
|
must_stop_processing: &MSP,
|
||||||
) -> crate::Result<()>
|
) -> crate::Result<()>
|
||||||
where
|
where
|
||||||
MSP: Fn() -> bool + Sync + Send,
|
MSP: Fn() -> bool + Sync,
|
||||||
{
|
{
|
||||||
if self.backend == VectorStoreBackend::Arroy {
|
if self.backend == VectorStoreBackend::Arroy {
|
||||||
self.backend = VectorStoreBackend::Hannoy;
|
self.backend = VectorStoreBackend::Hannoy;
|
||||||
|
Reference in New Issue
Block a user