fix meilisearch reindex

This commit is contained in:
Your Name 2022-03-20 12:05:11 -04:00
parent 47bd9e55c5
commit 573789be00

View file

@ -114,6 +114,7 @@ class Indexer:
except Exception as e:
logger.error(f"replace item error: \n{e}")
@classmethod
def replace_batch(self, objects):
try:
self.instance().update_documents(documents=objects)