From 0eb98647a900c4a5afff1f66059b435aae7cf67c Mon Sep 17 00:00:00 2001 From: Preston Rasmussen <109292228+prasmussen15@users.noreply.github.com> Date: Mon, 4 Aug 2025 12:24:44 -0400 Subject: [PATCH] add community group id index (#802) * add community group id index * updates nodes and indices --- graphiti_core/graph_queries.py | 1 + 1 file changed, 1 insertion(+) diff --git a/graphiti_core/graph_queries.py b/graphiti_core/graph_queries.py index 06f4e8ab..ec1872fe 100644 --- a/graphiti_core/graph_queries.py +++ b/graphiti_core/graph_queries.py @@ -44,6 +44,7 @@ def get_range_indices(provider: GraphProvider) -> list[LiteralString]: 'CREATE INDEX has_member_uuid IF NOT EXISTS FOR ()-[e:HAS_MEMBER]-() ON (e.uuid)', 'CREATE INDEX entity_group_id IF NOT EXISTS FOR (n:Entity) ON (n.group_id)', 'CREATE INDEX episode_group_id IF NOT EXISTS FOR (n:Episodic) ON (n.group_id)', + 'CREATE INDEX community_group_id IF NOT EXISTS FOR (n:Community) ON (n.group_id)', 'CREATE INDEX relation_group_id IF NOT EXISTS FOR ()-[e:RELATES_TO]-() ON (e.group_id)', 'CREATE INDEX mention_group_id IF NOT EXISTS FOR ()-[e:MENTIONS]-() ON (e.group_id)', 'CREATE INDEX name_entity_index IF NOT EXISTS FOR (n:Entity) ON (n.name)',