Skip to content

Commit

Permalink
lib: create index on the CUSTOM node (attribute attr_type), #62
Browse files Browse the repository at this point in the history
  • Loading branch information
jtarraga committed Feb 16, 2021
1 parent adf3974 commit a9696a5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1,243 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,9 @@ public void index() {
tx.run("CREATE INDEX IF NOT EXISTS FOR (n:" + nodeType + ") ON (n.id)");
tx.run("CREATE INDEX IF NOT EXISTS FOR (n:" + nodeType + ") ON (n.name)");
}
tx.run("CREATE INDEX IF NOT EXISTS FOR (n:" + Node.Label.CUSTOM.name() + ") ON (n.attr_type)");
tx.commit();

return 1;
});

Expand Down
Loading

0 comments on commit a9696a5

Please sign in to comment.