-
Notifications
You must be signed in to change notification settings - Fork 6
Open
Labels
Description
We want to support client side searches. Examples:
- Find all pages that match a label set
- Find all pages relevant to a time range
I think that this functionality can be fully implemented as a client side database.
The flow doesn't even need a cms:
- All the metadata is stored in the
mdfiles. - Each build starts by indexing the content, adding everything to an in-memory database instance, exporting the database to a file and optionally committing the latter.
- The client pulls the database dump after loading and initializes a client-side db (same as in the prev step) with it.
I think that RxDB is a good candidate. It can run in-memory, supports both node.js and browsers and offers export and import of JSON data.
Full text search
I don't have a favorite solution yet. A straightforward client-side solution - loading the full text index on the client side - may turn out to not be scalable.
Reactions are currently unavailable