mattie-strapi-bundle
mattie-strapi-bundle copied to clipboard
Feature/rebuild indexes
We have issues where on a deployment we want to force a complete re-indexing. This PR enables this by:
- Adding a
clear()
method to the provider interface (and implementing it for Algolia) - Adding a
rebuild()
method to the service to enable programmatic reindexing
The rebuild()
method comes with the caveat that it includes a findMany()
call that retrieves all entities; for large tables this may be expensive.
I have not implemented an admin interface but this would be an obvious next step.
The latest updates on your projects. Learn more about Vercel for Git ↗︎
1 Ignored Deployment
Name | Status | Preview | Updated |
---|---|---|---|
mattie-strapi-bundle | ⬜️ Ignored (Inspect) | Aug 14, 2022 at 8:21PM (UTC) |