Migrating from Elasticsearch to Sprigr
If you are currently using Elasticsearch for site search, migrating to Sprigr simplifies your stack considerably. The process involves exporting your documents from Elasticsearch and pushing them to the Sprigr REST API.
Elasticsearch stores documents as JSON objects, and Sprigr indexes JSON objects with the same structure. Export your documents from Elasticsearch (using the Scroll API or a simple query), map them to Sprigr's record format (each record needs an objectID and your searchable attributes), and push them via the Sprigr REST API. The API is Algolia-compatible, so if you have experience with Algolia's record format, the structure will be familiar.
On the frontend, you replace your Elasticsearch query logic (whether you were using the JavaScript client, a REST proxy, or a custom backend) with Sprigr's single script tag. The search module loads your index and handles queries locally in the browser. You can remove your Elasticsearch cluster, your search proxy server, and any associated monitoring infrastructure.
For teams that built custom relevance tuning in Elasticsearch (boosting, function scores, decay functions), Sprigr provides searchable attribute priority ordering, custom ranking attributes, and hybrid semantic search with reciprocal rank fusion. The tuning model is simpler but covers the common site search scenarios without writing complex query DSL.