关于
This skill provides guidance on using the Qdrant Migration Tool CLI to transfer vectors, metadata, and sparse embeddings from various databases into Qdrant. It helps with common migration scenarios like handling interruptions, optimizing speed, and verifying data. The tool runs as a Docker container that streams data in batches and supports automatic resumption.
快速安装
Claude Code
推荐npx skills add qdrant/skills -a claude-code/plugin add https://github.com/qdrant/skillsgit clone https://github.com/qdrant/skills.git ~/.claude/skills/qdrant-migration-tool在 Claude Code 中复制并粘贴此命令以安装该技能
技能文档
Qdrant Migration Tool
The tool is a Docker container (registry.cloud.qdrant.io/library/qdrant-migration), not a library you import. It streams data in batches through the machine it runs on rather than connecting source and target directly, and it resumes by default rather than restarting from scratch. Migrate to Qdrant
Picking the Right Subcommand
Use when: starting a new migration and choosing the source-specific CLI subcommand.
- Match the source to its subcommand:
pinecone,weaviate,milvus,elasticsearch,opensearch,pg(pgvector),s3(S3 Vectors),azure(Azure AI Search),chroma,redis,mongodb,faiss,solr, orqdrant. Migrate to Qdrant - Weaviate, Redis, MongoDB, and Apache Solr do not auto-create the target collection; create it in Qdrant first with matching vector size and distance metric before running the migration. All other sources auto-create it.
- Each source has its own credential and mapping guide; read it before running the migration, since concept mapping (namespaces, indexes, metadata fields) is source-specific. Pinecone Weaviate Milvus Elasticsearch OpenSearch Azure AI search pgvector S3 Vectors Chroma Redis MongoDB FAISS Apache Solr Qdrant-to-Qdrant
- Source not listed? Point to the GitHub issue tracker rather than improvising a custom pipeline. Open an issue
Running Against Local Instances
Use when: either the source or target database runs on the same machine as the migration container.
- Add
--net=hostto thedocker runcommand; without it, the container cannot resolvelocalhoston the host machine. Migrate to Qdrant - Run the container on a machine with low latency to both databases. Direct source-target connectivity is not required since the tool streams through wherever it runs, but round trips from the migration host to each database still add up.
Migration Was Interrupted
Use when: a migration stopped partway through and needs to continue, or needs to be re-run from zero.
- Re-run the exact same command. Progress is tracked in the
_migration_offsetscollection in Qdrant, so it resumes automatically rather than re-copying already-migrated points. - Pass
--migration.restartto discard saved progress and start over, e.g. after fixing a bad source-side filter or changing collection schema mid-migration. - Custom offsets-collection name only matters if you're running multiple concurrent migrations into the same Qdrant instance; otherwise leave
--migration.offsets-collectionat its default to avoid tracking state you'll forget to look for later.
Migration Is Too Slow
Use when: throughput is too low for the size of the source dataset.
- Raise
--migration.batch-sizefrom the default of 50 to 256 or 512 for large migrations; small batches under-use each upsert round trip. --migration.num-workersonly exists for thepgandqdrantsubcommands; other sources have no parallel-worker flag, so throughput there is bounded by batch size and network proximity alone.--migration.batch-delaydefaults to 0; only raise it deliberately to throttle load on a source database that can't absorb full-speed reads, not as a default tuning knob.- Run the container close to both databases rather than over a slow network path, since the tool has no way to compensate for source/target latency.
After Migration
Use when: the migration command finished and data needs to be trusted before cutting over traffic.
- Run through the verification framework rather than spot-checking a few points: it covers pre-migration baselines, data integrity checks, and search-quality validation, not just point counts. Migration Verification Guide
- If Postgres/pgvector stays live alongside Qdrant post-migration, set up an ongoing sync strategy (event-driven, batch, or dual-write) instead of treating the migration as a one-time cutover. Keeping Postgres in Sync
What NOT to Do
- Assume Weaviate, Redis, MongoDB, or Solr auto-create the target collection; these sources don't expose vector dimensions or distance metric to the tool, so the collection must be created manually first with settings that exactly match the source. Migrate to Qdrant
- Point the
faisssubcommand at a quantized FAISS index; onlyIndexFlatL2,IndexFlatIP,IndexHNSWFlat, andIndexIVFFlatare supported, since quantized indexes don't retain the original vectors. FAISS - Assume every Pinecone index can be migrated; only serverless indexes support the list operation the tool needs to enumerate vectors.Pinecone
- Run a
qdrant-to-qdrantmigration into an existing target collection without checking its vector size first; source and target dimensions must match exactly, only replication and shard settings are allowed to differ. - Connect over TLS to a source or target signed by a private or self-signed CA without mounting it via
SSL_CERT_FILE; the migration fails on certificate verification instead of degrading gracefully, and--skip-tls-verificationshould be a deliberate override, not a default fix. - Pass
--migration.restartout of caution on a healthy resume; it discards saved progress and re-streams data that already migrated. - Treat a completed migration run as verified without running data integrity and search quality checks.
GitHub 仓库
常见问题
什么是 qdrant-migration-tool Skill?
qdrant-migration-tool 是一个 Claude Skill,作者为 qdrant。Skill 将 Claude 按需加载的说明和资源打包,让 Claude 无需额外提示即可执行与 qdrant-migration-tool 相关的任务。
如何安装 qdrant-migration-tool?
使用本页的安装命令:将 qdrant-migration-tool 作为插件添加到 Claude Code,或将其仓库克隆到 skills 目录,然后重启 Claude 以加载该 Skill。
qdrant-migration-tool 属于哪个分类?
qdrant-migration-tool 属于元分类。
qdrant-migration-tool 可以免费使用吗?
可以。qdrant-migration-tool 已收录在 AIMCP,可免费安装。
相关推荐技能
Content Collections 是一个 TypeScript 优先的构建工具,可将本地 Markdown/MDX 文件转换为类型安全的数据集合。它专为构建博客、文档站和内容密集型 Vite+React 应用而设计,提供基于 Zod 的自动模式验证。该工具涵盖从 Vite 插件配置、MDX 编译到生产环境部署的完整工作流。
这个Claude Skill为开发者提供完整的Polymarket预测市场开发支持,涵盖API调用、交易执行和市场数据分析。关键特性包括实时WebSocket数据流,可监控实时交易、订单和市场动态。开发者可用它构建预测市场应用、实施交易策略并集成实时市场预测功能。
该Skill帮助开发者创建OpenCode插件,用于接入命令、文件、LSP等25+种事件。它提供了插件结构、事件API规范和JavaScript/TypeScript实现模式,适合需要拦截操作、扩展功能或自定义事件处理的场景。开发者可通过它快速构建响应式模块来增强OpenCode AI助手的能力。
SGLang是一个专为LLM设计的高性能推理框架,特别适用于需要结构化输出的场景。它通过RadixAttention前缀缓存技术,在处理JSON、正则表达式、工具调用等具有重复前缀的复杂工作流时,能实现极速生成。如果你正在构建智能体或多轮对话系统,并追求远超vLLM的推理性能,SGLang是理想选择。
