Files
mem0/tests/vector_stores
kartik-mem0andClaude Opus 4.6 b38f2ef45c fix(qdrant): deduplicate $or/$not keys and add icontains debug warning
Memory._process_metadata_filters() renames OR→$or and NOT→$not, but
effective_filters also retains the original OR/NOT keys from the
deepcopy of input_filters. Without dedup, the same sub-conditions were
evaluated twice in the Qdrant filter.

Normalize the filter dict upfront so $or/$not/$and map to OR/NOT/AND
and only the first occurrence is kept. Also replace the fragile
value.get("contains") or value.get("icontains") pattern with explicit
key lookup, and add a logger.debug for icontains explaining that Qdrant
MatchText case sensitivity depends on full-text index configuration.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-21 19:04:42 +05:30
..
2025-10-16 15:50:20 +05:30
2025-05-22 01:17:29 +05:30
2025-10-16 15:50:20 +05:30
2025-05-22 01:17:29 +05:30
2025-05-22 01:17:29 +05:30