Migrate from Elastic App Search to Meilisearch

A practical plan for moving App Search engines to self-hosted Meilisearch, covering what maps cleanly, what needs rework, the cutover sequence and what drives effort.

On this page

Migrate from Elastic App Search to Meilisearch: what the move involves

A team facing App Search end of life that wants Meilisearch can make the move for typical site and app search engines, but it needs relevance rework and a parallel run before traffic switches. The engines are usually document sets with a fixed set of searchable fields, filters, sorting and a handful of synonyms and curations, which map well to Meilisearch's index settings. What does not carry over automatically is the tuning itself, because App Search ranking weights, boosts and curations were set in a dashboard and must be re-expressed as Meilisearch settings and checked against real queries. App Search is absent from Elastic 9.0 and later, so the timing pressure is real: the work should start while 8.x is still supported, not after the upgrade decision is forced on the team.

Search engineers usually own the export, the index design and the settings mapping. Product owners decide which ranking behavior matters and sign off on relevance, since they know which queries and curations the business depends on. Front-end developers replace the App Search UI client, and they need to confirm which client library and adapter the front end will use before the rewrite starts. Confirm with your own team which of these roles are already filled and whether one person covers more than one, because gaps in product ownership are the most common reason relevance checks stall. Ask any outside implementation partner to name who performs each step and how they will hand over the settings in writing.

Plan the effort around three decisions: how many engines you have, how many of them rely on curations or custom ranking, and how much of the traffic depends on them. Keep the old App Search cluster running and route a copy of real queries to Meilisearch in parallel, then compare results and click behavior before any cutover. Record every query where the two systems disagree, because those disagreements are where the rework sits. Confirm the Meilisearch version you will deploy against the Meilisearch releases page and test on that version, since settings behavior can change between releases.

Which App Search capabilities map to Meilisearch and which need rework

This table compares common App Search capabilities with their closest Meilisearch equivalents and marks each row as clean, needs rework or gap. Read the status as a starting point, then confirm each row against your own engine configuration, since App Search engines often carry custom settings that a direct export will not show.

CapabilityMeilisearch equivalentStatusWhat to confirm
Engines and document indexingIndexes with primary key and documents added in batchesCleanDocument IDs, field names and nested objects; flatten or rename fields that Meilisearch should index
Search settings (searchable fields)searchableAttributes and their orderCleanField weighting order in each engine, since attribute order drives ranking in Meilisearch
Typo toleranceTypo tolerance enabled by default, with per-attribute and word-length controlsNeeds reworkCompare behavior on short terms and product codes against App Search results with real queries
Filterable attributes (faceting)filterableAttributes must be declared before filteringNeeds reworkEvery facet and filter used by the UI must be listed in the index settings
Sortable attributessortableAttributes must be declared before sortingNeeds reworkEach sort option in the front end maps to one declared attribute
SynonymsIndex-level synonyms settingNeeds reworkTwo-way and one-way synonym pairs may need restating; test multi-word terms
Curations (pinned results and overrides)No one-to-one equivalent; pinning and boosting must be rebuilt through ranking rules, filters or application logicGapInventory every curated query and decide on a replacement plan before cutover
Relevance tuning and rankingOrdered ranking rules and sort parameters, with index settings separated from search parametersNeeds reworkTranslate App Search weight and boost settings into ranking rules and test the results
Hybrid and semantic searchHybrid search combining full-text and semantic results through embeddersNeeds reworkEmbedder choice, hosting location and vector storage must be planned, since App Search had no equivalent setup
Multi-tenancyTenant data separated through filters and tenant tokensNeeds reworkConfirm how each engine maps to tenants and that access rules are enforced in the application layer
Analytics dashboardNo built-in equivalent to App Search analyticsGapDecide where query logs and click data will be captured and reported
Web crawlerNo built-in crawler; content is pushed through the APIGapChoose a self-hosted crawler or change the ingestion pipeline before the crawler is retired
Search UI clientFront-end search client libraries and an instant search adapter for InstantSearch-style front endsNeeds reworkConfirm which App Search client calls the site uses and replace each one

What data and integrations move, and which export paths are documented

A migration from App Search touches more than documents. The cards below separate the pieces that must be exported, rebuilt or replaced, and flag where a documented path exists and where your team must confirm one. Treat each item as its own workstream with an owner and a sign-off.

Engine documents and their fields

The records stored in each App Search engine are the core data to move. Meilisearch's Algolia migration guide describes exporting records through an Algolia-style browse call and importing them in batches, which shows the shape of the job but not an App Search export. Confirm the App Search export method with Elastic's documentation and your own tooling, then check that field types, nested objects and document IDs survive the trip intact.

Algolia migration guide

Schema and index settings

App Search inferred much of its schema from the data. Meilisearch needs explicit settings for filterableAttributes, sortableAttributes and searchable fields, so each field used for filtering, faceting or sorting must be declared. Decide which fields are searchable and in what order, because those choices drive ranking. Record the settings in version control so they can be reviewed and reapplied on the target.

Ranking and relevance rules

Boosts, weights and ranking behavior configured in App Search do not transfer automatically. Rebuild them as Meilisearch ranking rules and attribute order, then test them on real queries. Some App Search tuning has no one-to-one equivalent, so plan for the differences and agree with product owners which results must stay on top.

Synonyms and curated results

Synonyms can be exported from App Search only if your team confirms how to read them, then re-entered as Meilisearch synonym settings. Curations, which pin or hide specific results for specific queries, need a separate plan because they are not a settings file. Inventory every curation with its query and target documents, and recreate them deliberately rather than assuming a bulk copy will preserve intent.

Search UI client

Front ends built on the App Search client libraries call an API that Meilisearch does not expose in the same form. Identify each page, component and mobile screen that issues queries, then pick the replacement client or write a thin adapter. Check typo tolerance, faceting and highlighting behavior in the UI, since users notice changes in these first.

Ingestion pipelines feeding the engine

Crawlers, connectors, scheduled jobs and application code that write to App Search engines must be found and repointed. Document each source, its frequency and its failure handling, and decide whether updates should be dual-written during a transition. Keep a record of which pipeline owns which index so nothing keeps writing to the retired engine after cutover.

The migration sequence from inventory to decommission

This sequence moves each App Search engine to Meilisearch in a controlled order, proving relevance with real traffic before any user is switched and keeping the Elastic cluster available until the cutover is confirmed. Each step ends with a named artifact that the next step depends on.

  1. Inventory engines and query patterns

    Your search or platform team lists every App Search engine, its document count, its schema fields, the synonym sets, curations and ranking overrides applied to it, and the front end that calls it. Pull the top queries and the zero-result queries from App Search analytics for each engine, since these become the test set later. The output is an engine inventory with one row per engine, linked to its consuming applications and owners. The step is done when every engine has an owner and every query source is named, and the team can say which engines are customer-facing.

  2. Map schema, settings and synonyms

    Translate each engine's fields, searchable and filterable attributes, sort options, synonyms and curations into Meilisearch index settings. Use the Algolia migration guide as a reference for parameter mapping, and expect some App Search features to have no direct equivalent, so record each gap and the decision taken for it. Curations usually need to be rebuilt as explicit ranking or filter rules in the front end or as document-level boosts. The output is a settings map that lists each App Search setting, its Meilisearch counterpart, and any gap with an owner. The step is done when a reviewer from search and product has signed off on the gaps.

  3. Export documents from App Search

    Export the documents of each engine through the App Search API or a scripted export, and store the raw files in a location that stays inside your own infrastructure. Check the record count against the inventory and spot-check a sample of documents for missing fields, encoding problems and nested values that need flattening. Keep the exports with a checksum and a timestamp so the import can be repeated exactly. The output is a verified export set for each engine. The step is done when counts match the App Search dashboard and the sample check shows no unexpected field loss.

  4. Build the pilot index

    Stand up a self-hosted Meilisearch instance in your environment, following the Meilisearch release notes for the version you choose, and create a pilot index for one lower-risk engine. Apply the settings map, import the export in batches, and confirm that the index holds the expected number of documents with the expected filterable and sortable attributes. Run the pilot index behind a non-production address so that developers and the search team can query it. The output is a working pilot index with its settings recorded in version control. The step is done when the pilot answers the top queries from the inventory without errors.

  5. Run the relevance test against real queries

    Send the top and zero-result queries from the inventory to both App Search and the Meilisearch pilot, and capture the first result pages from each. Have the search owner and at least one product owner grade the pairs for relevance, typo handling, facet behavior and empty-result behavior, and log every difference with a decision: fix the settings, accept the change, or add a front-end rule. Repeat the tests after each settings change. The output is a relevance test report with query, both result sets, grades and decisions. The step is done when every high-traffic query has a recorded decision and no open item blocks the pilot engine.

  6. Run both systems in parallel

    Send live queries to App Search as the source of truth and mirror a sample of the same queries to Meilisearch, comparing results and latency without showing Meilisearch results to users. Replace the search UI client in a staging copy of the front end first, and confirm that the Meilisearch adapter handles the widgets your application uses. Keep the App Search cluster and its snapshots intact during this period. The output is a parallel-run log with mismatch counts and their causes. The step is done when the mismatches are explained and the team agrees that the remaining differences are acceptable.

  7. Write and approve the cutover runbook

    Document the order of operations for switching traffic: the final export and import, the settings version to deploy, the front-end configuration change, the monitoring to watch, and the rollback path back to App Search. Agree who approves the switch and who is on call during it. Confirm in writing that the Elastic cluster will not be upgraded or reduced until the cutover is confirmed, because Elastic's documentation says a snapshot cannot be restored to an earlier version, so a rollback depends on the 8.x cluster still running. The output is an approved cutover runbook. The step is done when the rollback has been rehearsed in staging.

  8. Decommission App Search and record the outcome

    After the cutover is confirmed and the agreed observation period has passed, switch the traffic permanently, take a final snapshot of the App Search cluster and store it under your retention policy, and then stop the App Search and Enterprise Search components. Remove the credentials and access routes that pointed to them, and update the asset inventory. Record the final engine counts, the decisions from the relevance test, and the location of the retained snapshot. The output is a decommission record that your auditors and future owners can read. The step is done when the cluster is off, the credentials are revoked, and the record is filed.

How the parallel run and traffic switch work

Keep App Search serving every query while Meilisearch runs alongside it. Build the Meilisearch index from the same exported documents, then put a thin routing layer in front of the search UI client. That layer sends a small, fixed share of live queries to Meilisearch and the rest to App Search, and it logs both responses with the query text, the engine that answered, the top results, and the session or request ID so the two sides can be compared later. Keep the split in one configuration value so traffic can be moved without a deploy. Because the replacement client is a separate component, the front end should accept a single response shape from either engine, and the mapping of _source fields in App Search to Meilisearch document attributes must be tested here, not after cutover. Confirm with your front-end team how the InstantSearch or other client libraries in use will be pointed at Meilisearch, since the migration guide notes that InstantSearch front ends need the Instant Meilisearch adapter.

Judge relevance on real queries and real user behavior, not on a sample you invented. Replay a representative set of logged queries against both engines, including long-tail and misspelled terms, and review the top ten results with the people who own the content. Then compare click-through, zero-result rate and conversion for the Meilisearch share against the App Search share, segmented by query type. Pay particular attention to synonyms, curations and pinned results, which App Search managed through its dashboard and which must be recreated as Meilisearch synonyms and ranking settings. Move traffic in stages only after each stage shows results your reviewers accept. Keep App Search running, with its index and credentials intact, until the new engine has held full traffic for a period your team has agreed in writing. Rollback is then a configuration change back to App Search, and the old cluster should not be decommissioned until that window closes.

What drives migration cost and duration

This table lists the components that move the cost and effort of an App Search to Meilisearch migration, why each one matters, and how to keep it down. Read each row against your own engine inventory, since the largest driver is usually custom ranking logic and the UI rewrite rather than the data copy itself. Self-hosted Meilisearch Community Edition carries no license fee, so most of the recurring cost is the operating work your team or a partner takes on.

DriverWhy it moves cost or effortHow to keep it down
Number of engines and documentsEach engine needs its own export, index creation, settings mapping and verification. Document volume drives export time, batch imports and storage sizing on your own servers.Inventory engines first and retire unused ones. Confirm document counts per engine so you can batch imports and schedule them outside peak hours.
Custom ranking and synonym logicApp Search boosts, field weights and synonym sets have to be translated into Meilisearch ranking rules, searchable attributes and synonyms. Engines with heavy custom weighting need repeated relevance testing.Export current settings per engine and mark which ones are defaults. Reduce custom weights where typo tolerance and ranking rules already cover the need.
Curations volumeApp Search curations pin or hide specific results for given queries. Meilisearch has no direct curations dashboard, so each curation must be recreated through another mechanism, such as rules in your application or filter logic, and tested.Count active curations and remove stale ones before migrating. Group the rest by business owner so each one has a signed-off replacement.
UI client rewrite scopeFront ends built on App Search client libraries must move to a Meilisearch client or the Instant Meilisearch adapter for InstantSearch-based interfaces. Scope grows with the number of front ends, custom components and analytics hooks.List every application that calls App Search and rank them by traffic. Migrate the highest-traffic interface first and keep a thin adapter layer where the query shape changes.
Analytics replacementApp Search reporting on queries, clicks and no-result searches does not carry over. You must choose and host a replacement, such as event logging in your application or a self-hosted analytics stack, and build dashboards that business teams use.Decide early which metrics matter, such as no-result queries and click-through. Reuse existing self-hosted analytics tooling if your organization already runs it.
Hosting, backup and scaling setupSelf-hosting Meilisearch has no license fee in the Community Edition, but your operators manage updates, backups, scaling and monitoring. This work recurs for as long as the service runs and is usually the largest ongoing cost.Define the hosting pattern, backup schedule and upgrade process before cutover. Ask any partner to quote these as separate recurring items, and confirm which Meilisearch releases your team will track.
Testing depthRelevance differences only show up with real queries. Thorough testing covers replayed production queries, zero-result checks, typo cases and business-critical searches, and each engine needs its own pass.Build a fixed query set from recent logs, score results with business owners, and limit full regression runs to engines that carry revenue or compliance-relevant search.
Parallel running and cutoverKeeping App Search and Meilisearch side by side for comparison adds run time and coordination across teams, and the rollback path must be tested for each engine.Switch traffic engine by engine, with a documented rollback. Keep the App Search cluster available only as long as its snapshot and data retention requirements demand.

Questions buyers ask before moving App Search to Meilisearch

Can our team migrate App Search to Meilisearch without outside help?

Yes, a team with someone who can script exports and reimport data can do it, but the hard part is relevance work, not data movement. Export is straightforward, while mapping App Search engine settings, synonyms and curations to Meilisearch settings needs someone who understands both products and your ranking goals. Your team should first check whether it has time to test queries with real users and owns the search front end. If those skills are thin, an implementation partner can take the scope in writing before work starts, and DeployOpen works this way on fixed-scope engagements. Confirm the staffing picture before choosing a path.

What drives the effort and cost of a Meilisearch migration?

The main drivers are the number of engines, the document count and how much your ranking configuration has been customized. Self-hosting Meilisearch has no license fee in the Community Edition, so your costs are infrastructure, engineering time and any outside help. Recurring costs include servers, backups, upgrades and on-call time, which you manage yourself when self-hosting. One-time costs cover export scripts, schema and settings mapping, front-end client replacement and relevance testing. Ask any provider to break its quote into export, mapping, front-end, testing, cutover and ongoing operations, so you can see which items scale with your data.

How long does an App Search to Meilisearch move usually take?

Duration depends on how many engines you run, how many fields and ranking rules each one uses, and how much front-end code calls App Search directly. A single engine with simple synonyms moves much faster than a set of engines with curated results and custom analytics. Most of the calendar time usually goes into relevance testing with real queries, which should run in parallel with traffic still on App Search. Plan for a running period where both systems serve queries before cutover. No fixed duration applies to every project, so ask for a timeline built from your own engine inventory.

What does our internal team need to provide during the migration?

Your team needs access to the App Search engines, an owner for the search product who can approve relevance decisions, and engineers who maintain the front end that queries search. Someone must also decide where Meilisearch runs, how it is backed up and who operates upgrades, because the self-hosted pricing page notes that operators manage updates, backups and scaling. Security reviewers should confirm the API keys used for export, which should have only the rights needed to read documents, and that the new instance sits behind your existing access controls. Name these roles before the project starts so the schedule does not stall on decisions.

Do we need Meilisearch Enterprise Edition to run in production?

The Meilisearch README states that the Community Edition is fully open source under the MIT license, while the Enterprise Edition falls under a commercial license or the Business Source License 1.1 and is not permitted in production without a commercial agreement. That means a production deployment that uses Enterprise features needs that agreement. Before deciding, list the features you rely on and check them against the Community Edition, since the licensing terms, not the migration itself, determine whether you need an Enterprise agreement. Review the Meilisearch licensing terms with your legal team and read the Meilisearch repository for the current edition boundaries.

Can curations and search analytics be rebuilt in Meilisearch?

Synonyms and ranking behavior can be rebuilt through Meilisearch settings, but App Search curations and its analytics dashboard have no one-to-one equivalent. Curations, which pinned or hid specific results for given queries, need to be reimplemented in your application logic or ranking rules, then tested against the queries they served. Analytics need a separate source, such as your own event logging of queries and clicks, so you can measure relevance after cutover. The Algolia migration guide also notes that some parameters have no equivalent, and a similar review applies here. Inventory every curation first, then decide which ones to keep, rewrite or retire.

How do we check relevance before switching traffic?

Run a fixed set of real queries against both App Search and Meilisearch, then compare the top results and record where they differ. Build the query set from search logs, support tickets and the most common zero-result searches, and have product owners judge the results rather than engineers alone. Treat any change in typo tolerance, filters or synonyms as a deliberate decision. Keep App Search running until the new results meet the criteria your team agreed on, and keep a rollback path for the front end. Meilisearch's migration guide is the starting point for mapping settings, and the testing criteria should be written before cutover begins.

What usually goes wrong and how to prevent it

Most failed App Search to Meilisearch cutovers do not fail in the export. They fail in the details that App Search handled for the team without anyone writing them down. The cards below cover where those details tend to get lost and the check that catches each one before traffic moves.

Relevance regressions after cutover

Meilisearch ranks with its own ranking rules, so a result set that looked right in App Search can order differently once the same documents sit in an index with new settings. Teams often compare only a handful of queries by eye. Before cutover, run a fixed set of real queries from search logs against both engines, record the top results for each, and review the differences with the people who own the content. Keep the list under version control so the next change can be checked the same way.

Algolia migration guide

Missing synonyms and curations

App Search curations and synonyms were often edited in a dashboard by product or content staff, so they may not appear in any file the migration team has. Pinned results and synonym groups can disappear silently during a rebuild. Ask the App Search owners to list every synonym set and every promoted or hidden result per engine, and recreate each one as a Meilisearch synonym or a ranking adjustment. Then check that each listed query returns the expected result.

Parameters with no Meilisearch equivalent

Some Algolia-style parameters have no direct counterpart, and App Search settings may map the same way. Meilisearch's Algolia migration guide names aroundPrecision, restrictHighlightAndSnippetArrays and disablePrefixOnAttributes as having no equivalent. Inventory every tuned setting in the current configuration, mark each as mapped, replaced or dropped, and get a product owner to sign off on the dropped ones before the new index goes live.

Settings split between index and query

Meilisearch separates index settings, such as filterable and sortable attributes, from per-search parameters. A setting that App Search applied at query time may need to move into the index, and the reverse can also happen. If the mapping is wrong, filters return nothing or sorting ignores the expected field. Write the target settings as a versioned file, apply them through the API, and test each facet and sort the front end uses.

Front-end adapter gaps

If the search UI was built with a library that expects Algolia's API, the client code must change, and some widgets or behaviors may not carry over cleanly. The Algolia migration guide notes that InstantSearch front ends need the Instant Meilisearch adapter. Inventory each component the UI uses, including highlighting, pagination and facets, and test each one on a staging build against the new engine before changing the production client.

Incomplete exports and cutting over untested

A partial export is hard to detect because the new index still returns results. Compare document counts per engine and spot-check records with unusual fields, nested values and missing attributes. Import in batches and keep the App Search engine running in parallel until real query tests pass and the document counts match. Switch traffic only after both checks pass, with a documented rollback path to the old engine.

Meilisearch releases

Parallel run keeps App Search as the fallback until Meilisearch matches it

The diagram starts at the App Search cluster, which keeps serving live traffic throughout. An export job reads documents out through the App Search API and loads them into a Meilisearch instance that is configured with the mapped settings. The traffic router sends a small share of queries to Meilisearch through the search UI client, while the relevance comparison step runs the same real queries against both engines and records differences. The rollback path returns all traffic to App Search if results regress, so cutover happens only after the comparison passes.

Traffic and data paths between App Search, Meilisearch and the comparison step, with the rollback route.

How the migration changes by engine count and starting point

A single engine feeding one website or app is the simplest starting point. The migration usually centers on one document set, one set of ranking and synonym settings, and one front-end client. Because the surface area is small, one team can often own the export, the index design and the cutover, and the work can be sequenced in a single pass. Effort still depends on how much tuning the App Search dashboard holds, since curations and synonyms are often the least documented part of the setup.

  • Document export: Export the engine's documents once, then compare the record count against the App Search dashboard before building anything else.
  • Settings mapping: Translate searchable, filterable and sortable fields into Meilisearch index settings, then list every boost and synonym by hand.
  • Front-end client: Replace the App Search UI client with a Meilisearch client, and confirm which widgets depend on the old response shape.
  • Relevance checks: Run a fixed set of real queries against both engines and record the top results for each.
  • Cutover: Switch traffic in one step once the query set passes, and keep the App Search engine readable until the rollback window closes.

Check that someone on your team can list every curation and synonym in the engine, because those records are the usual source of missed behavior after cutover.

How DeployOpen scopes and runs a Meilisearch migration

DeployOpen plans and implements self-hosted open-source platforms inside the client's own infrastructure, and that covers moving App Search engines to Meilisearch. Engagements start with a written scope that sets which engines, documents, settings and front ends are included before any work begins.

How we scope

  • Inventory every App Search engine, its document counts, schema fields and front-end consumers in writing.
  • Agree which synonyms, curations and ranking settings move, and which need a documented redesign.
  • Define the relevance test set of real queries and the acceptance criteria before the build starts.

How we build

  • Deploy Meilisearch in your cloud account, data center or air-gapped network, with access control and logging set up.
  • Export documents, map schema and ranking settings, and load indexes with batched imports and checked record counts.
  • Replace the search UI client and run side-by-side query comparisons against App Search before any traffic moves.

How we hand over

  • Deliver written documentation of index settings, synonym and curation mappings, and the cutover runbook.
  • Record the relevance test results, including any App Search behaviors with no Meilisearch equivalent and how each was handled.
  • Walk your platform and search teams through operating updates, backups and scaling, which remain in your hands.

How we support

  • Engagements are fixed-scope, with scope, deliverables and timelines agreed in writing before work starts.
  • Ongoing support, upgrades and continuous testing are available as a retainer after cutover.
  • Confirm the Meilisearch release line and maintenance policy with your team before scheduling the upgrade path.

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.