bug fix: When reparsing, there may be too many uid to query (>1000). #770
+93
−18
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
So use batch get to replace get
📌 PR 内容 / PR Description
BUG描述:在doc_processor的reparse函数被调用时,会取出所有parent节点的内容进行重解析。当这些doc_ids 下持有的nodes总数大于milvus所支持的最大查询数目时,使用MilvusClient.get 会查询失败,跳过处理。
修复方式:milvus_store此处改为分批get
🔍 相关 Issue / Related Issue
✅ 变更类型 / Type of Change
🧪 如何测试 / How Has This Been Tested?
📷 截图 / Demo (Optional)
⚡ 更新后的用法示例 / Usage After Update
# 示例 / Example
🔄 重构前 / 重构后对比 (仅当 Type 为 Refactor) / Refactor Before & After (only for Refactor)
接口未发生变化,不需要调整
重构前 / Before:
重构后 / After: