From dfb51d2391bad9f677b2199c71fe399f3488bfd7 Mon Sep 17 00:00:00 2001 From: palanisd <162479981+netbrah@users.noreply.github.com> Date: Sat, 22 Nov 2025 04:02:41 -0500 Subject: [PATCH] feat: Update full-text index name to include workspace label for better context --- lightrag/kg/neo4j_impl.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lightrag/kg/neo4j_impl.py b/lightrag/kg/neo4j_impl.py index 256656d8..429aff96 100644 --- a/lightrag/kg/neo4j_impl.py +++ b/lightrag/kg/neo4j_impl.py @@ -230,7 +230,7 @@ class Neo4JStorage(BaseGraphStorage): self, driver: AsyncDriver, database: str, workspace_label: str ): """Create a full-text index on the entity_id property with Chinese tokenizer support.""" - index_name = "entity_id_fulltext_idx" + index_name = f"entity_id_fulltext_idx_{workspace_label}" try: async with driver.session(database=database) as session: # Check if the full-text index exists and get its configuration