Daniel Kuppitz created TINKERPOP-1234:
-----------------------------------------

             Summary: program() step that takes arbitrary vertex programs
                 Key: TINKERPOP-1234
                 URL: https://issues.apache.org/jira/browse/TINKERPOP-1234
             Project: TinkerPop
          Issue Type: Improvement
          Components: process
    Affects Versions: 3.2.0-incubating
            Reporter: Daniel Kuppitz


In 3.2 VertexPrograms like {{PageRankVertexProgram}} will have a dedicated step 
that allows to do things like {{g.V().out().out().pageRank()}}. Would be nice 
to have a general step {{program()}}, so that we can do the same thing with any 
{{VertexProgam}}, e.g.

{code}
// pre-calculate "users who bought this, also bought" and create uwbt-edges for 
the top 100 results per vertex
g.V().as("a").in("bought").out("bought").where(neq("a")).as("b").select("a","b").
  
program(CollaborativeFilterVertexProgram.build().source("a").target("b").limit(100).edgeLabel("uwbt").weightProperty("weight").create())
{code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to