How to export your data from Algolia

Algolia's documented export path is the browse method, which returns records but not ranking logic, highlighting or Analytics data. This guide covers what exports, what must be rebuilt by hand, and how to verify a complete copy before the contract ends.

On this page

How to export your data from Algolia before the contract ends

If your Algolia renewal, pricing change or data residency concern has put a deadline on the contract, the first thing to know is what can leave the platform. Records export through the browse method, which Algolia documents as the way to export indices. Query rules, synonyms, index settings and analytics do not come out with the records, so each of them needs its own export or a manual rebuild in your target engine. Plan those as separate work items from the day you start.

Browse returns up to 1,000 records per request, so a large index means many paginated calls, and the response omits highlighting and ranking details and does not collect Analytics data. The call also needs an API key with the browse ACL. Create a dedicated key with only that permission for the export, confirm it works against a small index first, and revoke it afterward. Check the key's other permissions and any restrictions on it before you run a full export, because a key that looks correct can still fail partway through a large index.

This page covers only the documented export paths: the browse method, the browseObjects client method used in Meilisearch's guide, and the Algolia CLI used in Typesense's guide. Confirm the current method names, limits and key requirements in Algolia's API reference for browse and your own contract before you rely on them, since Algolia may change them. Export a complete copy of every index, then compare record counts with the source before you cancel anything.

What Algolia exports and how: browse, format and limits

This table maps each Algolia data type to its documented export path, output format and limit. The browse method returns records only, without highlighting, ranking details or Analytics data, so every other item needs its own plan. Treat rows marked not documented as items to confirm with Algolia before cutover.

Data typeDocumented export methodOutput format and limit
RecordsBrowse method, or the Algolia CLI exportJSONL via the CLI; browse returns up to 1,000 records per request
Browse permissionAPI key with the browse ACLRequired for browse; without it the export fails
Index settingsNot documented in the supplied sources; confirm with AlgoliaMap by hand to target settings such as filterable and sortable attributes
SynonymsNo export path documented for browse; confirm with AlgoliaRecreate in the target engine's synonym configuration
Rules (query rules)Not returned by browse; confirm the export pathTypesense converts query rules to its Overrides API
Analytics dataBrowse does not collect Analytics data; no path documentedPlan to capture or retain history separately if you need it
Highlighting and ranking detailsNot returned by browseRetest relevance and highlighting on the target engine before cutover
API keysNot part of browse output; confirm what Algolia lets you listCreate new keys in the target platform and update client applications

How the browse method works and which API key it needs

The browse method is Algolia's documented way to export an index. It returns up to 1,000 records per request, and it does not return highlighting or ranking details or Analytics data, so the export carries the record content and nothing about how the records performed. Calling browse requires an API key with the browse ACL. Before you run anything, confirm the key's permissions in the Algolia dashboard, and treat the export as a full read of every record in the index, which is why the key handling matters as much as the command itself.

Create a dedicated key for the export rather than reusing your search-only or admin keys. Scope it to the single index you are exporting, grant only the browse permission, and leave out write, delete and settings rights. Give it a clear description so it is easy to find later. Because the key can read every record in that index, anyone who holds it can copy your full catalog, so store it in your secrets manager during the run and do not paste it into shared tickets, chat or repository files. Confirm the exact key options and any restrictions available on your Algolia plan with Algolia before you rely on them.

Browse returns results in pages, and the client library follows a cursor from one request to the next until the index is exhausted. Check the record count the export produces against the index size shown in the dashboard, and keep the raw output as the reference copy for your import tests. Once the export is verified and stored in your own environment, delete the export key in the Algolia dashboard, and confirm in the key list that it no longer exists. Record the deletion in your migration log so the security team can see that no broad-read credential remains active after the move.

Sequence for a complete Algolia export with verification

This sequence moves every index, record, and configuration object out of Algolia with a documented count for each index, so you can prove the export is complete before any access is removed. It also confirms the exported data loads into the engine you plan to run.

  1. Inventory every index and replica

    Start by listing each index in the Algolia dashboard or through the API, including replica indices, which Algolia treats as separate indices with their own sort order. Record the index name, approximate record count, and whether the index is a primary or a replica. Your platform owner or search lead should sign off on this list, since anything missing from it will not be exported. The step is complete when you have one written inventory that every later count can be checked against.

  2. Create a scoped browse key

    Create a separate API key for the export with only the browse access control list (ACL) on the indices in your inventory. Do not reuse the admin key or the search-only key used by front ends. Algolia's browse method requires this ACL, so a key without it will fail the export. The step is complete when the key is tested against one small index and returns records, and the key's scope is recorded in your change log.

  3. Export records with the CLI or browse

    Export each index using the Algolia CLI or a client library that calls browse, writing the output to a dated folder with one file per index. Browse returns up to 1,000 records per request and omits highlighting, ranking details, and Analytics data, so keep the raw records as the system of record and treat any ranking logic as a separate task. Confirm that the export tool paginates through the whole index instead of stopping at the first page. The step is complete when every index has an output file.

  4. Save settings, synonyms and rules as JSON

    Export the index settings, synonyms, and query rules separately, since browse does not return them. Store each object as a JSON file next to the records, named by index. Note that query rules and synonyms are not automatically transferable to another engine, so you will need to convert them by hand later. The step is complete when each index has a settings file, a synonyms file, and a rules file, even if some are empty.

  5. Count and checksum records per index

    For each exported file, count the records and calculate a checksum, such as a SHA-256 hash, so later copies can be compared against the original. Keep the counts and hashes in a manifest file stored with the export. A mismatch between the file and the manifest means the export or the copy was incomplete. The step is complete when the manifest lists every index with its record count and checksum.

  6. Compare counts with the Algolia dashboard

    Before revoking anything, compare each manifest count with the record count shown for that index in the Algolia dashboard, taken at the same point in time. If the source index changes during the export, note the difference and rerun the export for that index. Keep a dated screenshot or dashboard export as evidence. The step is complete when every index matches or each difference is explained and resolved in writing.

  7. Reload the export into the target engine

    Import the exported records into a test instance of your target engine, such as Meilisearch or Typesense, and check that the document count matches the manifest. Run a set of known searches on both engines and compare the top results, while accepting that ranking will differ. Reloading also tests your mapping of the object ID and any typed fields. The step is complete when the test instance returns the expected counts and your search team has signed off on relevance.

  8. Revoke the export key after verification

    Once the manifest, the dashboard comparison, and the test reload all pass, store the export files and manifest in your retained backup location and revoke the browse key. Confirm the revocation by attempting one export call with the key and checking that it is refused. Keep the revoked key's ID in the change record. The step is complete when the key fails and the export archive is confirmed readable by the team that will use it.

What does not export from Algolia and the workaround for each

The browse method returns records, not the full configuration behind them. Ranking details, highlighting, Analytics history, rules, synonyms, settings and experiment setups sit outside that export, so each needs its own handling. The cards below cover each gap, the documented workaround where one exists, and what to confirm with Algolia before you decommission the application.

Ranking details and highlighting

Browse returns records without highlighting or ranking details, so the per-hit highlight and ranking output your front end uses is not part of the export. Ranking behavior has to be rebuilt from the index settings: searchable attributes, custom ranking and the tie-breaking order. Compare sample queries from production against the new engine before cutover, because the rebuilt ranking will differ in small ways that matter to merchandisers. Confirm with Algolia which ranking fields your index actually uses, since some of them are only visible in the dashboard.

Browse reference

Analytics history

The browse method does not collect Analytics data, so search volume, click-through, no-result queries and conversion history stay in Algolia. Losing that history removes the baseline you would use to judge whether a self-hosted engine performs as well. Export what you need from the Analytics dashboard or the Analytics API before the subscription ends, and store it in your own warehouse. Confirm with Algolia how far back the retained data goes and whether it can be exported in bulk.

Query rules

Query rules, which boost, bury or pin results for specific queries, are configuration and are not returned by browse. Each rule has to be read through Algolia's configuration API or the dashboard, then recreated in the target engine. Typesense converts query rules into its Overrides API, and Meilisearch handles pinning and boosting through its own settings, so the mapping is manual work. Test every rule that drives revenue, because a rule that looked simple in the dashboard can carry conditions that are easy to miss.

Synonyms and index settings

Synonyms and index settings such as searchable attributes, facets, replicas and typo tolerance are not part of the record export. Algolia's configuration API documents how to read settings and synonyms per index, so export them to files under version control before you rebuild. Meilisearch maps attributesForFaceting to filterableAttributes and replicas to sortableAttributes, but some parameters, such as aroundPrecision, have no equivalent. Confirm which settings your team uses and which of them the target engine supports.

Meilisearch migration guide

A/B tests and personalization

Server-side A/B test definitions, their traffic splits and their results are held in Algolia, and personalization profiles and strategies are configured there too. Typesense documents that server-side A/B testing and out-of-the-box personalization are missing, so these features need a replacement design rather than a copy. Record the active experiments and personalization strategy in writing, then decide whether to rebuild them in your application or drop them. Confirm with Algolia what each experiment currently serves and whether any of it is still live.

Recommendations and event tracking

Recommendation models and the event stream that feeds them are managed by Algolia and are not exported by browse. Built-in event tracking also has no direct equivalent in Typesense, so any click or conversion events you send today must be routed to a tracking store you control. Plan this before cutover so that personalization data and event history are not lost in the switch. Ask Algolia which event data you can retrieve, in what format and for what period.

API keys and access settings

API keys, their ACLs, indexes they can reach and any referrer or rate restrictions are administrative objects that browse never returns. Keys with the browse ACL are required to export, so create a temporary export key with only that permission and revoke it after the migration. Document the production keys your front ends use so that the replacement service issues its own keys with matching restrictions. Confirm with Algolia which key restrictions apply to each application before you remove them.

What you rebuild by hand when moving to Meilisearch or Typesense

Exporting records is the easy part. Index configuration does not move with them, so the settings you rebuild by hand decide whether search behaves the same after cutover. Meilisearch's Algolia migration guide maps attributesForFaceting to filterableAttributes and sort replicas to sortableAttributes, and it notes that Meilisearch separates index settings from per-query search parameters, so some Algolia query-time options must move into your search requests instead. Typesense takes a different route: you define a typed collection schema up front, which means each attribute you facet on, sort by or search must be declared with a type before import. In both engines, list every Algolia setting from the index configuration, including ranking, searchable attributes and attributes to retrieve, and record where each one lands. Confirm the current mapping in each vendor's guide, since the mapping tables change between releases.

Query rules and synonyms also need explicit work. Typesense's guide converts Algolia query rules to its Overrides API, so rules that pin or promote results must be rewritten and tested against the same queries. Meilisearch's guide does not give a one-to-one rule conversion, so plan to recreate those rules by hand and check merchandising results against a fixed set of queries. Synonyms are recreated in each engine's own synonym configuration, not imported from Algolia's object format. Keep a spreadsheet of every rule and synonym with the query that exercises it, and rerun that set after each change.

Some Algolia parameters have no equivalent. The migration guides for Meilisearch name aroundPrecision, restrictHighlightAndSnippetArrays and disablePrefixOnAttributes as unsupported, so confirm how much your front end depends on them and decide whether to drop them or adjust the UI. Also check the front end: InstantSearch widgets need an adapter, which is the Instant Meilisearch adapter for Meilisearch and the typesense-instantsearch-adapter for Typesense. The Typesense migration guide explains which widgets keep working with small changes. Use the sibling migration pages for the step-by-step import and cutover work for each engine.

How much effort does an Algolia export take, and what does it need from us?

How long does a full Algolia export take?

The duration depends mainly on how many records you have across all indices and how many browse pages each index needs, since the browse method returns up to 1,000 records per request. Total record count, number of indices, and the size of each record's attributes all affect how many requests run and how long they take. No fixed duration applies to every account, so confirm record counts per index in your own Algolia dashboard before estimating. Run one index as a timed test export to measure throughput in your environment, then extrapolate to the full set.

Can one engineer export the Algolia data alone?

A single engineer with API access and a working knowledge of the Algolia client libraries can usually export records on their own, because the export itself is a scripted loop over browse pages. The harder parts are rebuilding configuration, which covers rules, synonyms, settings and analytics, and validating search relevance on the new engine. Those tasks need someone who can read the search results, compare them with production behavior, and sign off before cutover. Plan for a second person to review relevance and the front-end changes.

What access does the export need from our team?

The export needs an Algolia API key that carries the browse access control list, which is the permission the browse method requires. Ask the account owner to create a dedicated key with that permission only, rather than reusing an admin key, and record who owns it and when it expires. You also need dashboard access to read index settings, rules, synonyms and API key configuration, because the browse method returns records without ranking details or analytics data. Finally, set up a staging search engine where the imported data can be tested before production traffic moves.

Which costs are one-time and which recur after the export?

One-time costs include the export script, the import into the new engine, rebuilding rules and synonyms, adapting the front end, and relevance testing. Recurring costs come from running the self-hosted engine itself, which means servers or cloud instances sized to your records and query volume, backups, monitoring, upgrades and on-call support. Algolia billing and self-hosted infrastructure costs do not overlap, so keep the Algolia subscription running until cutover is verified. Ask for each cost line to be marked as one-time or recurring in any quote.

What should we ask for in a quote for this export?

Ask for a written scope that lists each index to export, the record count you confirmed from your own account, the number of rules and synonyms to rebuild, and the target engine. Request deliverables such as the export script, the import mapping, a list of configuration items that could not be carried over, and a test report comparing search results. Ask how staging is handled, who owns the API keys during the work, what happens if the record count changes before cutover, and how the work is priced, whether fixed-scope or retainer. DeployOpen agrees scope, deliverables and timelines in writing before work starts, and quotes follow from that written scope.

What drives the effort up, and what keeps it down?

Effort rises with the number of indices, the volume of custom query rules and synonyms, the use of features with no direct equivalent on the target engine, and the number of front-end integrations that call Algolia directly. Effort falls when indices share a consistent schema, when rules are few and documented, and when the front end already uses a standard InstantSearch setup. Check whether your application uses methods or parameters that the migration guides describe as having no equivalent, since these add design work. Confirm these counts in your own account before requesting a quote.

How do we check that the export is complete?

Compare record counts per index between Algolia and the staging engine after import, and sample records to confirm that fields, object identifiers and nested attributes arrived intact. Keep a record of the export run, including timestamps, failed pages and retries, so you can rerun only the affected batches. Remember that browse does not return ranking details or analytics, so those must be documented from the dashboard and rebuilt separately. Run a set of known queries on both engines and review the differences before approving cutover.

What to plan before the Algolia renewal or termination date

An export is only as complete as the planning around it. The six items below cover access, change control, cutover safety, licensing records and the target decision, and they run in roughly the order a team needs them.

Confirm export access with the owner

Ask the Algolia account owner which API keys exist and whether one carries the browse ACL needed for the browse method. Confirm which applications and indices the key can reach, and who can create a temporary key if none qualifies. Record the key's name and scope before the export starts so the access trail is clear later.

Records per browse request
1,000
Browse API reference

Freeze index changes during export

Ask the team that edits records, rules and synonyms to pause changes while the export runs. A record updated mid-export can end up in the target engine in a stale state, and a rule edited after export will be missing from the rebuilt configuration. Agree on a named freeze window and a single person who can approve exceptions.

Keep the hosted index live

Leave the Algolia index running and serving production traffic until the new engine passes relevance and count checks. Compare record counts, a sample of top queries and the filters used by your front end. Do not decommission or stop writes to the hosted index until the cutover checks are signed off in writing.

Record current plan and AI usage

Export a written inventory of the current plan, the features enabled (including any AI or NeuralSearch functions), the number of indices, replicas and rules, and the monthly usage shown in your billing dashboard. This inventory is what you compare against the target engine and what you cite when you negotiate or give notice, so capture it before any renewal decision.

Decide target engine and hosting

Choose between Meilisearch, Typesense and OpenSearch, and decide where it will run and who operates it. Each option has different memory needs, licensing terms and operational duties. Typesense, for example, keeps data in memory and its documentation lists RAM sizing rules, so the hosting decision should follow a sizing exercise on your real record set rather than a guess.

Recommended production nodes
3 or 5

Set the key revocation date

Put a dated task on the calendar to revoke every Algolia API key that the export or migration used, once cutover is complete and the hosted index is retired. Keep a copy of the key inventory so you can confirm nothing with write access remains active. Revocation should follow the renewal or termination notice, not precede it, so the rollback path stays open.

How records, settings and rebuilt configuration move from Algolia to a target engine

The flow starts with the Algolia index, which feeds two export paths: the browse method and the Algolia CLI. Exported records and JSON settings land in a staging area, where a verification step compares record counts and checksums against the source before anything is imported into the target engine. Query rules and synonyms do not travel automatically, so they follow a separate manual rebuild branch that you check by hand against the target's own configuration model.

Export paths, staging, verification and import, with manual rebuild of rules and synonyms.

What a DeployOpen exit engagement covers for Algolia

An exit engagement starts with an inventory, because the export is the easy part. Before any record leaves Algolia, the work lists every index, its record count, the attributes used for faceting and ranking, the replicas, the synonyms, the query rules and the front-end code that calls the search API. DeployOpen runs that inventory with your team, and the result is a written map of what must be exported and what must be rebuilt on the target engine. Scope, deliverables and timelines are agreed in writing before work starts, so the inventory also sets the boundary of the engagement.

The export runs inside your environment. The browse method returns up to 1,000 records per request and needs an API key with the browse ACL, so the key is created with that permission only, scoped to the indices being moved, and revoked when the run finishes. Each run produces verification evidence: record counts per index compared with the Algolia dashboard, checksums or sampled record comparisons, and a log of any errors or retries. The target engine, whether Meilisearch, Typesense or OpenSearch, is hosted in your own cloud account, data center or air-gapped network, so exported data never leaves infrastructure you control.

Configuration is rebuilt by hand and then tested. Settings such as searchable and filterable attributes, ranking rules and synonyms are mapped to the target's own model, and anything without an equivalent is recorded as a decision for your product owners. DeployOpen then retests relevance against a query set agreed with your merchandisers or content owners, covering typo tolerance, facets and the highest-traffic searches, and reports the differences before cutover. Confirm with your team which Algolia analytics history you need to keep, since browse does not collect Analytics data, and ask for the retest results and fixes in the written deliverables.

How DeployOpen scopes, delivers and supports an Algolia data exit

DeployOpen approaches an Algolia data exit as a fixed-scope engagement in your own infrastructure. We start from the indices, API keys and configuration you actually run, then plan the export, rebuild and handover in writing before any work begins.

How we scope

  • Inventory every Algolia index, replica, rule set and synonym list that the export must cover
  • Confirm which API keys hold the browse ACL and who controls their rotation and revocation
  • Agree in writing which settings, rules and analytics are exported, rebuilt by hand or retired

How we build

  • Run the browse export against a copy of each index and check record counts against Algolia
  • Build the target index in your chosen self-hosted engine with mapped settings and typed fields
  • Test search relevance against sample queries from your existing analytics before any cutover

How we hand over

  • Document the export scripts, field mappings, rebuilt rules and every manual change made
  • Provide a retest record showing how results compare with the original Algolia configuration
  • Walk your engineers through the runbook so they can repeat the export without DeployOpen

How we support

  • Offer ongoing support, upgrades and continuous testing for the self-hosted search service as a retainer
  • Keep backups and restore steps for the search indices under your own operational controls
  • Confirm the retainer terms and upgrade cadence with your team as part of the written scope

Sources and further reading

Talk to our team.

Tell us what you're working on, whether it's a deployment, an audit, a security test or a cyber range. You'll speak with an engineer who can help you scope it.

  • 30-minute call: free, with no obligation.
  • NDA on request: we can sign before you share details.
  • Clear next steps: a scope and plan after the call.