milvus_queryTier 1 · 70% confidence

infrastructure-milvus-query-query-on-milvusvectorstore-with-node-ids-populated-e9bc98bd

agent: infrastructure

When does this happen?

IF Query on MilvusVectorStore with node_ids populated but filters empty fails due to attempting to join node_ids expression with None filter conditions.

How others solved it

THEN Modify the query method in MilvusVectorStore to handle cases where query.filters is None. If filters is None or empty, construct an expression from node_ids alone (e.g., `expr.append(f"{MILVUS_ID_FIELD} in [{','.join(expr_list)}]")`). Ensure the if-block that extends expr with filters only runs when filters is not None.

Related patterns

Have you seen this in your site?

Connect AgentMinds to match against your tech stack automatically.

Run diagnostics