Leaving Azure AI Search: rebuilding indexes from source

Azure AI Search holds a copy of data that lives elsewhere, so leaving means rebuilding indexes from source systems. This page covers what can be exported, what cannot, and the sequence to move safely.

On this page

Leaving Azure AI Search without losing data: what exports and what does not

The exit from Azure AI Search is mostly a rebuild from source systems, and a bulk export of the index is rarely the whole job. An index is a derived copy: the authoritative documents live in your databases, file stores and content repositories, and the index holds fields, tokens and any vectors computed from them. If your reason for leaving is a renewal, a tier change, a residency requirement or lock-in, plan the move as re-ingestion into the new engine. Before you set a date, confirm in Microsoft's current Azure AI Search documentation which parts of an index can be read back through the API, including stored vectors, document keys and enrichment output, because that answer sets how much work the rebuild involves.

The configuration is what does not come out as data. Index schemas, analyzers, scoring profiles, synonym maps, indexers, skillsets and knowledge bases are definitions, so record each one as code or a written spec before you start. Capture the field list, the filterable and sortable flags, the chunking and OCR steps in each skillset, and the schedule and change tracking each indexer used. If you applied document-level security trimming, confirm that the group or user identifiers it relied on still exist in the source systems. For vectors, decide early whether to read stored vectors back or re-embed. Re-embedding requires the same model and dimensions across the whole corpus, or similarity scores in the new engine will not match. Qdrant's migration tool lists several vector sources but not Azure AI Search, so expect to write a custom export script for that step.

Run the cutover as a checked rebuild. Inventory every index, indexer and skillset with its document count, last full load and owning application. Build the new index from source in a separate environment, then compare result sets for a fixed list of queries your users actually run, including filtered, faceted and hybrid queries. Keep the Azure index serving until the comparison passes and the rollback window you agreed closes. Ask the destination vendor to confirm in writing its snapshot and restore behavior and the version support it offers. Finally, check residency: the source data, embeddings and query logs must stay in the approved region on the new platform.

What you can export from Azure AI Search and how

This table lists each Azure AI Search data type, the export or read path to use, and what arrives in the new engine. Read it as a checklist: documents and vectors have the most reliable paths, while definitions such as indexers, skillsets and knowledge bases usually need to be rebuilt by hand from exported configuration. Confirm every Azure-side method against Microsoft's current documentation and your own deployment files before planning the cutover.

Data typeExport or read pathWhat arrives in the new engine
Documents (index records)Re-read from the source systems that feed the index, or page through the index with the search API; confirm current paging limits in Microsoft's documentationFields and text rebuilt from source, which is usually the cleanest copy because the source remains authoritative
Index schemaExport the index definition as JSON from the portal or management API, then confirm field types and analyzers against Microsoft's documentationTranslated into OpenSearch mappings or Qdrant collection and payload settings; analyzers and filter types need manual review
Indexers and data sourcesExport definitions from the portal or management API; schedules and change-tracking settings are not the data itselfReplaced by your own ingestion jobs or pipelines that read the same sources, with change tracking rebuilt in your code
Skillsets (AI enrichment)Export skillset JSON, noting each skill's inputs, outputs and any external model endpoints it callsRecreated as pipeline steps or a separate enrichment service; the outputs are reproduced, not copied
Synonym maps and knowledge basesExport synonym map and knowledge base definitions as JSON; confirm the export format in Microsoft's documentationSynonyms usually move into the target analyzer or query layer; knowledge base logic is rebuilt in application code
Vectors (embeddings)Export only where the read path exists; otherwise re-embed from source text with the same or a documented replacement modelKept only when the target accepts the vectors and dimensions; mixed embedding models in one collection cause poor ranking
Scoring profiles and query logicExport the scoring profile and filter definitions from the index JSON, and keep sample queries from application logsRewritten as target query DSL, with OData filters translated and scoring tuned against a test set

What does not export and the workaround for each

Azure AI Search holds a copy of your data, but some of its operational state does not move as configuration. Each item below needs a deliberate workaround in the new stack, and the list is worth checking against your own service before cutover.

Indexer run history

Indexer run history records when each indexer ran, how many documents it processed and which items failed. It describes past Azure runs, so it has no meaning in OpenSearch or Qdrant. Keep a copy of the failure records you need for audit before decommissioning, and start a fresh run history in the new ingestion pipeline. Confirm with Microsoft's current documentation what history is retained and for how long.

Enrichment caches

If you used AI enrichment with a cache, the cached skill outputs are tied to the Azure skillset and its enrichment inputs. They cannot be imported into a new engine as trusted state. Treat them as disposable: rerun the enrichment steps in your own pipeline, using the same model versions and prompts so results stay comparable, and record which version produced each vector.

Source system credentials

Indexers hold connection credentials for SharePoint, Blob Storage, databases and other sources. These secrets are not a data export, and you should not copy them into configuration files or ticket notes. Recreate each connection with a service account scoped to read only what the index needs, store the secret in your vault, and rotate it after cutover.

Skillset and pipeline logic

Skillsets define enrichment steps, field mappings and chunking as Azure objects. Their logic does not transfer as a file that OpenSearch or Qdrant will execute. Rewrite each step as an ingestion pipeline or application code, and keep the original JSON as the specification you test against. Compare document counts and sample query results for each index before switching traffic.

Azure-side permissions and access rules

Role assignments, managed identities and search-level keys belong to the Azure tenant and do not move. Document who could query each index and under which role, then map those rules to OpenSearch Security roles, document-level security or Qdrant API keys. Note any filter that enforced access in the application, because that filter must be rebuilt in the new query path.

Why source systems are your copy of record

The index is derived data, so the exit plan starts in the source systems. For every field you query, filter or return, record where the value originates: a row in a relational database, a file in blob storage, a SharePoint library, a record in another line-of-business system, or a value produced by an enrichment step in your Azure AI Search skillset. Then record who owns each source, who can change it, and how often it changes. The owner of a source decides what can be re-read, at what volume, and under which credentials, so their sign-off belongs in the migration plan before any new index is built.

Access control is where a copied index causes the most damage. If your index stores group identifiers, owner fields or a tenant key used in filters, those values were written at ingestion time from the source's permission model. Confirm that each access filter maps to a field the source system can reproduce, such as a group membership or a tenant identifier, and that the mapping still matches what your users hold today. Stale permissions in a copy can expose documents that were removed from a group months ago. Ask which fields carry identity, which service identities read the source, and whether revoked or deleted items are removed from the index on each run.

Before any re-indexing run, verify the source as well as the index. Sample documents from each source and compare text, metadata and timestamps with what the current index returns, because extracted text and fields from OCR or parsing steps can differ from a fresh parse. Check that deletions propagate, since a source that hard-deletes records will leave orphaned entries in a copy that was never told. Confirm the change-tracking field your indexer uses to detect updates, and test a filtered query for a restricted user in a non-production environment. Write down the results, because they become the acceptance criteria for the new engine.

The sequence for a complete export and rebuild

This sequence turns an Azure AI Search deployment into a documented inventory, a decision per index on vectors, a set of exported or re-generated records, and a verified target index in the new engine. Each phase closes with a check so you know it is complete before the next one starts.

  1. Inventory every index and its dependencies

    List each index, indexer, skillset, synonym map, data source and knowledge base in the Azure AI Search service, along with the fields, analyzers, scoring profiles, vector configurations and the applications that query each one. Record the source system behind every indexer, since that source is the copy you will rebuild from. The step is done when every index has a row in a written inventory that a second engineer has reviewed against the Azure portal or the service's management API. Ask your Azure administrator to confirm there are no indexes the inventory missed, including those used only by batch jobs.

  2. Decide keep-vectors or re-embed per index

    For each index that holds vectors, choose whether to copy the existing vectors or generate new ones with the embedding model you will run after the move. Copying preserves retrieval behavior but requires the new engine to accept the same dimensions and distance metric. Re-embedding removes the dependency on the old model but changes scores, so it needs its own evaluation. Confirm the embedding model, its version and its dimensions in writing before you start, and record the decision next to each index in the inventory. The output is a decision table that the search and data teams both sign off.

  3. Export records through a documented method

    Pull records from the source systems the indexers read, or from the Azure index itself where the source is no longer available, using the export methods your target engine documents. Azure AI Search does not give you a bulk export of its index contents, so treat the original data source as the primary path and the Azure index as a fallback that needs its own checks. If you export vectors, keep the document keys, the vector fields and any filterable metadata together so the target can match records. The step is done when each index has an exported file or a repeatable extraction job, plus a record count per index that you can compare later.

  4. Build the target schema and ingestion path

    Translate each index definition into the target engine's mapping or collection schema, covering field types, analyzers, filterable and sortable attributes, vector dimensions and distance metric. Replace each indexer and skillset with an ingestion pipeline in your own code or in a workflow tool, and confirm that the exported data format matches what the target accepts (JSON, NDJSON, Parquet or a vector file, depending on the engine and tool). Load a small sample first. The step is done when a sample batch loads without schema errors and every field type is validated against the source definition.

  5. Re-index from source at full scale

    Run the full ingestion from the source systems or the exported files into the target indexes, applying the keep-or-re-embed decision from earlier. Use a resumable process where the engine or your tooling supports it, and log every batch with its record count and any rejected documents. Keep the source systems read-only for the window in which you compare data, or record the change timestamps so you can reconcile later updates. The step is done when each target index reports a document count and the rejected-document log is explained.

  6. Verify counts, sample queries and relevance

    Compare document counts, key sets and a random sample of field values between the source and the target for every index. Then run a fixed set of representative queries against both engines, including filtered, faceted, synonym-based and vector or hybrid queries, and compare the top results. Where scores differ because the ranking model changed, have the search owner judge relevance on the query set rather than on score values alone. The step is done when every index passes the count and key checks, and the query set has a signed relevance review with any accepted differences documented.

  7. Switch traffic and retain the rollback path

    Point applications at the new indexes behind a configuration setting, move traffic in a controlled step, and keep the Azure AI Search indexes running until the new path has been observed under real queries. Log query errors, latency and empty-result rates during the switch and compare them with the baseline from the Azure service. Confirm with your platform team how long the old service stays available and who decides when it is retired. The step is done when the application team confirms the new path is serving production queries and the rollback procedure has been tested.

Source systems rebuild the index, and only some vectors are copied

The diagram starts at the source systems that hold the original records, since Azure AI Search only holds a copy of them. An extraction step reads those records, and a choice follows: vectors exported from Azure are copied into the new engine, or they are re-generated by an embedding step. Both paths load the target engine, which is either OpenSearch, Qdrant or Weaviate. Before cutover, check that record counts, IDs and filter results match between the old index and the new one.

Vectors are either copied from the Azure export or re-generated from source text before loading the new engine.

Choosing the target engine for your exported data

Azure AI Search does not hand you a portable index, so the target engine decides how much of the work is schema translation, how much is vector handling and how much is pipeline rebuilding. The cards below cover the three candidates that fit this exit, and the one migration tool that helps move vectors, along with what to confirm before you commit.

OpenSearch for keyword and hybrid search

OpenSearch is released under the Apache License, Version 2.0, and forked from Elasticsearch 7.10, so teams used to Azure's full-text and filter model will find a familiar query surface. Index schemas must be rebuilt as OpenSearch mappings, and scoring profiles and OData filters need translation by hand. Confirm which OpenSearch version your cluster will run and whether the Security plugin is enabled before loading any records.

Project license
Apache-2.0
OpenSearch FAQ

Qdrant for vector-first retrieval

Qdrant is built for vector search, and its Apache-2.0 engine is free to self-host. Azure's integrated vectorization and skillsets have no direct equivalent, so embedding generation moves into your own pipeline code. Qdrant needs block storage with a POSIX-compatible file system, so confirm that your target nodes will not sit on NFS or object storage before sizing.

Latest release
v1.19.2
Qdrant installation docs

Qdrant migration tool source list

Qdrant's Apache-2.0 migration tool moves vectors from Pinecone serverless indexes, Milvus, Weaviate, Chroma, Elasticsearch, OpenSearch and pgvector, with resumable transfers. Azure AI Search is not on that list, so the tool helps only if you first stage vectors in one of those sources. Otherwise, plan to re-embed from source documents or export vectors through your own code.

Qdrant migration repository

Weaviate for combined vector and keyword search

Weaviate is BSD-3-Clause outside its enterprise-licensed directory, and it combines vector and keyword search with optional vectorizer modules, which is closest to Azure's integrated vectorization. Confirm which directories and features you will use, because enterprise-licensed code is governed separately. Schemas (classes and properties) must be redefined, and vectorizer choices determine whether embeddings can be reused.

Weaviate license text

Re-embedding or copying vectors

Engine choice also decides whether vectors can be copied or must be recomputed. If the new engine uses a different embedding model or dimension, stored vectors are unusable, so the rebuild runs from source documents. Ask who will host the embedding model, which records must be reprocessed, and how long reindexing will take in your environment before you set a cutover date.

Access control on the new engine

Azure AI Search secures indexes through its own keys and Microsoft Entra roles, so those permissions must be recreated in the target. Qdrant ships with no authentication on self-deployed instances, and its security documentation recommends API keys and TLS before any data loads. OpenSearch offers role-based and document-level security through its Security plugin. Map each index's access rules to the target before migrating records.

Qdrant security docs

Questions buyers ask before leaving Azure AI Search

How much effort and cost does rebuilding indexes from source take?

The effort is mostly rebuilding, not moving data out, because Azure AI Search holds a derived copy of content that lives in your source systems. The cost components are the inventory of indexes, indexers, skillsets, synonym maps and knowledge bases; the schema mapping into the new engine; the ingestion pipeline that replaces indexers and skillsets; embedding work; and the test and cutover effort. Cost rises with the number of indexes, the number of source systems, how much enrichment logic lives in skillsets, and whether vectors must be regenerated. It falls when the schemas are simple and the source data is clean and accessible. Ask any quote to price each component separately, and to say which parts are one-time (build, migration, cutover) and which recur (hosting, embedding calls, operations).

How long does an exit from Azure AI Search take?

The timeline is set by the number of source systems, the volume of content to re-index, the complexity of skillsets and the amount of re-embedding, and by how many applications query the indexes. Re-indexing time grows with corpus size and with any embedding model that runs over every document. Schema and query translation usually takes longer than the bulk load when OData filters, scoring profiles or semantic ranking are used in production. Ask the quote for a plan that lists these workstreams, the dependencies between them, and the parallel run period before cutover. A written scope should set the timeline; no duration can be given here without knowing your indexes and sources.

What does the migration need from our team?

Your team has to supply four things: access to the source systems that feed each index, owners who can confirm each index schema and which fields are searchable, filterable or facetable, decisions on the embedding model and dimensions, and a named owner for the applications that query the indexes. Access requests are often the longest lead item, especially for data behind separate permission models. Schema owners matter because Azure AI Search does not carry over automatically into a new engine's mappings. Embedding decisions matter because they determine whether vectors can be kept or must be regenerated. Confirm these owners and access paths before the quote is final.

Can an internal team rebuild the indexes alone?

An internal team can do it alone if it has engineers who know the source systems, have operated a search cluster, and can test relevance against real queries. The hard parts are usually not the engine itself but the translation work: rebuilding skillsets as ingestion pipelines, mapping OData filters and scoring profiles, and proving that results match closely enough for users. Teams that take this on without a plan often underestimate the testing and cutover effort. A fixed-scope engagement from DeployOpen can cover planning, implementation, integration, hardening, documentation and support in your own infrastructure, with scope and deliverables agreed in writing before work starts. Compare the internal estimate against that written scope.

Can we keep our existing vectors when we leave?

Sometimes. Vectors can be kept when the target engine accepts the same dimensions and the same embedding model is still in use, because the stored vectors then remain valid for queries. Qdrant's migration tool can move vectors into Qdrant from sources including Elasticsearch, OpenSearch, Pinecone and other vector stores, with resumable transfers, but it does not cover Azure AI Search as a source, so confirm how the export would be done for your indexes. If the embedding model changes or you want a different model, the vectors must be regenerated from source content, which adds embedding compute and review time. Confirm with the quote which vectors are kept and which are re-embedded, and why.

What breaks if we copy our indexes without rebuilding them?

A direct copy usually breaks query behavior, not the data. Azure AI Search field types, analyzers, scoring profiles, synonym maps and semantic configuration have no one-to-one equivalent in another engine, so the same query can return different ranking or miss results. Filters written in OData must be translated, and any skillset that enriched content during indexing must be replaced by pipeline steps you run. Check every query path in the application, including autocomplete, facets and access filters for permissions, before cutover. Plan a relevance test set built from real queries and compare results between the two systems during a parallel run.

Do we need to export data from Azure AI Search at all?

Usually no. Because the index is a derived copy, the reliable route is to re-index from the systems that hold the original content, which keeps the source as the record of truth and avoids depending on exported search artifacts. Export from the index is useful mainly for reading schema definitions, synonym maps and configuration so they can be rebuilt. Confirm with your own team which configuration exports are available in your tenant, and keep an inventory of each index, indexer, skillset and knowledge base before the rebuild starts.

What to plan before the Azure renewal or termination date

Several decisions have to be settled before the Azure AI Search subscription ends, because the exit is a rebuild from source rather than a data copy. The cards below cover what to freeze, what to keep running, how to validate the new engine, and what happens to indexed data at the end of the contract.

Freeze index schema changes

Once the rebuild starts, every field, analyzer, scoring profile and suggester change made in Azure has to be mirrored by hand in the new engine. Set a schema freeze date and record the current index definitions as the baseline for the target mappings. Any change requested after the freeze should go through the same review as a new feature, so the rebuild does not chase a moving target. Confirm with the application owners which indexes are still in use before freezing.

Confirm source systems stay available

Azure AI Search does not hold the authoritative copy of your content, so the source databases, file stores and APIs must remain reachable for the full rebuild and the parallel run. Check that credentials, network paths and rate limits used by the existing indexers will also work for a bulk export. Ask owners of each source system whether they plan retirements or migrations inside the same window.

Plan a parallel run

Run the new search engine alongside Azure for a period long enough to compare result sets for your highest-value queries, including filtered, faceted and semantic queries. Decide who signs off on relevance and what counts as a regression. Keep Azure serving production until that sign-off, so a rollback path exists without a new migration. Ask your engineering team to write the comparison queries before the parallel run begins.

Decide retention or deletion of copies

Indexed copies, vectors and cached enrichment output in Azure AI Search are derived data that can contain personal or confidential content. Decide whether they must be deleted at contract end, retained for a defined period, or kept for audit evidence. Record that decision with the data owner, and confirm that the deletion method covers every index, skillset output and knowledge store that was in use.

Confirm Microsoft billing and deletion terms

Ask Microsoft and your procurement team which billing terms apply to the subscription at termination, how notice periods work, when billing stops for search units, and how data deletion is confirmed in writing. Check whether any commitment or reservation applies, and whether a renewal date falls before the rebuild completes. Treat these answers as contract facts to verify, not as assumptions drawn from this page.

How to verify the rebuilt index matches the old one

The point of verification is to show that the rebuilt index returns the same business results as the Azure AI Search index it replaces, and to show it before users depend on it. Start with document counts per index, comparing the number of documents in each rebuilt index against the count in its source system for the same filter scope. Do this per index, not only in total, because a skipped partition or a failed indexer run often hides inside an overall figure. Agree in advance what counts as a match for each index, and write that down. This guide does not set a tolerance for you, because the right number depends on how often the source changes and whether deleted or soft-deleted records are indexed. Confirm those rules with the data owners for each source.

Next, run a fixed set of representative queries against both systems and record the results side by side. Choose queries with the search owners: common site searches, known-item lookups, zero-result queries, queries that use synonyms, and queries that exercise each filter and facet the application uses. Include the OData-style filters and scoring behavior that the old application relied on, and confirm how each one was translated. Check filters and access control with sample users from each security group or tenant, and confirm that a user never sees a document their Entra ID or source permissions would hide. Treat any leak as a blocker. Then have search owners review relevance before cutover. Exact score parity is not expected across engines, since OpenSearch and Azure AI Search compute scores differently, so compare rank order and the presence of expected documents in the top results rather than raw scores.

How DeployOpen scopes and delivers an Azure AI Search exit

DeployOpen treats an Azure AI Search exit as a rebuild project: inventory what exists in the service, confirm where each source record lives, then re-index from those sources into the new engine in your own infrastructure. Engagements are fixed-scope, with scope, deliverables and timelines agreed in writing before work starts.

How we scope

  • Inventory every index, indexer, skillset, synonym map and knowledge base in the Azure AI Search service
  • Map each index to its source system and record who owns that source and its access rules
  • Agree in writing whether vectors are copied or re-embedded, and which embedding model is used

How we build

  • Rebuild index schemas as target engine mappings and replace indexers and skillsets with ingestion pipelines
  • Re-index from source systems into the self-hosted engine in your cloud account, data center or air-gapped network
  • Test search relevance, filters and access controls against the original Azure behavior before cutover

How we hand over

  • Deliver written documentation of index schemas, pipelines, data flows, credentials and access roles
  • Provide runbooks for re-indexing, backup, upgrades and rollback, with the cutover plan agreed beforehand
  • Record evidence of access controls and audit logging so your security and compliance teams can review the setup

How we support

  • Ongoing support, upgrades and continuous testing are available as a retainer after handover
  • Quotes follow from the written scope, so ask for line items covering inventory, build, testing and handover
  • Confirm with DeployOpen which post-handover tasks, such as re-indexing cadence and version upgrades, sit inside a retainer

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.