Migrate from Elastic App Search to OpenSearch

A self-managed OpenSearch rebuild of App Search engines is a re-engineering project, not a data copy. This page explains what moves, what needs rework, and how to run both in parallel until cutover.

On this page

Migrating Elastic App Search engines to OpenSearch: what the work involves

Moving App Search engines to OpenSearch is a rebuild of engines, schema, relevance settings and crawling, not a direct export. Elastic App Search is deprecated and absent from Elastic 9.0 and later, so teams that need a self-hosted search service have to recreate what their engines did on a new index model. The work is usually owned by platform engineers who run the cluster, search engineers who own relevance, and product engineers who own the front-end client. Teams without spare capacity in one of those groups often bring in an implementation partner such as DeployOpen to plan the scope in writing before work starts. Effort and risk depend mainly on how many engines exist, how much relevance tuning lives in the App Search dashboard rather than in code, and whether a web crawler feeds any engine. Ask your own team to inventory each engine before estimating anything, because no standard duration applies.

The choice of OpenSearch rests on licensing and lineage. OpenSearch is a fork of open source Elasticsearch 7.10, and All software in the OpenSearch project is released under the Apache License, Version 2.0, with no paid edition described in the OpenSearch FAQ. It is wire-compatible with Elasticsearch 7.10 and can use indices from Elasticsearch 6.0 through 7.10, which matters if an existing index is older than App Search's own storage. Confirm your engine's underlying index versions before you assume any direct index reuse. Elastic's snapshot documentation also states that a snapshot cannot be restored to an earlier version and that restored indexes must be compatible with the target cluster, so plan on re-indexing from source documents rather than restoring Elastic snapshots into OpenSearch.

The cost components are the cluster infrastructure you run yourself, the engineering time to rebuild each engine, and the ongoing operation of upgrades and security configuration. The license cost is zero, so the quote you request should separate one-time work (schema design, mapping and analyzer tests, synonym and boost migration, crawler replacement, cutover) from recurring work (patching, minor version upgrades on the roughly eight-week release cadence, backup testing and on-call). Ask any provider to name the OpenSearch version they will target and the maintenance window that version falls in, because maintenance releases receive only bug fixes and security patches.

Keep the Elastic 8.x cluster serving production traffic until relevance checks pass on the new engines. Run both systems in parallel, replay a sample of real queries against each, compare the top results for your highest-value searches, and only then move traffic. Set up the OpenSearch Security plugin before any user traffic arrives: confirm which authentication backend (SAML, OpenID Connect, LDAP or another supported option) your identity team will use, define roles with document-level and field-level security where some records are restricted, and enable audit logs and TLS for node and client traffic. Your security and compliance reviewers will ask for evidence of these controls, so keep the configuration in version control from the start.

Which App Search capabilities map cleanly to OpenSearch and which need rework

This table compares each App Search capability with its closest OpenSearch equivalent and labels it clean, needs rework, or gap. Read it as a planning checklist: clean rows can usually be moved with a mapping and export step, rework rows need design decisions, and gap rows must be rebuilt or sourced from another tool. Confirm feature details against the current OpenSearch documentation for your version before committing.

CapabilityOpenSearch equivalentStatus and what it means
Engines and document indexingIndexes, with documents indexed through the bulk APIClean. Each engine usually becomes one index, and documents can be exported and bulk-loaded. Confirm index naming and shard counts for your data size.
Schema and field typesExplicit index mappings with field data typesNeeds rework. App Search inferred field types dynamically, so write explicit mappings for each field, including keyword versus text choices, before loading data.
SynonymsSynonym token filters in custom analyzers, or synonym files loaded through the analysis settingsNeeds rework. Synonyms must be attached to analyzers and applied at index or search time, and the choice affects reindexing. Test multi-word and expansion rules.
Boosts and weightsField boosts in query clauses, and function score queries for numeric or recency boostsNeeds rework. Weights become query logic, usually stored as search templates so applications call a stable template ID rather than building queries themselves.
Curations and pinned resultsNo direct equivalent in OpenSearchGap. Pinned results and promoted or hidden documents must be rebuilt as query rules, template parameters or application logic, and the dashboard for managing them must be rebuilt or sourced separately.
Search UI APISearch and msearch APIs called through search templatesNeeds rework. The App Search client calls are replaced by your own API layer or front-end code. Plan the request and response contract before cutover.
Analytics dashboardsQuery and click data must be captured by your application and stored in indexes, then visualized in OpenSearch Dashboards or another toolGap. App Search analytics do not carry over. Decide what events to capture and where dashboards will live, and confirm what your version of OpenSearch Dashboards provides.
Web crawlerNo built-in crawler in OpenSearch; external crawlers or connectors feed documents into indexesGap. Choose and operate a separate crawler, then map its output to your index mappings. Confirm the crawler's license and maintenance status.
Access controlOpenSearch Security plugin with role-based access, document-level and field-level securityNeeds rework. Roles, tenants and document-level filters must be designed from the App Search access model. Connect SSO through SAML or OpenID Connect and confirm the supported backends in the security documentation.

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

A App Search move touches more than documents. Each category below has a different export path, and only some of them are documented in a form you can rely on. Work through them in order before you size the project.

Documents and index contents

The documents in each engine are the core of the move, but App Search's own export path must be confirmed in the version you run. Ask whether the engine's documents can be read through the API or dashboard at full volume, and whether the export includes the fields your search UI actually queries. Count the documents per engine and compare that count after the load into OpenSearch, so you know the copy is complete.

Engine settings from the API or dashboard

Relevance settings, searchable and filterable fields, and facet configuration are recorded in the App Search API or dashboard, not in OpenSearch. Capture them per engine before any change, and record them in a format your team can review. Treat these settings as a specification to rebuild, since no setting carries over as is.

Snapshots cannot restore into OpenSearch

A snapshot from Elastic cannot be restored into OpenSearch. Elastic's documentation states that a snapshot cannot be restored to an earlier version of Elasticsearch, and that any restored index must be compatible with the target cluster's version. Plan the move as an export and reload of documents, not a snapshot restore, and confirm the compatibility rules against your exact source and target versions.

Elastic snapshot docs

Index compatibility by source version

OpenSearch is wire-compatible with Elasticsearch 7.10 and can use indices from Elasticsearch 6.0 through 7.10. If your App Search backend runs on an 8.x cluster, its indices are outside that range, so you need to reindex the documents or follow a supported migration path. Confirm the exact version of your source cluster before you choose between a direct index reuse and a full reindex.

Usable index versions
6.0 to 7.10
OpenSearch FAQ

Users, roles and access rules

App Search user and role assignments do not map one to one onto OpenSearch. Document which people and services can read or administer each engine, then recreate that model with OpenSearch Security roles, document-level or field-level security where needed, and your chosen identity backend. Confirm with the identity team which directory will be the source of truth before you create any role.

OpenSearch security docs

Search UI client and web crawler

The search UI client and the web crawler are integrations, not stored data, so they will not move with the index. Inventory every front end that calls App Search and every crawl source, then decide whether each one is rewritten against the OpenSearch query API or replaced by a separate crawler. Test each replacement with real queries before you switch traffic.

Migration sequence from inventory to decommission

This sequence moves each App Search engine to a self-managed OpenSearch index in a controlled order, so relevance is proven on real queries before any user traffic moves. Each step ends with a named artifact that the next step depends on, and App Search is retired only after 8.x is no longer needed.

  1. Inventory engines, fields and crawled sources

    The search or platform owner lists every App Search engine, its document count, its schema fields, its synonym sets, its boosts and curations, and any web crawler sources with their domains and crawl schedules. The team records which application, page or API calls each engine, because that is what defines the traffic to switch later. The output is an inventory register with one row per engine and an owner for each. The step is done when the application team confirms the register lists every caller, and when nothing in production queries an engine that is missing from it.

  2. Pilot one low-risk engine on OpenSearch

    Choose one engine with modest traffic and a simple schema, then build a self-managed OpenSearch cluster using one of the supported install paths, such as Docker, Helm, the OpenSearch Kubernetes Operator, tarball, RPM, Debian packages or the Ansible playbook. Platform engineers configure TLS, the Security plugin and role-based access before loading data, and they export documents from App Search into the new index. The output is a mapping and template set: field mappings, analyzers, synonym files, and search templates that reproduce boosts. The step is done when the index loads with document counts matching the inventory and the security settings have been reviewed by the owner.

  3. Recreate relevance and verify with real queries

    The search team rebuilds curations as pinned results or query-specific templates and compares the App Search and OpenSearch results for a fixed set of real queries drawn from search logs. Engineers record top results, zero-result queries and any differences in ranking, then agree which gaps are acceptable. Because App Search curations have no direct equivalent in OpenSearch, each gap is logged with a decision. The output is a query comparison report, signed off by the product owner. The step is done when every high-volume query has been reviewed and each difference is either fixed or accepted in writing.

  4. Run both systems in parallel

    The application sends the same requests to App Search and OpenSearch, with only App Search results shown to users, so that latency, errors and result counts can be compared under live load. The team also confirms that ingestion continues to both systems, since documents changed in App Search after the export must reach OpenSearch. The output is a parallel run log with error rates and result differences over the observation window. The step is done when the logs show no unexplained failures and the query comparison report still holds for live traffic.

  5. Cut over traffic behind a switch

    The application reads the search endpoint from a configuration switch, so traffic can move to OpenSearch, or back, without a code release. The cutover is staged, with a small share of queries first, then the remainder, and each stage has a named owner and a rollback step. The output is a cutover runbook covering the switch location, the rollback command, the monitoring dashboards and the contact list. The step is done when the full engine traffic runs on OpenSearch for the agreed period and the rollback has been tested in a non-production environment.

  6. Repeat for remaining engines and crawlers

    The team applies the same pattern to each remaining engine in the inventory, and replaces each web crawler source with a self-managed crawl or indexing job that writes to the OpenSearch index. Each engine is tracked in the register until it has completed cutover. The output is an updated inventory register showing the state of every engine and crawler. The step is done when no engine or crawler remains on App Search and each crawler job has its own schedule and error alerting.

  7. Decommission App Search after 8.x retirement

    App Search can be shut down once no engine depends on it and the cluster is no longer needed for rollback. Teams should confirm the retirement date for their own 8.x deployment in Elastic's documentation and their support agreement, then take a final snapshot according to Elastic's snapshot and restore documentation before removing the component. The output is a decommission record listing the final snapshot, the retired cluster, the access revocations and the retained rollback window. The step is done when the record is approved and the App Search endpoints return no traffic.

Keeping 8.x running until the cutover

Keep the live App Search engine on its current Elastic 8.x line, patched and supported, for the entire rebuild. The new OpenSearch stack should run alongside that engine and take traffic only after relevance has been proven with real queries. The constraint to plan around is Elastic's support window for 8.x, which the sibling page on the App Search end of life covers in detail. Before any work starts, confirm the exact end-of-support date for your 8.x minor version in Elastic's own lifecycle documentation, and build a dated cutover plan with a buffer before it. Also confirm which App Search and Enterprise Search components your deployment runs, since those define what must keep working until traffic moves.

Choose a single source of truth for every engine's documents, usually the application database or the content system that feeds App Search today. Then run one of two synchronization patterns. Dual-writing means the ingestion path writes each change to both App Search and the new OpenSearch index, which keeps both current but adds code to the application and needs a reconciliation job to catch failed writes. Re-indexing means a scheduled full export from the source of truth into OpenSearch, plus a delta job for changes made since the last export. Re-indexing is simpler to operate for most teams, but confirm how long a full rebuild takes on your data volume before you choose it, because that number sets how stale the OpenSearch copy can be during validation.

Freeze schema and relevance changes on the App Search engines for the validation window. Any new field, synonym, curation or boost change made on the live engine must be recorded and replayed into the OpenSearch templates, or the comparison between the two stacks becomes meaningless. Keep the OpenSearch cluster itself on a version you can maintain, and check the OpenSearch releases page before you pin it, since minor versions ship about every eight weeks and maintenance windows are finite. For rollback, keep App Search as the default route behind a feature flag or search proxy, so traffic can return to it in one configuration change. Do not decommission any 8.x node or snapshot until the new stack has carried production traffic through a full business cycle and the rollback path has been tested.

How the migration differs by starting point

A team that ran App Search engines on a small dedicated cluster usually owns the whole stack, including the search UI, the crawler and the relevance settings. The migration is mostly a cluster build plus a rebuild of engine logic, and the cluster is small enough that one team can run it. Expect the most work in the search layer rather than in infrastructure.

  • Cluster ownership: One team typically takes over node sizing, upgrades, snapshots and monitoring, so the runbook should be written before the first index is created.
  • Index lifecycle: Each App Search engine becomes one or more OpenSearch indices with explicit mappings. Keep a single naming convention so aliases can switch traffic without a client change.
  • Security model: Start with the OpenSearch Security plugin configured for SSO, roles for the search application and an admin role limited to operators. Document-level security is worth testing if engines hold mixed-audience content.
  • Relevance scope: Most effort goes to recreating synonyms, boosts and curations as search templates, then checking results against real queries from the search logs.

Confirm with your team whether the App Search dashboard analytics were used for tuning, because that history has no direct export path and will need to be rebuilt from query logs.

How traffic moves from App Search to OpenSearch during cutover

The diagram starts at the live App Search 8.x engine, which stays the production source until the cutover. An export and transform job reads documents out of it and writes them into OpenSearch indexes built from explicit mappings, analyzers and search templates, all inside the client's own network. Before any traffic moves, query results from both engines are compared with real queries. A feature flag then routes a small share of search requests to OpenSearch, with the App Search path kept ready as a rollback. Only after the new path holds up does the old engine get decommissioned.

Phases from export and comparison through flag-based traffic switch and rollback.

What usually goes wrong and how to prevent it

Most failed App Search to OpenSearch migrations fail on search quality, data access or cutover, not on installing the cluster. The six risks below are the ones that tend to surface late, so each one is paired with a check to run before traffic moves.

Relevance regressions from analyzers

App Search applied its own tokenization, stemming and synonym handling, and OpenSearch analyzers behave differently. A query that ranked first in App Search can drop out of the top results after a straight mapping copy. Build a fixed query set from real search logs and score the old and new results side by side before cutover, covering typos, plurals and multi-word terms.

Missing curations and analytics

App Search curations and its built-in analytics dashboard have no direct OpenSearch equivalent, so pinned results and click reporting can disappear without anyone noticing. Export every curation into a written list with its query and intended results, then decide which ones become search templates and which are retired. Confirm who will own search analytics after the move.

Snapshot restores across versions

Teams often try to restore an App Search index snapshot directly into a newer OpenSearch cluster. Elastic's documentation states that a snapshot cannot be restored to an earlier version and that restored indices must be compatible with the target version. Test the restore on a copy of the cluster and confirm index compatibility before relying on snapshots as the export path.

Elastic snapshot docs

Unmanaged crawler replacement

The App Search web crawler ran as a managed Elastic component, and nothing in OpenSearch replaces it automatically. Sites indexed by crawling can silently stop updating if the new crawler is missing, misconfigured or unscheduled. Assign an owner for the replacement crawler, set a schedule, and alert when the index document count or last-updated time falls outside the expected range.

Permissions not carried into Security roles

App Search access was governed by Elastic roles and API keys that do not map one to one onto OpenSearch Security. Search users who could only see certain engines may end up with full index access, or find that filtered results break. Map each App Search access pattern to an OpenSearch role, use document-level or field-level security where filtering is needed, and test with real user identities through your SSO provider.

OpenSearch security docs

Cutover without a rollback path

Switching the search endpoint for every user at once leaves no fast way back if relevance or availability drops. Keep the App Search cluster running on 8.x until the new search path has run in parallel for a period you agree in advance. Use a feature flag or gateway route so traffic can move back in one change, and keep the old indices read-only until the cutover is signed off.

Questions buyers ask before moving App Search to OpenSearch

How much effort and cost does moving App Search to OpenSearch involve?

The effort depends mainly on how many engines you run, how many documents each holds, and how much relevance tuning lives in App Search settings rather than in your application code. Costs fall into two groups. One-time costs cover exporting documents, designing mappings and analyzers, rebuilding synonyms and boosts as search templates, replacing the web crawler, and testing relevance. Recurring costs cover the OpenSearch cluster infrastructure, patching, backups, monitoring and on-call support. OpenSearch itself is Apache License 2.0 software and its FAQ describes no paid edition, so the license adds no line item. Ask any quote to split one-time migration work from recurring operations and to list the infrastructure assumed.

How long does an App Search to OpenSearch migration take?

The timeline is set by the number of engines, the complexity of their relevance settings, and how much parallel running your business accepts. Engines with simple schemas and few synonyms move faster than engines with many curations, custom boosts and a crawler that feeds them. Build time also depends on how long your team needs to compare search results with real queries before switching traffic. Your team should confirm the duration with its own inventory of engines and the cutover window it can accept, because no supplied source gives a reliable duration for this specific move.

What does the work require from our internal team?

Expect the migration to need time from people who know your search data and your application. Product or site owners must confirm which synonyms, curations and ranking rules matter, since App Search settings do not transfer one for one. Application engineers must replace the App Search client and change query code. Platform or operations engineers must size and secure the OpenSearch cluster and its backups. Security staff should review access, since the OpenSearch Security plugin provides role-based access control, document-level and field-level security and audit logs that you will need to configure deliberately.

Can our own engineers do this migration without an outside partner?

Yes, if you have engineers who can run OpenSearch in production and rebuild search queries, and if the scope is limited. Teams with a small number of engines, a clear inventory and an existing OpenSearch footprint usually have the skills in house. Outside help tends to be worth weighing when the estate is large, when crawler replacement and identity integration are needed at the same time, or when compliance evidence must be prepared for review. DeployOpen plans, implements, hardens, backs up, documents and supports self-hosted OpenSearch inside your own infrastructure, under a fixed scope agreed in writing before work starts.

Can we keep Elastic 8.x running while we move to OpenSearch?

Yes, running both in parallel is the usual approach, and it lets you compare results before cutover. Keep the 8.x cluster serving production traffic until your new OpenSearch engines match it on your real queries. Elastic's documentation states that a snapshot cannot be restored to an earlier version and that restored indices must be compatible with the target version, so do not plan a restore from 8.x into OpenSearch as a shortcut. Export documents through your own pipeline, and confirm with Elastic the support window for the 8.x line you run before setting your cutover date.

Does OpenSearch require a paid edition for production use?

No. All software in the OpenSearch project is released under the Apache License, Version 2.0, and the OpenSearch FAQ does not describe any paid edition. Your cost comes from infrastructure, staff time and any outside services you choose to buy, not from a license fee. Two points deserve checking with your legal and procurement teams. First, confirm that any plugin or managed offering you adopt is covered by the same license. Second, confirm that any paid support contract you sign is separate from the software itself. The OpenSearch Software Foundation is a Linux Foundation project, but it does not oversee the technical direction of the software.

What should a migration quote include?

A useful quote lists each deliverable separately so you can compare it with your own inventory. Ask for an engine-by-engine inventory, a mapping and analyzer design, a plan for rebuilding synonyms and boosts as search templates, the replacement approach for the web crawler, and a relevance test plan using your real queries. Also ask for the cutover and rollback steps, the parallel-running period on 8.x, backup and restore testing, access control and audit logging configuration, and documentation. Require the quote to name what is one-time and what recurs, which OpenSearch version it targets, and what the client must provide. Quotes follow from a written scope.

Which OpenSearch version should we target for the move?

Choose a version that is still under maintenance on the release schedule when you go live, and confirm it with the OpenSearch releases page before you commit. OpenSearch versions receive bug fixes and security patches during maintenance but no new features, and each version stays in maintenance until the next major version enters maintenance or one year passes, whichever is longer. Version 1 reached end of life on May 6, 2025. Ask your partner or your own team to document the version choice, the upgrade path, and the date by which you will need to move again.

How DeployOpen scopes, runs and supports the migration

DeployOpen plans and implements self-hosted OpenSearch inside your own cloud accounts, data centers or air-gapped networks, so the migration runs where your data already lives. Engagements are fixed-scope, with deliverables and timelines agreed in writing before work starts.

How we scope

  • Inventory every App Search engine, its documents, schema, synonyms, curations and boosts before any build work starts
  • Record which queries and front-end clients depend on each engine, so cutover criteria are agreed in writing
  • Confirm the 8.x cluster version and snapshot path, and agree how 8.x stays live until cutover
  • Define the OpenSearch cluster sizing, hosting method and identity integration in the written scope

How we build

  • Export documents from App Search and load them into OpenSearch indexes with mappings and analyzers reviewed by hand
  • Rebuild synonyms, curations and field boosts as OpenSearch search templates, with each change traced to its original setting
  • Replace the App Search web crawler with a crawling approach agreed during scoping, and test it against live pages
  • Configure the Security plugin for role-based access, TLS and audit logs before any user traffic reaches the cluster

How we hand over

  • Deliver the index mappings, search templates, query test sets and relevance comparison results as documented artifacts
  • Provide runbooks for backup, snapshot restore, upgrades and rollback to the 8.x path until cutover is signed off
  • Walk your platform, search and security teams through operation, access controls and audit log review
  • Document the retained 8.x fallback period and the decommissioning steps, so your team can confirm each one

How we support

  • Offer ongoing support, OpenSearch upgrades and continuous testing as retainers after handover
  • Plan upgrades against the OpenSearch release cadence and maintenance windows, confirmed with your team
  • Repeat relevance and security checks after each template change or version upgrade, with results written up
  • Keep scope changes and new engines under written change requests, so cost stays visible to your budget owners

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.