You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "ASF subversion and git services (JIRA)" <ji...@apache.org> on 2016/04/01 02:51:25 UTC

[jira] [Commented] (SOLR-8888) Add shortestPath Streaming Expression

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

ASF subversion and git services commented on SOLR-8888:
-------------------------------------------------------

Commit f8ae0d0deb0f2a8c035c89dbf118646531f60f71 in lucene-solr's branch refs/heads/master from jbernste
[ https://git-wip-us.apache.org/repos/asf?p=lucene-solr.git;h=f8ae0d0 ]

SOLR-8888: Update CHANGES.txt


> Add shortestPath Streaming Expression
> -------------------------------------
>
>                 Key: SOLR-8888
>                 URL: https://issues.apache.org/jira/browse/SOLR-8888
>             Project: Solr
>          Issue Type: Improvement
>            Reporter: Joel Bernstein
>         Attachments: SOLR-8888.patch, SOLR-8888.patch, SOLR-8888.patch, SOLR-8888.patch, SOLR-8888.patch, SOLR-8888.patch, SOLR-8888.patch, SOLR-8888.patch, SOLR-8888.patch
>
>
> This ticket is to implement a distributed shortest path graph traversal as a Streaming Expression.
> Expression syntax:
> {code}
> shortestPath(collection, 
>                      from="john@company.com", 
>                      to="jane@company.com",
>                      edge="from=to",
>                      threads="6",
>                      partitionSize="300", 
>                      fq="limiting query", 
>                      maxDepth="4")
> {code}
> The expression above performs a *breadth first search* to find the shortest paths in an unweighted, directed graph. The search starts from the node john@company.com  and searches for the node jane@company.com, traversing the *edges* by iteratively joining the *from* and *to* columns. Each level in the traversal is implemented as a *parallel partitioned* nested loop join across the entire *collection*. The *threads* parameter controls the number of threads performing the join at each level. The *partitionSize* controls the of number of nodes in each join partition. *maxDepth* controls the number of levels to traverse. *fq* is a limiting query applied to each level in the traversal.
> Future implementations can add more capabilities such as weighted traversals.



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

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org