Migrate from Apache Solr to Qdrant

Moving dense vector fields from Apache Solr into self-hosted Qdrant with the official migration tool, and deciding whether Solr stays for keyword search or Qdrant hybrid search replaces it.

On this page

What moving Solr vector fields to Qdrant involves

Solr usually holds dense vectors next to text fields, filter fields and access-relevant metadata in the same index, so the move is less about copying numbers and more about splitting one index into two jobs. The Qdrant Migration Tool's solr subcommand moves the data, but the target Qdrant collection must exist before the migration runs, so you will create it yourself with the right vector size and distance metric. Decide up front whether Solr keeps keyword and lexical search or whether Qdrant hybrid search takes over that role, because that decision changes which fields are migrated, which are dropped and which must be indexed in Qdrant.

Effort depends mostly on schema complexity rather than data volume alone. Confirm how many vector fields each Solr collection holds, whether several vectors share one document, and which stored fields your queries filter on. Each filter field you want to use in Qdrant needs a deliberate mapping to a payload field and, where filtering speed matters, a payload index. Multi-valued fields, nested document structures and fields that Solr computes at query time will each need a separate decision, and these are the items that expand the work. Ask any partner to inventory the schema, the query patterns and the Solr version before quoting.

Plan the validation before the cutover. Solr's similarity scores and Qdrant's scores are not guaranteed to match, so compare the top results for a fixed set of representative queries in both systems and record where they differ. Keep Solr in place until the application's search behavior, filters and access rules are confirmed against Qdrant. Confirm with the Qdrant migration documentation which Solr fields the tool maps automatically and which need manual handling in your version, since the mapping rules determine how much of the target design you must write yourself.

Which Solr capabilities map to Qdrant and which do not

This table pairs each Solr feature you rely on with its closest Qdrant equivalent, or with the reason it stays in Solr. Use it as a starting checklist, then confirm each mapping against your own schema, field types and query handlers before you plan the collection.

Solr capabilityQdrant equivalentWhat to confirm
Dense vector field (DenseVectorField)Vector size and distance metric on the collectionConfirm the dimension and similarity function in your schema match the embedding model you will keep using
Stored fieldsPayload fields stored with each pointConfirm which stored fields your results pages need and map them to named payload keys
Filter queries (fq)Payload filters, backed by payload indexes on filtered fieldsConfirm each filtered field type and create a payload index for the fields used in frequent filters
BM25 keyword scoringQdrant full-text search or hybrid search combining dense and sparse vectorsConfirm how BM25 scores on your text fields compare with the sparse or full-text results you plan to use
FacetingNot a direct equivalent; facet counts usually stay in Solr or move to application logicConfirm which facet fields and counts your users depend on before deciding where they run
HighlightingNot provided as a Qdrant search featureKeep highlighting in Solr or generate snippets in the application layer
Text analyzers and tokenizersNot a Qdrant schema feature; tokenization for full-text search is configured on the collectionConfirm your analyzer chain (stemming, stopwords, language rules) and test ranking on a sample set
Solr query parsers and function queriesScore formulas and query composition are rebuilt in the Qdrant query APIConfirm every custom parser or boost function in use and rewrite each one explicitly

Documented import path from Solr

The documented route from Apache Solr into Qdrant is the Qdrant Migration Tool's solr subcommand. The cards below cover what the tool does, what must exist before it runs, and how to check the result, so the migration can be planned as a repeatable run rather than a one-off script.

The solr subcommand

The Qdrant Migration Tool includes a solr subcommand that reads dense vector data from a Solr source and writes it into a Qdrant collection. This is the documented path for Solr, so teams should plan around it before writing custom export scripts. Confirm the subcommand's flags, source connection settings and field options against the current migration docs for the version you intend to run, since flag names can change between releases.

Migration docs

Container or binary form

The tool runs either as a container image or as a standalone binary, so it can be executed from a build host, a Kubernetes job or a workstation inside the network that can reach both Solr and Qdrant. Choose the form your change process already approves and pin the exact tool version used for each run. Record the version in the migration runbook so a rerun later uses the same behavior.

Target collection created first

The migration tool requires the target Qdrant collection to exist before the run starts, so vector size and distance metric must be decided in advance from the Solr dense vector field settings. Create the collection with the same dimensionality and a distance metric that matches how Solr scored similarity, then verify it with a test point. A mismatch here is the most common reason a migration has to be repeated.

Batch streaming and resume

The tool streams records in batches rather than loading the whole index into memory, and it can resume an interrupted run instead of starting over. Set batch size with the Solr index size and the network path in mind, and watch Qdrant write load during the first batches. After any interruption, compare the migrated point count with the source document count before continuing, so duplicates or gaps are caught early.

Mapping stored fields to payload

Solr stored fields that the tool does not carry over automatically need a deliberate mapping to Qdrant payload fields, or filtering will fail after cutover. List every filter the application uses today, map each field to a payload key, and decide which keys need payload indexes. Test a filtered query against the source results before treating the collection as ready.

Later stages and verification

Snapshots and API client based transfers are other documented options, but they fit later stages such as moving between Qdrant deployments, not the first move out of Solr. After the run, check result overlap for a sample of known queries against Solr output, and keep Solr running until recall and filter behavior are accepted. Plan this verification with the same care as the transfer itself.

Keep Solr for keyword search or replace it with Qdrant hybrid search

Keep Solr when keyword search is the core of the application and its analyzers, facets and relevance tuning already serve users well. Solr stays the query engine for text, and Qdrant only takes over the dense vector field that Solr stores today, so the migration removes one data path rather than the whole search stack. This option suits teams whose search experts already tune Solr schemas, synonyms and boosts, and who have no need to combine those signals with vector scores in one query.

  • Query path: Text queries keep running against Solr, and vector similarity runs against Qdrant only when the application asks for it.
  • Duplicated data: Document IDs must match across both systems so results from each engine can be joined in application code.
  • Relevance ownership: The search team keeps tuning analyzers and boosts in Solr, with no change to their existing workflow.
  • Operations: Two clusters must be backed up, monitored and upgraded, each with its own failure modes.
  • Feature scope: Confirm in your own tests which Solr features your application depends on, since the migration tool moves vectors and payload, not Solr's text analysis configuration.

Before choosing this path, check whether your team can keep two query paths and a join layer maintained over time.

Sequence from inventory to Solr decommission

This sequence moves dense vector fields from Solr into a self-hosted Qdrant collection in controlled stages, so each collection is proven against its Solr results before any application client switches. Solr stays running as the rollback path until the parallel run and cutover checks are complete.

  1. Inventory Solr collections and vector fields

    Your search or platform team lists every Solr collection that holds dense vector fields, along with the vector dimension, similarity function, the stored fields returned to applications, and the filter fields used in queries. Record which applications call each collection and which keyword queries run alongside the vector queries. The step is done when each collection has one row in a written inventory that a second engineer has reviewed and that names an owner.

  2. Select and run a pilot collection

    Choose one low-risk collection with a clear owner and a small, representative data set. Create its Qdrant target, run the Qdrant Migration Tool with the solr subcommand, and confirm the point count and sample payloads against Solr. The pilot is done when the team has documented the exact commands, field mappings and any errors, and has agreed on the checks used for the remaining collections.

  3. Pre-create target collections in Qdrant

    Create each Qdrant collection before the migration runs, because the Solr path requires the target to exist. Set the vector size and distance metric to match the Solr field's dimension and similarity function, and define payload indexes for fields used in filters. Confirm the settings with a test query against a few known vectors. The step is complete when each target's configuration is saved in version control and reviewed against the inventory.

  4. Migrate each collection in batches

    Run the migration tool for each remaining collection, starting with the smallest, and keep a log of batch progress, errors and final point counts. If a run stops, resume it with the tool's resume behavior instead of starting over, and compare counts again afterward. The step is done when Qdrant point counts match the source counts for every collection and the logs show no unresolved failures.

  5. Run a parallel comparison against Solr

    Send the same production query sets to Solr and Qdrant during a parallel run, and compare the top results, the stored fields returned and the filtered result sets. Look for mismatched IDs, missing payload fields, and score ranges that change filter behavior. Keep Solr fully serving and writable during this period so it remains the rollback path. The step is complete when the differences are explained, fixed or accepted in writing by the owner of each collection.

  6. Cut over application clients

    Switch one application at a time from Solr vector queries to Qdrant, using the same API keys and access settings your security review approved for the new endpoint. Monitor error rates, latency and result quality after each switch, and keep the Solr endpoint configuration available for rollback. The step is done when each client reads from Qdrant, the monitored results stay within the agreed thresholds, and the owners sign off.

  7. Decommission Solr vector fields

    After a stable period on Qdrant, remove the vector fields from the Solr schema and reindex only the keyword content that still belongs in Solr, if any. Take a final backup of the Solr data before removing anything, and record where it is stored and how long it is retained under your policy. The step is complete when Solr no longer serves vector queries, the backup is verified, and the inventory is updated to show the final state.

How data and queries flow during the parallel run

The run starts with the Solr collection as the source of record. The Qdrant Migration Tool reads Solr in batches and writes into a Qdrant collection you created beforehand, so the target schema is fixed before any data moves. Applications then query both systems: vector similarity requests go to Qdrant, while keyword requests stay on Solr or move to Qdrant hybrid search once you have tested the results. Check that Solr and Qdrant return matching results for the same test queries before you switch traffic.

Solr feeds the migration tool, which writes to a pre-created Qdrant collection while applications query both.

What drives the effort and cost of the move

This table lists the factors that change how much work the Solr move takes and which costs are paid once versus every year. Read it to scope a fixed-price quote, then check each row against your own Solr schema and query logs. The main takeaway is that the keyword-search decision and the number of vector fields usually matter more than the raw document count.

Driver or costWhy it changes effort or costHow to keep it down or what to ask for
Number of collections and vector fieldsEach Solr collection with dense vector fields needs its own Qdrant collection, vector size and distance setting, and its own migration run.Ask for an inventory of collections and vector fields with dimensions and similarity functions, and a count of migration runs in the quote.
Stored fields mapped to payloadEvery stored field you keep becomes payload that must be typed, named and checked. Multi-valued and nested Solr fields need explicit handling.Export the Solr schema and mark which fields filters use. Map only fields needed for filtering or display to reduce validation work.
Payload indexes for filtersFilters that Solr served through its inverted index must be recreated as Qdrant payload indexes, and each one needs testing against real queries.List the filter fields and query patterns from logs. Agree which payload indexes are in scope and how filtered results will be compared.
Keyword-search decisionKeeping Solr for keyword search means two systems to run and sync. Replacing it with Qdrant hybrid search means rebuilding text ranking and relevance tuning.Decide per use case before scoping. A written scope should name what happens to Solr query logic, boosts and synonyms.
Client and query changesApplication code that calls Solr query syntax, handlers and facets must move to the Qdrant API or to a separate search path.Request a list of client services and query endpoints affected, plus the test cases that will confirm parity before cutover.
Target deployment modelA single node, a distributed cluster, or a Kubernetes deployment each change setup, storage rules and backup work. Qdrant needs block storage, not NFS or S3.Confirm the target with your platform team first. Ask whether the quote covers the cluster, access control and TLS hardening.
One-time work: migration, validation, cutoverSchema analysis, collection pre-creation, migration runs, recall and relevance checks, client changes and cutover planning are paid once, usually as a fixed-scope project.Ask for deliverables per phase, the acceptance tests, and who signs off on result parity before the old index is retired.
Recurring work: hosting, upgrades, monitoringInfrastructure, Qdrant version upgrades, backups, monitoring and any Solr run-down continue after cutover and are paid over time.Ask for a run cost estimate from your own infrastructure team and whether a support retainer is included or optional.

What usually goes wrong in a Solr to Qdrant move

Most failed Solr to Qdrant moves trace back to a few decisions made too late: the target collection, the filter fields, the identifiers and the expectations about search behavior. Each risk below has a prevention step you can check before the migration tool runs or before clients switch over.

Mismatched vector size or distance

The Qdrant Migration Tool requires the target collection to exist before the Solr migration runs, so the collection has to be created by hand with the same vector size and distance metric as the dense field in Solr. If the dimension does not match the embedding model's output, the load fails or the vectors are unusable. Before creating the collection, confirm the dimension from a sample document and confirm the similarity function Solr uses for the dense field, then match it in the collection definition.

Migration docs

Missing payload indexes on filters

Solr filter queries on stored fields do not translate into fast Qdrant filters unless those fields are indexed as payload indexes. A collection that migrates the vectors but skips indexing the fields used in filters can return correct results with slow filtered search under load. Before cutover, list every field your application filters on in Solr, create a payload index for each in the target collection, and time filtered queries against the migrated data.

ID mapping gaps

Solr identifies documents by its uniqueKey field, while Qdrant points carry their own IDs and a payload. If the Solr uniqueKey is not carried into the payload, or if IDs are reformatted between the two systems, your application cannot join search hits back to the source records and updates or deletes will miss points. Decide the ID strategy before migrating, store the original Solr key in the payload, and run a sample lookup in both directions to confirm every hit maps back.

Assuming Solr keyword behavior carries over

Solr's text analysis, stemming, phrase matching and boosting are not moved by a vector migration. Teams often assume that the migrated index will keep returning the same keyword results, then find that exact-term queries behave differently. Decide per query type whether Solr stays for keyword search or whether Qdrant hybrid search replaces it, and document which application paths depend on lexical scoring before the switch.

Skipping recall checks before cutover

A completed migration only shows that the points were written, not that the search returns the results your users expect. Without a recall check, a wrong distance metric, a bad filter or a dropped field can reach production unnoticed. Before switching clients, run a fixed set of real queries against both Solr and Qdrant, compare the top results for overlap, and keep Solr available until the comparison is accepted.

Questions buyers ask before moving Solr vectors to Qdrant

How much does it cost to move Solr vectors to Qdrant?

The cost is set by the written scope, not by a list price, and DeployOpen does not publish one. The main drivers are how many collections and dense vector fields move, how much stored field data must be mapped to payload, how many filters must be rebuilt as payload indexes, and whether Solr stays for keyword search. Recurring costs come from the infrastructure you run for Qdrant, including storage, RAM, backups and monitoring. The open-source engine is free to self-host under the Apache-2.0 license, so the main line items are the implementation work and your own hardware or cloud spend. Ask any quote to itemize discovery, collection design, migration runs, validation, and handover, and to state which items recur.

How long does a Solr to Qdrant migration take?

Duration depends on the number of collections, the volume of vectors, the size of the stored fields, and how much validation your team requires before cutover. The Qdrant Migration Tool runs the transfer in batches, so the data copy itself is often the shortest step; mapping fields, pre-creating collections and checking search results usually take more time. Environment readiness matters too: a production Qdrant cluster needs approved infrastructure, and access controls and backups need to be in place before real data moves. Ask for a timeline that lists each phase and the sign-off it depends on, and confirm the schedule against your change-management windows.

What does our team need to provide for the migration?

Most of the work needs named people from your side, not only infrastructure capacity. Plan for access to the Solr cluster and schema, a clear list of collections and fields to move, the embedding model and vector dimensions used to create them, and owners for the application that queries Solr today. You will also need a target environment that meets Qdrant's storage rules, such as block-level storage with a POSIX-compatible file system, and someone who can approve network exposure, API keys and TLS settings. Ask the partner to name the inputs it needs in week one so approvals do not stall the schedule.

Can our own engineers do this migration in-house?

Yes, if your team has people who know Solr schemas, can read Qdrant's documentation, and can run containers or binaries against a cluster they control. The migration tool is documented with a solr subcommand and requires the target collection to exist first, so the steps are well defined. The harder parts are deciding how stored fields map to payload, rebuilding filters, validating result quality against the old system, and hardening a Qdrant instance that ships with no authentication by default. Weigh those skills against your delivery deadline. A fixed-scope engagement with DeployOpen can cover a subset of these tasks, and the written scope will say which ones.

Do we have to remove Apache Solr after moving the vectors?

No. Moving dense vector fields to Qdrant does not require retiring Solr. Many teams keep Solr for keyword search, faceting and existing text pipelines, and use Qdrant for similarity retrieval. The alternative is to move ranking into Qdrant hybrid search, which combines dense vectors with sparse or keyword signals, but that is a design decision with its own testing. Decide per workload: which queries need lexical matching, which need semantic results, and how the two are merged. Your decision should be recorded before the migration, because it changes which fields are migrated, which are dropped, and how applications call each engine.

Does the deployment model change how the migration is done?

Yes. A single-node deployment is simpler to size and back up, but Qdrant's distributed mode uses Raft consensus for cluster topology and collection structure, splits collections into shards, and keeps replicas through a replication factor. The distributed deployment documentation recommends at least three nodes for production so quorum survives a node failure. A replication factor of 2 doubles storage, which changes the infrastructure budget. Qdrant Cloud, Hybrid Cloud, Private Cloud and the Kubernetes Helm chart differ in features such as zero-downtime upgrades and automatic shard rebalancing, so confirm which path you are using before the collection design is finalized.

What should we ask for in a written quote?

Ask for a fixed scope that lists each Solr collection and dense vector field in scope, the mapping of stored fields to payload and payload indexes, the target deployment model, and what is excluded, such as Solr decommissioning or application rewrites. Request the acceptance criteria for search result checks, the handover documents, and the support period after cutover. Ask which costs are one-time and which recur, including any retainer for upgrades or testing. Confirm who provides the Qdrant infrastructure and licenses, since the engine is open source but hosting, storage and any paid Qdrant offering are separate costs.

What the target Qdrant environment needs before data arrives

Before any Solr data moves, the target Qdrant environment has to meet the storage and security rules the Qdrant documentation sets, because the migration tool's solr subcommand expects the destination collection to already exist. Start with storage. Qdrant needs block-level storage with a POSIX-compatible file system, and SSD or NVMe drives are recommended. It cannot run on network file systems such as NFS or on object storage such as S3. Confirm that the volumes or persistent disks your platform team provisions meet this rule, because a deployment that looks healthy on network storage can fail under load later, after the migrated data is already in place.

Next, secure the instance before any production vectors arrive. The Qdrant security documentation states that by default all self-deployed instances listen on all network interfaces and have no authentication configured. Decide which access model you will use before loading data: admin and read-only API keys for service accounts, or JWT-based access with per-collection read or write permissions if different applications or teams need different rights. Plan TLS for both REST and gRPC as well, since the migration tool and your application clients will send embeddings and payloads over these interfaces. Record the keys in your secrets manager and confirm that the migration job uses a write-scoped credential that is removed after cutover.

Finally, treat the production topology as a planning input. The Qdrant distributed deployment documentation recommends at least three nodes for production clusters so that quorum survives a node failure, and a shard count that is a multiple of the node count. Decide the node count and replication factor before you pre-create the collection, because the shard and replica layout is set at creation and changing it later involves manual steps. Ask your infrastructure team to confirm that three nodes, each with the storage described above, fit your capacity plan and recovery targets.

How DeployOpen scopes and delivers a Solr to Qdrant migration

DeployOpen plans and delivers the move of Apache Solr dense vector fields into a self-hosted Qdrant deployment inside your own infrastructure. Each engagement starts with a written scope that settles the collection design, the payload mapping and whether Solr keeps its keyword role, before any data moves.

How we scope

  • Inventory the Solr collections, dense vector fields, vector sizes and distance settings to be moved
  • Map stored Solr fields to Qdrant payload fields and decide which become payload indexes for filtering
  • Record in writing whether Solr stays for keyword search or Qdrant hybrid search replaces it, with fixed deliverables and timelines

How we build

  • Pre-create the target Qdrant collections with matching vector size and distance before running the migration tool
  • Run the Qdrant Migration Tool solr subcommand in batches, with resumable runs and logged progress for each collection
  • Test search results and filtered queries against Solr before switching application clients to the new endpoint

How we hand over

  • Document the collection schema, payload mapping, API key and access settings, and network exposure for your team
  • Deliver the migration runbook, validation results and cutover steps that your engineers can repeat
  • Walk your platform and search teams through operating the cluster, snapshots and the retirement of the Solr fields

How we support

  • Engagements are fixed-scope, and ongoing support, upgrades and continuous testing are available as a retainer
  • Support can cover post-cutover tuning of payload indexes and retesting of recall after data changes
  • Confirm with DeployOpen which support level fits your team before the written scope is signed

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.