From b586bdc02fec8b442a905bba5a17e63709d5e14a Mon Sep 17 00:00:00 2001 From: Ken Chen Date: Sat, 28 Jun 2025 10:50:56 +0800 Subject: [PATCH] Fix accidentally hardcode label in searching upstream nodes --- lightrag/kg/mongo_impl.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lightrag/kg/mongo_impl.py b/lightrag/kg/mongo_impl.py index 39410e65..10018826 100644 --- a/lightrag/kg/mongo_impl.py +++ b/lightrag/kg/mongo_impl.py @@ -809,7 +809,7 @@ class MongoGraphStorage(BaseGraphStorage): "$unionWith": { "coll": "chunk_entity_relation", "pipeline": [ - {"$match": {"_id": "LightRAG"}}, + {"$match": {"_id": label}}, { "$graphLookup": { "from": "chunk_entity_relation_edges",