* server side WASM such as cloudflare workers and kv to build and maintain the index
* streaming copy of the simplified index to be pulled in by a browser-side wasm
* queries that go beyond the simple index forwarded to the worker
One way of simplifying would be to limit search terms to a certain length, or only expose the most popular results.
By sharing wasm code the format can be optimized and not require a compatibility layer or serdes.
* server side WASM such as cloudflare workers and kv to build and maintain the index
* streaming copy of the simplified index to be pulled in by a browser-side wasm
* queries that go beyond the simple index forwarded to the worker
One way of simplifying would be to limit search terms to a certain length, or only expose the most popular results.
By sharing wasm code the format can be optimized and not require a compatibility layer or serdes.