infisearch icon indicating copy to clipboard operation
infisearch copied to clipboard

Explore the use of cloudflare workers

Open ang-zeyu opened this issue 2 years ago • 0 comments

Context: This suggestion was brought up here. There is an existing project https://github.com/wilsonzlin/edgesearch that does this but is more API focused.

A lot of Morsels' code is already setup to split index files, similar to edgesearch. If the performance improvements of using Cloudflare are substantial, this could help to improve the scalability of Morsels even further.

What's missing is:

  • alternate code paths to retrieve index files and field stores from Cloudflare
  • APIs to query and return results
  • Providing easy ways to upload the index files to cloudflare.
  • The architecture could be generalized roughly like so: cloudflare

ang-zeyu avatar Oct 24 '22 05:10 ang-zeyu