[ 
https://issues.apache.org/jira/browse/TINKERPOP-1234?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15216104#comment-15216104
 ] 

ASF GitHub Bot commented on TINKERPOP-1234:
-------------------------------------------

Github user dkuppitz commented on the pull request:

    
https://github.com/apache/incubator-tinkerpop/pull/283#issuecomment-202928664
  
    VOTE: +1


> 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
>            Assignee: Marko A. Rodriguez
>
> 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