#community-help

Sync Completion Notification in Typesense

TLDR Jamshid inquired about saying when typesense sync is complete. Jason informed that it notifies upon return of import API call.

Powered by Struct AI
Oct 13, 2023 (1 month ago)
Jamshid
Photo of md5-317ed6510eb7587c9e9243fb6ebc4e87
Jamshid
06:17 PM
As soon as the sync to typesense is complete, we want to run an endpoint that makes certain fields in the schema facet: true . Is there a way that typesense can let us know when the sync/import is complete?
Jason
Photo of md5-8813087cccc512313602b6d9f9ece19f
Jason
10:39 PM
When the import API call returns, then the indexing is complete
10:39
Jason
10:39 PM
So it's a syncronous endpoint and there are no other callbacks