Migrating from Typesense to Sprigr
Typesense stores documents in collections with a defined schema. Sprigr uses schema-free JSON objects similar to Algolia. To migrate, export your Typesense collections as JSON, map your fields to Sprigr's record format, and import them via the REST API. In most cases, this is a straightforward field-by-field mapping since both systems work with JSON documents.
On the frontend, you replace the Typesense client library and search calls with Sprigr's single script tag. Since Sprigr handles search locally in the browser, you remove the network-dependent search calls entirely. The result is simpler frontend code with fewer dependencies and no search server to maintain.
Typesense's search parameters like query_by, filter_by, and sort_by have analogous concepts in Sprigr's configuration. Searchable attributes, facet filters, and custom ranking all translate directly. The main difference is that Sprigr's search runs client-side, so there is no API call per keystroke once the index is loaded.