Skip to content

Commit 6d9e999

Browse files
committed
Index name property for Typescript nodes
1 parent 20cffbb commit 6d9e999

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
// Create index for the name for Typescript nodes
2+
3+
CREATE INDEX INDEX_TYPESCRIPT_NAME IF NOT EXISTS FOR (typescript:TS) ON (typescript.name)

scripts/prepareAnalysis.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,7 @@ fi
5050
# Preparation - Create indices
5151
execute_cypher "${CYPHER_DIR}/Create_Java_Type_index_for_full_qualified_name.cypher"
5252
execute_cypher "${CYPHER_DIR}/Create_Typescript_index_for_full_qualified_name.cypher"
53+
execute_cypher "${CYPHER_DIR}/Create_Typescript_index_for_name.cypher"
5354

5455
# Preparation - Enrich Graph for Typescript by adding "module" and "name" properties
5556
execute_cypher "${TYPESCRIPT_CYPHER_DIR}/Add_module_properties.cypher"

0 commit comments

Comments
 (0)