Migrate from OpenSearch to Qdrant

Moving k-NN vector indexes from OpenSearch or Amazon OpenSearch Service into self-hosted Qdrant, with filters rebuilt as payload indexes and text search kept where it belongs.

On this page

Migrate from OpenSearch to Qdrant when vector search needs its own engine

You move k-NN vector indexes from OpenSearch to Qdrant when vector search has outgrown the shared cluster and needs its own engine, while keyword search and logs stay where they are. The Qdrant Migration Tool answers this with its opensearch subcommand, which reads the source indexes and creates the target collection automatically. Your job is to decide which indexes move, and to confirm that the cluster, the Qdrant target and your clients can carry the change. Many OpenSearch clusters serve k-NN queries next to full-text search, log analytics and dashboards. Moving only the vector workload means the text and log indexes keep running on OpenSearch, so you need an inventory of which indexes hold vectors, which hold documents searched by keyword, and which applications query each of them.

Effort depends on three things: how many filters the k-NN queries apply, how the vector indexes are shaped, and how many clients query the cluster. Filters in OpenSearch are often expressed as query clauses on keyword, numeric or date fields, and each one must be recreated as a payload index in Qdrant before the filtered searches can be checked. Index shape matters because the vector field dimension, the distance metric and any engine settings have to match what the target collection expects, so confirm them in the source mappings before the first run. The number of clients matters because every application that sends k-NN queries must be switched and tested. Ask your migration partner, or your own team, to list each query path and its filters before a quote or schedule is agreed, and confirm the current tool behavior in the Qdrant migration tool documentation.

What maps cleanly from OpenSearch k-NN to Qdrant and what does not

This table compares how each OpenSearch k-NN and search concept lands in Qdrant, and which ones need deliberate rebuilding. Read the left column as the source feature, the middle as the Qdrant target, and the last column as the work your team still owns. The main takeaway is that vectors, IDs and metadata move cleanly, while BM25 text search and aggregations stay in OpenSearch unless you rebuild them on purpose.

OpenSearch featureQdrant equivalentMigration note
knn_vector field and dimensionNamed or unnamed vectors in a collection with a fixed sizeConfirm the dimension matches your embedding model. The migration tool creates the target collection automatically, but check its vector configuration before loading.
Distance metric (space_type)Collection distance setting such as cosine, dot or EuclideanMap OpenSearch space_type to the same Qdrant distance. A mismatch changes ranking and can look like a recall problem after cutover.
Document _idPoint ID, with the original ID kept in payloadQdrant point IDs must be unsigned integers or UUIDs. Store the original OpenSearch _id in payload if clients still look up documents by it.
Source fields and metadataPayload (JSON) stored with each pointFields move as payload. Review nested objects and arrays, since their shape determines which payload indexes you can create later.
Term and keyword filters in the k-NN queryPayload indexes (keyword, integer, geo and similar types) used in filtered searchFilters do not carry over automatically. Create a payload index for each filtered field and test that filtered results match OpenSearch.
BM25 full-text scoring and analyzersNot a direct equivalent. Qdrant hybrid search combines dense and sparse vectors that you generateText search stays in OpenSearch unless your team rebuilds it deliberately with sparse vectors or a separate index. Plan relevance tests before removing it.
Aggregations and facetsNo direct equivalent in the vector collection. Use payload filters or a separate analytics storeKeep aggregation dashboards on OpenSearch or move them to a warehouse. Do not expect them to be reproduced by Qdrant queries.
Security roles and document-level securityAPI keys, read-only keys and JWT access with per-collection permissionsRoles do not transfer. Rebuild access as collection-level JWT permissions, and confirm which fields a role could see in OpenSearch are still restricted.

Documented import paths from OpenSearch

The primary documented route from OpenSearch into Qdrant is the Qdrant Migration Tool's opensearch subcommand. The cards below cover how to run it, what you must supply from the OpenSearch side, and where OpenSearch's own migration tooling stops being relevant.

The opensearch subcommand

The Qdrant Migration Tool reads k-NN vector data from OpenSearch with its opensearch subcommand and creates the target Qdrant collection automatically. This is the primary documented path for this move. Before you run it, confirm the subcommand's options and the vector field handling against the migration docs for the tool version you plan to use, and test on a copy of one index first.

Migration tool docs

Container or binary deployment

The migration tool runs either as a container or as a standalone binary, so it can execute on a host that can reach both the OpenSearch cluster and the target Qdrant endpoint. Choose the location with network paths to both sides in mind, since the tool moves data between them rather than through a shared file. Record the tool version used so the run can be reproduced during cutover testing.

Batched and resumable streaming

The tool streams vectors in batches and can resume an interrupted run, which matters when an index holds millions of documents and the connection drops partway through. Confirm the batch size and resume behavior for your version, then check the target collection point count against the source document count before moving on. Plan for a re-run window in case a batch fails.

OpenSearch inputs to supply

The team must provide the OpenSearch endpoint, the index name to read, and credentials with read access to that index. Use a dedicated read-only role rather than an administrator account, and confirm how TLS certificates are trusted from the migration host. Also collect the vector field name and dimension so the target collection's vector size matches the source embeddings.

Migration Assistant is not a Qdrant path

OpenSearch Migration Assistant is designed for moving between OpenSearch clusters, so it does not carry vector indexes into Qdrant. Teams sometimes find it first because it appears in OpenSearch's migration documentation. Use it only if the destination stays on OpenSearch, and use the Qdrant Migration Tool for any move into Qdrant.

Confirm options per version

Subcommand flags, supported source versions and field handling can change between releases of both products. Before the run, check the Qdrant migration docs for the exact tool version you will deploy, and check the OpenSearch version on the source cluster against the tool's stated support. Write the confirmed options into the runbook so the cutover team uses the same settings.

How the migration tool reads an OpenSearch index

The Qdrant Migration Tool moves an OpenSearch index through its opensearch subcommand, which reads documents from the source index in batches, writes each batch as points into a Qdrant collection, and creates that target collection automatically. The tool takes the vector field and the document fields you point it at and maps them into a vector and a payload for each point. Because the tool builds the target for you, the collection's shape is decided by the first run unless you check it beforehand. Before you start, pull the index mapping from OpenSearch and record the dimension of the k-NN vector field and the similarity space it uses, since those two values determine the vector size and distance metric the new Qdrant collection needs.

Check those two values against the source mapping before the first run, not after. A collection created with a different vector size will reject the source vectors, and a distance metric that does not match the one the embeddings were trained for will return results that look plausible but rank differently. OpenSearch k-NN spaces such as L2, cosine similarity and inner product do not map one to one onto Qdrant distance options, so confirm the equivalent in the Qdrant distance documentation and in your embedding model's guidance. If the mapping is ambiguous, pre-create the collection yourself with explicit settings and point the tool at it, so the choice is recorded in your configuration rather than inferred. Document fields that you will filter on should also be listed now, so you can create payload indexes once the data is in.

Interrupted runs can resume, which is documented behavior for the migration tool, but a resume only helps if the source has not changed and the target collection still matches the original settings. Test this on a copy of the index before the production move: stop a run partway through, restart it, and then compare point counts and sample search results against the source. Confirm that the tool does not duplicate points on resume in your version, and confirm the expected count with the current Qdrant migration documentation before you rely on it. The rehearsal also tells you how long a full run takes on your hardware, which is the number to bring into planning rather than any estimate from a vendor.

Sequence for moving OpenSearch vectors with a parallel run and cutover

This sequence moves k-NN vector indexes from OpenSearch into Qdrant without a blind switch, proving recall and result parity on a pilot index before any application traffic changes. It ends with a documented cutover and a retention period before the old k-NN index is removed.

  1. Inventory indexes, queries and clients

    Your team, with DeployOpen if engaged, lists every index that holds dense vectors, the k-NN query shapes each application sends, the filters and text clauses mixed into those queries, and every client or service that calls OpenSearch. Record the vector dimension, similarity metric, document count and which fields are used for filtering. The step is done when each vector index has an owner, a query inventory and a clear note on which text search features stay on OpenSearch.

  2. Split text search from vector retrieval

    For each application, decide which part of the query stays on OpenSearch, such as BM25 keyword matching, log analytics or aggregations, and which part moves to Qdrant as vector similarity with payload filters. Where a query mixes both, document how results will be combined and who owns the merge logic. The step is done when the decision for every query shape is written down and approved by the application owner.

  3. Run a pilot migration into a non-production cluster

    Deploy a non-production Qdrant cluster in your infrastructure following the installation rules for block storage, then run the Qdrant Migration Tool's opensearch subcommand against one representative index. The tool creates the target collection automatically, so review the vector size, distance metric and collection settings it produced before loading full data. The step is done when the pilot collection holds the expected point count and the run log shows no unresolved errors.

  4. Rebuild payload indexes for filter fields

    Map each OpenSearch keyword, numeric, date and boolean field used in filters to a Qdrant payload field, then create payload indexes for the fields queries filter on. Confirm that field types and value formats match what the application sends, including time zones and multi-valued fields. The step is done when every filter used in the query inventory runs against the pilot collection and returns the same subset of documents as the equivalent OpenSearch filter.

  5. Compare recall and results against OpenSearch

    Run a fixed set of real query vectors and filter combinations against both the OpenSearch k-NN index and the pilot Qdrant collection, then compare top-k overlap, ranking order and filtered result counts. Record any queries where the overlap is lower than your agreed threshold and check whether the cause is index parameters, quantization or filter logic. The step is done when the comparison report is signed off by the application owner and every gap has a recorded cause and fix.

  6. Run both systems in parallel

    Send a copy of production queries to Qdrant while OpenSearch keeps serving the users, and log both result sets for the same requests without showing Qdrant results to users. Compare latency, error rates and result differences over a period your team agrees with the business. The step is done when the parallel run shows result differences within the agreed tolerance and no unexplained errors remain open.

  7. Cut over endpoints and API keys

    Switch application configuration to the Qdrant endpoints, using per-collection read keys or JWT permissions instead of admin keys, and confirm TLS is enabled for every client path. Keep the OpenSearch endpoint and its credentials available for rollback during the cutover window. The step is done when all production clients read from Qdrant, the rollback path has been tested, and the change record names the owner of each application.

  8. Decommission the k-NN index after retention

    Keep the OpenSearch k-NN indexes read-only for a retention period the business agrees in advance, and back up their data before removal. Remove the k-NN indexes only after the retention period ends with no rollback requests and no open recall issues. Text search indexes that stay on OpenSearch are not part of this removal. The step is done when the backup is verified, the removal is approved in writing, and the decommissioning record is filed.

What drives the cost and duration of an OpenSearch to Qdrant move

This table lists the factors that set the effort of moving k-NN indexes from OpenSearch into self-hosted Qdrant, and whether each cost is paid once or recurs. Use it to scope the work before asking for a quote, since most of the variation comes from the number of indexes, filter fields and client applications. The main takeaway is that the migration itself is usually the smaller part, while sizing, security and ongoing operations carry the recurring cost.

DriverWhy it changes cost or effortOne-time or recurringHow to keep it down
Number of indexes and total vector countEach index becomes a Qdrant collection to create, map and validate, and total vector count sets transfer time and target storage.One-timeMigrate only the indexes still in use and archive or drop stale ones before the run.
Vector dimensions and distance metricDimensions and the chosen metric must match the target collection, so mismatches force a rebuild and a second recall check.One-timeRecord each index's dimension and similarity setting from OpenSearch before the target is created.
Filter fields needing payload indexesEach k-NN filter field from OpenSearch must be rebuilt as a payload index in Qdrant and tested against real queries.One-timeInventory query filters and index only the fields that appear in production filter clauses.
Keyword and BM25 search that moves or staysText relevance rules either move to Qdrant hybrid search or stay in an OpenSearch or other text engine, which adds a second system to run.One-time build, recurring if two engines remainDecide per index whether text search stays put, and keep that boundary in the architecture record.
Client applications to repointEach application needs new endpoints, collection names, query syntax and API keys, and each needs regression testing.One-timeList every caller from OpenSearch access logs and group them by shared client library.
Qdrant deployment choiceSingle node, Docker, Kubernetes Helm chart or enterprise operator, and Hybrid or Private Cloud, each change the platform work and support model.One-time setup, recurring operationConfirm which deployment path fits your platform team before design starts, since the Helm chart lacks enterprise features.
RAM and disk sizingQdrant needs block storage on SSD or NVMe, and memory and disk must cover vectors, payloads and replicas during the transfer and after cutover.Hardware or cloud cost recurring, sizing one-timeSize from measured vector counts and replication factor, and ask the vendor to confirm figures for your dimensions.
API keys, JWT access and TLSSelf-deployed Qdrant ships with no authentication, so keys, per-collection JWT permissions, TLS and audit logging must be designed and reviewed.One-time build, recurring key rotation and reviewMap existing OpenSearch roles to Qdrant permissions early and reuse your certificate process.
Backups, upgrades and monitoringSnapshot schedules, version matching for restores and minor-version upgrades become standing tasks once the cluster is live.RecurringSet snapshot and upgrade runbooks during cutover so they are not built later under pressure.

What usually goes wrong in OpenSearch to Qdrant moves

Most failed OpenSearch to Qdrant moves do not fail in the migration tool itself. They fail in assumptions about search behavior, filter semantics, security defaults, versions and storage. Each card below names one of these risks and the check that prevents it.

Assuming Qdrant replaces full-text search

OpenSearch often serves both k-NN vector queries and BM25 keyword search from the same index, so teams assume moving vectors also moves text relevance. Qdrant is a vector search engine, and its hybrid search combines dense vectors with sparse or keyword-style signals only when you design that query. Before cutover, list every query that relies on analyzers, stemming, phrase matching or highlighting, decide which system serves each one, and test those queries against the target separately.

Migrate to Qdrant docs

Filters that behave differently after rebuild

OpenSearch filter clauses on keyword, numeric and date fields do not map one to one onto Qdrant payload indexes. A field that was analyzed text in OpenSearch can match differently once it is stored as a payload value, and missing or null fields can change which points match. Create a payload index for each filtered field, then run a fixed set of filtered queries on both systems and compare the returned IDs before switching clients.

Metric or dimension mismatch lowers recall

A vector that was indexed with cosine similarity in OpenSearch but created in Qdrant with another distance metric will still return results, so the error is silent. The same applies when the vector size does not match the embedding model in use. Confirm the vector dimension and distance metric from the OpenSearch mapping, pre-create the target collection with those values, and measure recall on a sample of known queries before and after the move.

Self-hosted Qdrant exposed without authentication

Qdrant ships with no authentication, and a self-deployed instance listens on all network interfaces by default. A migration target stood up quickly for testing can therefore hold production embeddings and payloads open to anyone who can reach its port. Before the migration tool connects, configure an API key, restrict network exposure to the migration host and application subnets, and enable TLS. Hardening tasks are covered in the security hardening guidance.

Qdrant security docs

Snapshots restored across incompatible versions

Qdrant snapshots restore only to clusters on the same minor version or the next minor version. Teams that take a snapshot from a test cluster on one release and restore it to a production cluster on another can find the restore refused at the moment they need it. Record the exact Qdrant version used by the migration target, match it in every environment that will restore snapshots, and test one full restore before relying on the backup.

Qdrant snapshots docs

Running on network or object storage

Qdrant requires block-level storage with a POSIX-compatible file system and does not run on network file systems such as NFS or object storage such as S3. Infrastructure teams that reuse an existing shared volume class or object bucket for the new cluster can discover this only after the migration has started. Confirm the storage class of every node before loading data, prefer SSD or NVMe, and keep S3 for snapshot storage rather than live collection data.

Qdrant installation docs

What changes for your applications and operations after cutover

Application teams own the query rewrite, and it is the largest change they will make. OpenSearch k-NN queries are written in the OpenSearch query DSL, usually as a knn clause inside a query body with filters combined in a bool block. In Qdrant, the same request is a call to the Qdrant client SDK for your language, which passes a vector and a filter built from payload conditions. Filters that were term or range clauses must be rewritten against the payload field names the migration created, and any _source field selection becomes a payload return setting. Text match and BM25 queries do not map to these calls, so application teams should keep those on OpenSearch or move them to Qdrant hybrid search as a separate decision. Before cutover, confirm that the client SDK for your language supports the filter, payload and batch operations your code uses, and test those calls against a migrated copy of the collection.

Security and platform teams own the change from OpenSearch Security roles to Qdrant access control. OpenSearch Security maps users to roles with index-level, document-level and field-level permissions, often backed by SAML, OpenID Connect or LDAP. Qdrant does not provide document-level roles. Instead, it offers admin and read-only API keys, and JWT-based access control with per-collection read or write permissions. Any tenant or application boundary you enforced with document-level security must be redesigned, either as separate collections or as claims in the JWT paired with payload filters. Confirm which Qdrant version your cluster runs, because JWT per-collection permissions and JSON audit logging of authenticated operations depend on the version. Also confirm whether your Qdrant deployment will be reached through an identity layer you already run, since a self-hosted instance is open on all interfaces until you configure authentication.

Platform teams own the change in backups, and the version and topology limits matter most. OpenSearch snapshots are restored through its own snapshot repository workflow. Qdrant backs up with collection snapshots, which are tar archives of one collection on one node, and it can store them in S3-compatible storage. Full-storage snapshots work only on single-node deployments, so a multi-node cluster needs a per-collection backup plan. A snapshot from one cluster can be restored only to a cluster on the same minor version or the next minor version, which limits how you sequence upgrades and disaster recovery drills. Ask your team to write a restore test that runs on the target version, and record the version of every cluster involved in the migration.

Questions buyers ask before moving OpenSearch vectors to Qdrant

What does it cost to move OpenSearch vectors to Qdrant?

The cost comes from the work, not from a license fee, because the Qdrant engine is open source and the OpenSearch software is Apache 2.0 with no paid edition described. The main cost components are the people who inventory queries, map fields and filters, run the migration, re-check search results and cut over clients, plus the infrastructure you run Qdrant on. Costs recur in hosting, monitoring and upgrades after cutover. Drivers that raise the cost include the number of indexes, how many query patterns depend on keyword or BM25 behavior, the number of filters that must become payload indexes, and how much test coverage you need. Ask any partner for a written scope that lists each of these items and what is one-time versus recurring. DeployOpen provides quotes only from a written scope.

How long does an OpenSearch to Qdrant migration take?

Timeline depends on how many indexes you move, how complete your query inventory is, how much the filters and text search change, and how long recall and latency testing takes in your environment. The Qdrant Migration Tool creates the target collection automatically when it reads from OpenSearch, so the data copy itself is usually not the longest step. The longer steps are deciding what stays in OpenSearch, rebuilding filters as payload indexes, validating search results against real queries and switching application clients. Confirm duration with your own team or a partner against your data volume and test plan, because no fixed figure is supplied for this move.

Can our internal team run this migration without an outside partner?

Yes, if your team has engineers who can run the Qdrant Migration Tool, operate a Qdrant node or cluster, and interpret OpenSearch k-NN queries and their filters. The migration tool is documented with an opensearch subcommand, so the data movement is not custom engineering. The risk sits in the edges: queries that combine k-NN with bool filters, keyword analyzers that BM25 replacements must match, and access rules that move from OpenSearch Security roles to Qdrant keys or JWT permissions. Teams without this experience often choose a fixed-scope engagement for those parts, with written deliverables and a retest.

What do we need to provide before the migration starts?

Three inputs decide whether the work can start on schedule: read access to the source OpenSearch indexes and their mappings, a complete inventory of the queries your applications send, including filters, sorting and any text search, and a test environment with a Qdrant deployment that matches production storage rules. Qdrant needs block-level storage with a POSIX-compatible file system and cannot run on network file systems such as NFS or object storage such as S3, so confirm that before the test environment is built. You also need a set of representative queries with expected results so recall and filter behavior can be checked after the move.

Does OpenSearch licensing change the decision to move?

Usually not on licensing grounds. 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. That means a move is not required to escape a license fee. The decision should rest on technical fit: whether a dedicated vector engine serves your workload better, whether you need text search to stay in OpenSearch, and what your operations team can support. Confirm the current license terms in the OpenSearch FAQ before the decision is recorded, since that source is the reference for the project's licensing.

Is the Qdrant open-source engine free to self-host?

Yes. Qdrant is an open-source vector search engine licensed under Apache-2.0, and the open-source engine is free to self-host. The costs of self-hosting are the infrastructure you provide, the engineering time to deploy, secure, back up and upgrade it, and any paid support or enterprise offering you choose. Qdrant Cloud has a free single-node tier with 0.5 vCPU, 1 GB RAM and 4 GB disk, while Hybrid Cloud and Private Cloud are priced through Qdrant sales. Self-hosting also means you configure security yourself, because self-deployed instances listen on all network interfaces and have no authentication configured by default.

Should we keep keyword and full-text search in OpenSearch after the move?

In many setups, yes. Qdrant moves the dense vector work, and the question is whether your keyword search, log analytics or BM25 ranking should stay where they are. Keeping OpenSearch for text search means two systems to run, but it avoids rewriting relevance tuning on day one. Moving to Qdrant hybrid search is an option that needs its own testing, because scores from BM25 and vector similarity must be combined and compared with your current results. Decide per index and per query type, and document which application paths read from which engine.

How do OpenSearch access controls map to Qdrant?

They do not map one to one, so plan this before cutover. OpenSearch Security provides role-based access control, document-level and field-level security, and audit logs. Qdrant offers admin and read-only API keys, TLS for REST and gRPC, JWT-based access control with per-collection read or write permissions, and JSON audit logging of authenticated API operations. Document-level restrictions in OpenSearch usually need to become payload filters enforced by your application or JWT claims, and that design should be tested with users who hold different roles before any client is switched.

How DeployOpen scopes and delivers an OpenSearch to Qdrant migration

DeployOpen starts by mapping which OpenSearch indexes hold k-NN vectors, which queries rely on filters, and which still need keyword search. The work is then agreed in writing, built in a Qdrant environment you control, and handed over with the documentation your team needs to run it.

How we scope

  • Inventory k-NN indexes, source versions and the filters that must become payload indexes
  • Agree in writing which keyword and BM25 queries stay in OpenSearch and which move to Qdrant
  • Define the Qdrant target, access model and cutover criteria before any data moves
  • Engagements are fixed-scope, with deliverables and timelines agreed in writing first

How we build

  • Pre-create the target collection with vector size and distance matched to the source
  • Run the Qdrant Migration Tool opensearch subcommand in batches, with resume after interruption
  • Recreate filter fields as payload indexes and compare filtered search results against OpenSearch
  • Configure API keys, TLS and audit logging in your infrastructure before clients connect

How we hand over

  • Document the migration runs, collection settings, index mappings and validation results
  • Provide a cutover runbook covering client endpoint and API key changes and rollback steps
  • Record which OpenSearch functions remain and how they are secured and operated
  • Walk your engineers through operating the Qdrant cluster and its snapshots

How we support

  • Ongoing support, upgrades and continuous testing are available as retainers
  • Retainers can cover Qdrant minor version upgrades, checked against the version you run
  • Post-cutover recall and filter checks can be repeated as your data and queries change
  • Ask for the support scope, response expectations and change process in the quote

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.