diff --git a/lightrag/kg/memgraph_impl.py b/lightrag/kg/memgraph_impl.py index 3683a8e3..5838343d 100644 --- a/lightrag/kg/memgraph_impl.py +++ b/lightrag/kg/memgraph_impl.py @@ -810,7 +810,7 @@ class MemgraphStorage(BaseGraphStorage): await result_set.consume() else: - # For specific node queries, use path.subgraph_all with the refined query pattern + # Run subgraph query for specific node_label subgraph_query = f""" MATCH (start:`{workspace_label}`) WHERE start.entity_id = $entity_id