What's Fixed
fix(milvus): replace ANN search() with brute-force query() in semantic dedup (#964, closes #938)
Milvus Lite's ANN search() cannot find freshly inserted records in unsealed (growing) segments, causing the semantic deduplication check to silently miss near-duplicates immediately after insertion. The fix replaces search() with query(consistency_level="Strong") + client-side cosine similarity computed from the pre-stored normalized embedding and a pre-computed query norm. This restores correct deduplication behaviour on Milvus Lite without requiring index sealing.
Contributor: @henry201605 — thank you for identifying the root cause and implementing the fix!
Upgrade
pip install --upgrade mcp-memory-service==10.60.2
# or
uv add mcp-memory-service==10.60.2Full Changelog
See CHANGELOG.md for the complete entry.