Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
任何从事弹性搜索工作的人。需要如主题中所述的输入。我有一个要求,将 sql 数据迁移到弹性搜索现在有大量数据,所以我无法手动检查每个字段。那么用 sql 测试迁移数据的最佳方法是什么?
尝试实现 2 个脚本,这将产生与 mysql 和 elasticsearch 完全相同的输出。确保格式、排序匹配。最后,您应该能够比较文件或对它们执行 md5sum 以进行比较。