File tree Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 44# #############################################################################
55
66name = " MemoryOS"
7- version = " 1.1.1 "
7+ version = " 1.1.2 "
88description = " Intelligence Begins with Memory"
99license = {text = " Apache-2.0" }
1010readme = " README.md"
Original file line number Diff line number Diff line change 1- __version__ = "1.1.1 "
1+ __version__ = "1.1.2 "
22
33from memos .configs .mem_cube import GeneralMemCubeConfig
44from memos .configs .mem_os import MOSConfig
Original file line number Diff line number Diff line change @@ -927,7 +927,7 @@ def get_subgraph(
927927 user_name = user_name if user_name else self .config .user_name
928928
929929 gql = f"""
930- MATCH (center@Memory)
930+ MATCH (center@Memory /*+ INDEX(idx_memory_user_name) */ )
931931 WHERE center.id = '{ center_id } '
932932 AND center.status = '{ center_status } '
933933 AND center.user_name = '{ user_name } '
@@ -1383,7 +1383,7 @@ def get_structure_optimization_candidates(
13831383 return_fields += f", n.{ self .dim_field } AS { self .dim_field } "
13841384
13851385 query = f"""
1386- MATCH (n@Memory)
1386+ MATCH (n@Memory /*+ INDEX(idx_memory_user_name) */ )
13871387 WHERE { where_clause }
13881388 OPTIONAL MATCH (n)-[@PARENT]->(c@Memory)
13891389 OPTIONAL MATCH (p@Memory)-[@PARENT]->(n)
You can’t perform that action at this time.
0 commit comments