Migrate from Elasticsearch to Qdrant

Moving dense vectors from Elasticsearch into self-hosted Qdrant is a bounded data move, but the real work is deciding whether a dedicated vector engine is worth it, rebuilding filters and replacing BM25 queries.

On this page

When should a team migrate from Elasticsearch to Qdrant?

If your Elasticsearch cluster holds dense vectors next to text fields, the move to a dedicated vector engine is mainly a data move plus a query rewrite, and the effort depends on your filters, your hybrid search needs and the shape of your cluster. The Qdrant Migration Tool has an elasticsearch subcommand that reads the source index and creates the target collection automatically, so the first decision is less about tooling than about which Elasticsearch behavior you still depend on. The open-source Qdrant engine is licensed under Apache-2.0 and is free to self-host, so the question is what you would operate yourself in exchange.

A dedicated engine tends to make sense when vector search is the main workload and keyword search is secondary, when vector traffic is competing with logs and analytics for the same heap and disks, or when you want vector capacity to scale separately from text search. Before deciding, list every Elasticsearch query that combines a knn clause with bool filters, aggregations or BM25 scoring, because each one needs a Qdrant equivalent. Also confirm your Elastic license position, since the default distribution is under the Elastic License 2.0 and the AGPLv3 option is a separate choice. Elastic's licensing FAQ explains the distinction.

If most of your Elasticsearch use is keyword search with a small vector add-on, keeping both may be simpler than splitting the data, and that is a valid outcome. Ask your team to confirm the Elasticsearch version and support window, the number of indexes that hold vectors, the filter fields used at query time and whether hybrid ranking must stay in one place. Those answers set the scope, the sizing and the cutover plan. Your Qdrant hardware, storage and cluster design are then planned against that scope rather than against a generic estimate.

Which Elasticsearch features map cleanly to Qdrant, and which do not

Qdrant covers the vector half of most Elasticsearch deployments well, but it is not a general search and analytics engine. The cards below separate what moves across as vectors, filters and payload from what needs a redesign, a hybrid search plan or a decision to stay in Elasticsearch.

Dense vector fields become collection vectors

Each dense_vector field in your index maps to a named vector in a Qdrant collection, and the vector size and distance metric must match the embeddings you already store. Confirm the dimension count and similarity function from your index mapping before the migration tool creates the target. A mismatch in dimensions or distance metric produces results that look plausible but rank incorrectly, so check recall on known queries after the move.

Stored fields move into payload

Document fields that Elasticsearch stores alongside vectors, such as titles, IDs, tenant names and timestamps, become the JSON payload attached to each Qdrant point. Decide which fields your application reads back from search results and keep only those, since large payloads increase memory and disk use. Keep the source of truth in Elasticsearch or your system of record if other workloads still query those documents.

Keyword and numeric filters become payload indexes

Term, range and boolean filters that narrow a kNN query in Elasticsearch need matching payload indexes in Qdrant, or filtered searches will be slow. Create keyword indexes for exact-match fields and numeric indexes for ranges, and test each filter combination your application uses. Filters on fields you never indexed are the most common cause of disappointing filtered latency after cutover.

kNN queries map to Qdrant search

Approximate kNN queries with a k value and num_candidates setting translate to Qdrant vector search with a limit and filter. The tuning knobs differ, so result sets will not match Elasticsearch ranking exactly without recall testing. Compare top results for a sample of real queries against the Elasticsearch baseline before you switch clients.

BM25 full-text needs hybrid search design

Qdrant does not reproduce Elasticsearch BM25 scoring, analyzers and full-text query syntax. If your search combines keyword relevance with vector similarity, you must design a hybrid query that fuses a sparse or keyword signal with dense results, and then tune the weighting against judged queries. Decide before cutover whether Qdrant hybrid search replaces BM25 or whether Elasticsearch keeps keyword search.

Aggregations, ingest and percolator stay behind

Aggregations, ingest pipelines, percolator queries and custom analyzers have no direct equivalent in Qdrant. Each one needs a redesign in application code or in an upstream pipeline, or it stays in Elasticsearch. Inventory these features in your cluster early, because they often decide whether Elasticsearch can be retired at all.

Elasticsearch capability, Qdrant equivalent and migration notes

This table maps the Elasticsearch features your indexes use to their closest Qdrant equivalent and notes what changes during the move. Read each row against your own mappings and queries, then confirm exact behavior in Qdrant's features documentation before you design the target collection.

Elasticsearch capabilityQdrant equivalentMigration note
dense_vector fieldsNamed vectors in a Qdrant collection with a set size and distance metricThe migration tool creates the target collection automatically, but confirm vector size, distance metric and any quantization settings before loading production data.
kNN and filtered kNNVector search with payload filters applied during the queryFilter results against your own relevance tests, since filtered and unfiltered recall can differ. Confirm filter behavior in the features documentation.
Keyword filters (term, terms)Payload match conditions on keyword fieldsEach filtered field needs a payload index for fast filtering at scale. Plan these indexes before cutover, not after.
Numeric and date rangesPayload range conditions, with date values stored in a format your queries can compareNormalize date formats during migration. Mixed formats in source documents are a common cause of silent filter mismatches.
Nested documentsFlattened payload objects or one point per nested item, depending on the query patternNested queries usually need redesign. Decide whether each nested object becomes its own point or a payload structure, and test the chosen approach.
BM25 full-text search (match, multi_match)Qdrant hybrid search combining dense vectors with sparse or keyword-based retrieval, confirmed against current featuresBM25 scoring is not a drop-in replacement. Compare ranking on a sample of real queries and confirm which text features your use case needs.
Aggregations (terms, histograms, metrics)Not a direct equivalent. Use payload-based counts or move analytics to a separate storeIdentify dashboards and reports that depend on aggregations. Keep them on Elasticsearch or another analytics system unless you rebuild them deliberately.
Ingest processors (pipelines)Transformations in the migration step or in your application's ingestion codeEach processor you rely on needs an explicit replacement. Inventory pipelines before migration, because Qdrant does not run them for you.

Which documented import paths move Elasticsearch data into Qdrant

The primary documented path is the Qdrant Migration Tool with its elasticsearch subcommand. The tool reads dense vector fields and their stored fields from an Elasticsearch index, creates the target Qdrant collection automatically, and writes points in batches. It can run as a container image or as a binary, which lets you execute it inside the same network segment as both clusters rather than from a laptop. It resumes interrupted runs, so a dropped connection does not force a full restart. Because the tool creates the collection for you, review the vector size and distance metric it chooses before the first full run.

  • Container or binary: Pick the form that fits your change control. A container image is easier to pin and audit; a binary is simpler on hosts without a container runtime.
  • Batch streaming: Data moves in batches, so batch size is the main lever for load on Elasticsearch and on Qdrant during the run.
  • Resume support: Keep the run logs so an interrupted job can continue from its last checkpoint instead of rereading the whole index.
  • Automatic collection creation: Confirm the generated collection settings against your embedding model's documented dimensions before loading production data.
  • Source credentials: Use a read-only Elasticsearch account scoped to the source index, and remove it after cutover.

Confirm the exact elasticsearch subcommand flags, authentication options and resume behavior against the Qdrant migration tool documentation for the version you run, since flags change between releases.

How the Elasticsearch to Qdrant cutover runs in phases

This sequence moves dense vector fields from Elasticsearch into Qdrant in controlled stages, so each index is proven on Qdrant before clients switch and Elasticsearch stays available as a fallback until the team no longer needs it.

  1. Inventory indexes, vector fields and query paths

    Your team lists every Elasticsearch index that holds dense vector fields, the fields and their dimensions, the keyword and numeric filters applied at query time, and the application code paths that call kNN or hybrid queries. DeployOpen can run this inventory with your engineers and record it in a migration register. It is done when each index has an owner, a vector size, a distance metric, and a documented list of filters that must become payload indexes.

  2. Confirm infrastructure and deployment prerequisites

    Before any data moves, the platform team confirms that the Qdrant nodes will use block-level storage with a POSIX-compatible file system, since Qdrant cannot run on NFS or object storage such as S3, and that SSD or NVMe drives are available. For production, plan a cluster of at least three nodes so quorum survives a node failure. Done when the storage and node layout are written down and reviewed by the infrastructure owner.

  3. Pilot one index with the migration tool

    Pick one low-risk index and run the Qdrant Migration Tool's elasticsearch subcommand against it into a non-production Qdrant cluster. The tool creates the target collection automatically, so review the vector size and distance it chose against the source mapping before the run. Done when the record count matches the source and a sample of documents shows the expected vectors and payload fields.

  4. Recreate payload indexes and the hybrid query design

    For each filter recorded in the inventory, create a matching payload index in Qdrant so filtered vector queries stay fast. Then decide how keyword relevance is handled: if BM25 scoring currently drives ranking, design a hybrid query that combines dense and sparse signals, or keep text search in Elasticsearch where it already performs well. Done when every pilot query runs against Qdrant with its filters and a written decision exists for each BM25 use.

  5. Run a parallel period and compare results

    Send the same production queries to both Elasticsearch and Qdrant for a agreed period, and record the top results from each engine. Compare overlap, ranking differences, filter correctness and latency, and review mismatches with the search owner. Done when the team has signed off the comparison against acceptance criteria written before the run, and the remaining indexes have followed the same pilot pattern.

  6. Cut over client endpoints and API keys

    Switch application clients to the Qdrant endpoints, issuing scoped API keys with read or write permissions for each service, and enable TLS on the new endpoints before traffic arrives. Keep the Elasticsearch read path available so a rollback is a configuration change. Done when each client logs successful Qdrant calls, the old keys are restricted to the rollback path, and the on-call runbook names who can switch back.

  7. Decommission Elasticsearch vector fields after rollback

    Once the rollback window is closed and no client reads the vector fields, remove the dense vector mappings and data from Elasticsearch, keeping the text and keyword fields that still serve search. Take a final backup of the indexes before the change. Done when the Elasticsearch indexes no longer hold the migrated vectors, the backup is verified, and the decommission record is filed with the compliance owner.

How data and traffic move during the parallel run

The run starts with the Elasticsearch source, which the Qdrant Migration Tool reads through its elasticsearch subcommand and writes into a self-hosted Qdrant cluster in batches. The application query layer keeps writing to Elasticsearch while it also writes to Qdrant, so both stores hold the same vectors during the overlap. Traffic crosses the trust boundary to the Qdrant API only with an API key or JWT. Before the cutover switch moves reads to Qdrant, compare result sets from both systems on the same queries.

Data flows from the source through the migration tool, while the application dual-writes during the overlap.

What drives the effort and cost of this migration

This table lists the inputs that move the effort and cost of an Elasticsearch to Qdrant migration, with the one-time work and recurring spend each one creates. Read each row against your own cluster, then ask a partner to price the rows that apply to you in writing.

DriverWhy it changes effort or costHow to keep it down or confirm it
Number and size of indexesEach index holding dense vectors needs its own target collection, mapping review and batch run, so index count drives planning time more than raw data volume.Inventory every index with a dense_vector field and retire unused ones before migration.
Vector dimension and vector countVector count sets the migration run length and the RAM and disk Qdrant needs, and the dimension must match the embedding model exactly.Confirm dimension and distance metric per field, then size the Qdrant nodes from the performance and sizing guidance.
Filter complexity and payload indexesKeyword and numeric filters that Elasticsearch ran against mappings must be recreated as Qdrant payload indexes, one decision per filtered field.List every filter clause used in production queries and create payload indexes only for fields those queries use.
BM25 queries needing hybrid redesignFull-text BM25 scoring does not move with the vectors, so each query that mixed text relevance with vector search needs a new hybrid query design and relevance testing.Count queries that combine match clauses with knn, and decide per query whether Qdrant hybrid search or the retained Elasticsearch index serves it.
Client code countEach application that calls Elasticsearch for vector search needs a new client path, new error handling and new tests, which often costs more than the data move.Map every service and SDK call site before scoping, and group clients that share one query pattern.
Parallel-run length and comparison methodRunning both engines side by side needs duplicate capacity for the overlap period, and recall comparison needs a fixed set of reference queries with agreed acceptance thresholds.Agree the comparison query set, the metrics and the cutover criteria in writing before the run starts.
Elasticsearch license tier and what staysSecurity features such as SSO, field-level security and some alerting depend on the subscription tier, and any index kept for text search keeps its license and hosting cost.Check the current Elastic subscription terms for each feature you rely on and confirm which indexes stay in Elasticsearch.
Security setup for QdrantQdrant ships with no authentication by default, so API keys, read-only keys, TLS, JWT per-collection access and JSON audit logs each add configuration and review work.Scope the access model with your security team early, and ask the partner to deliver the hardening steps as a checklist with evidence.
Cluster topologyA production distributed cluster needs at least three nodes for quorum, and replication factor multiplies storage, which raises both the build effort and the hosting bill.Decide the node count and replication factor from availability requirements before sizing hardware.
Recurring costs after cutoverQdrant hosting on your infrastructure recurs, as do the Elasticsearch cluster kept for text search, its subscription if any, and staff time for upgrades and backups. Migration effort itself is one-time.Ask the quote to separate one-time migration work from monthly or annual infrastructure and support costs.

What usually goes wrong in Elasticsearch to Qdrant moves

Most failed Elasticsearch to Qdrant moves do not fail in the migration tool itself. They fail in the gaps around it: default security settings, filter behavior after recreation, lost keyword relevance, storage choices and cutover decisions made without evidence. Each risk below has a prevention to build into the plan before the first batch runs.

Unauthenticated default exposure

A self-deployed Qdrant instance listens on all network interfaces and has no authentication configured until you set it up. Migrated embeddings often carry customer or internal document content, so a node reachable from a wider network is a data exposure. Prevention: set an admin API key and a read-only key before the migration tool connects, restrict network access to the migration host and application subnets, and enable TLS before any production traffic. Confirm the exact settings with the security documentation for your version.

Qdrant security docs

Filter results changing after recreation

Elasticsearch keyword, term and range clauses do not map one to one onto Qdrant payload filters, and the tool creates the target collection without guaranteeing the index types you need. A field mapped as text instead of keyword, or a numeric field left unindexed, can return different hit sets for the same query. Prevention: write down every filter the application uses, create the payload indexes explicitly, and compare filtered result counts for a sample of queries on both systems before cutover.

Migration tool docs

BM25 relevance regression

Teams often assume that dropping Elasticsearch match queries is harmless once vectors are in Qdrant. In practice, lexical matches on exact product codes, names or rare terms can disappear from the ranked results, and users notice first. Prevention: list which queries depend on BM25 scoring, decide whether Qdrant hybrid search or a separate keyword system covers them, and judge the replacement with a labeled set of real user queries rather than a demo.

Storage on network or object file systems

Qdrant needs block-level storage with a POSIX-compatible file system and cannot run on NFS or S3-style object storage. Teams that reuse an existing shared volume class or object store for cost reasons may only discover this after the data is loaded. Prevention: confirm the storage class on every node before deployment, prefer SSD or NVMe drives, and include the storage check in the infrastructure review sign-off.

Installation docs

Snapshot restore version limits

Qdrant snapshots restore only to clusters on the same minor version or the next minor version. A backup taken on a newer cluster cannot be restored to an older standby, which can block disaster recovery plans written around older nodes. Prevention: pin the Qdrant version for the migration target, record it with every snapshot, and align upgrade windows with the restore path your recovery plan assumes.

Snapshots docs

No recall check before cutover

Migrations often switch application clients after a successful record count, without comparing search results. Matching counts do not show that vectors, distance metrics or payloads were transferred correctly. Prevention: pick a fixed set of benchmark queries, record top results from Elasticsearch, run the same queries against Qdrant, and agree on an acceptable overlap with the application owners before switching endpoints.

Questions teams ask before moving from Elasticsearch to Qdrant

How much effort and cost should we expect for an Elasticsearch to Qdrant move?

The cost depends mainly on how many indexes carry dense vectors, how many filters must be rebuilt, and how many applications query Elasticsearch today. Most of the spend is labor: someone maps fields, pre-creates collections, runs the migration, checks search results and changes client code. Infrastructure is a recurring cost, since a production Qdrant cluster needs block storage, RAM and, for high availability, at least three nodes. Ask any partner for a quote built from a written scope that lists indexes, fields, filters, clients and environments. The open-source engine itself carries no license fee.

How long does an Elasticsearch to Qdrant migration take?

Duration follows the same drivers as cost: the number of indexes, the volume of vectors, the complexity of keyword filters and the number of consuming applications. Data transfer itself is usually the shortest step, because the Qdrant Migration Tool streams data in batches and can resume an interrupted run. Longer phases are the design work (deciding which keyword filters become payload indexes), recall and result checks, and the cutover of application clients. Ask for a timeline that shows these phases separately, with the review points where your team signs off.

What must our team provide before the migration starts?

Your team needs to provide a current inventory of Elasticsearch indexes, their vector field definitions (dimensions and similarity metric), the query patterns that combine vectors with filters, and the applications that call Elasticsearch. You also need target infrastructure that meets Qdrant's storage rules: block-level storage with a POSIX-compatible file system, not NFS or S3, with SSD or NVMe recommended. Access to a representative test dataset and a named owner for search quality decisions shorten the work considerably. Confirm with the Elasticsearch and Qdrant documentation for your versions before the design phase.

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

Yes, a capable platform team can run the migration themselves, since the Qdrant Migration Tool runs as a container or binary and the Qdrant documentation covers the steps. The harder parts are judgment calls: which keyword filters become payload indexes, whether BM25 text search is replaced by Qdrant hybrid search or kept in another engine, and how recall is verified before cutover. Teams that choose to do it in-house should plan time for a test environment, a rollback path and security configuration, because self-hosted Qdrant ships without authentication by default. A partner is useful when those decisions or the deadline are the constraint.

Do we have to remove Elasticsearch after moving vectors to Qdrant?

No. Moving dense vector fields does not require removing Elasticsearch, and many organizations keep it for full-text search, logs or other workloads. The decision depends on whether Qdrant hybrid search can replace the BM25 ranking your users rely on, and whether your team wants to operate two search systems. Keeping both means keeping two data pipelines in sync, so plan which system is the source of record for each document. Confirm the Elasticsearch version and support dates with Elastic before deciding how long the existing cluster stays in service.

Does the Qdrant Migration Tool keep the IDs from Elasticsearch?

The answer depends on how your documents are identified and how the migration is configured, so confirm it with the tool's current documentation before you rely on it. Elasticsearch document IDs are strings, while Qdrant point IDs must be unsigned integers or UUIDs, so an ID mapping is a design step. Teams usually store the original Elasticsearch _id as a payload field, which makes later lookups, reconciliation and rollback simpler. Test this on a sample index and check that search results return the expected records before the full run.

Does the Apache-2.0 Qdrant engine require a paid plan?

No. Qdrant is licensed under Apache-2.0 and the open-source engine is free to self-host. Paid options exist for organizations that want a managed service or vendor support: Qdrant Cloud has a free single-node tier and usage-priced tiers, while Hybrid Cloud and Private Cloud are priced through Qdrant sales. Your costs for self-hosting are infrastructure, operations and any implementation work, not a license fee. Confirm current terms on the Qdrant pricing page before budgeting, and have your legal team review the license for your use case.

How DeployOpen scopes and delivers an Elasticsearch to Qdrant migration

DeployOpen plans the move of dense vector fields from Elasticsearch into self-hosted Qdrant inside infrastructure you control. The work starts with a written scope that separates vector data from the keyword search that stays in Elasticsearch, then moves through a tested migration run, filter rebuilds, and handover to your own operators.

How we scope

  • Inventory the indexes, dense vector fields, stored payload fields and keyword filters that move to Qdrant.
  • Record which search paths stay on Elasticsearch and which switch to Qdrant hybrid search.
  • Agree deliverables, environments and acceptance checks in writing before any migration run starts.

How we build

  • Deploy the target Qdrant cluster with storage on block-level SSD or NVMe, as the installation docs require.
  • Pre-create collections, map Elasticsearch fields to payload, and recreate keyword filters as payload indexes.
  • Run the Qdrant Migration Tool in test batches, then compare search results and recall before the full run.

How we hand over

  • Document the field mapping, collection settings, API key and TLS configuration, and the cutover steps.
  • Walk your platform and security teams through the running cluster, access controls and audit logging.
  • Provide a rollback plan that keeps the Elasticsearch index available until your acceptance checks pass.

How we support

  • Ongoing support, upgrades and continuous testing are available as retainers after handover.
  • Retesting covers recall, filter behavior and access controls after changes to the cluster or clients.
  • Confirm with us the exact support scope and response terms in the written quote before work begins.

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.