mattie-strapi-bundle icon indicating copy to clipboard operation
mattie-strapi-bundle copied to clipboard

Feature/rebuild indexes

Open richardweaver opened this issue 2 years ago • 1 comments

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.

richardweaver avatar Aug 14 '22 20:08 richardweaver

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)

vercel[bot] avatar Aug 14 '22 20:08 vercel[bot]