Skip to content

Commit

Permalink
fixed typo in grateful-dead-titan-schema.groovy
Browse files Browse the repository at this point in the history
  • Loading branch information
dkuppitz committed Sep 19, 2015
1 parent 953db18 commit 7c11910
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docs/hadoop.txt
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ def defineGratefulDeadSchema(titanGraph) {
m.buildIndex("artistsByName", Vertex.class).addKey(name).indexOnly(artist).buildCompositeIndex()
m.buildIndex("songsByName", Vertex.class).addKey(name).indexOnly(song).buildCompositeIndex()
// vertex centric indices
m.buildEdgeIndex(followedBy, "followedByTime", Direction.BOTH, Order.decr, weight)
m.buildEdgeIndex(followedBy, "followedByWeight", Direction.BOTH, Order.decr, weight)
m.commit()
}
----
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,6 @@ def defineGratefulDeadSchema(titanGraph) {
m.buildIndex("artistsByName", Vertex.class).addKey(name).indexOnly(artist).buildCompositeIndex()
m.buildIndex("songsByName", Vertex.class).addKey(name).indexOnly(song).buildCompositeIndex()
// vertex centric indices
m.buildEdgeIndex(followedBy, "followedByTime", Direction.BOTH, Order.decr, weight)
m.buildEdgeIndex(followedBy, "followedByWeight", Direction.BOTH, Order.decr, weight)
m.commit()
}

0 comments on commit 7c11910

Please sign in to comment.