lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Joel Bernstein (JIRA)" <>
Subject [jira] [Comment Edited] (SOLR-8888) Add shortestPath Streaming Expression
Date Tue, 29 Mar 2016 18:34:26 GMT


Joel Bernstein edited comment on SOLR-8888 at 3/29/16 6:33 PM:

Patch with the StreamExpression methods implemented and Stream Exrpression test cases

was (Author: joel.bernstein):
Patch the StreamExpression methods implemented and Stream Exrpression test cases

> Add shortestPath Streaming Expression
> -------------------------------------
>                 Key: SOLR-8888
>                 URL:
>             Project: Solr
>          Issue Type: Improvement
>            Reporter: Joel Bernstein
>         Attachments: 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 syntax:
> {code}
> shortestPath(collection, 
>                      from="", 
>                      to="",
>                      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 path in an
unweighted, directed graph. The search starts from the node  and searches
for the node, 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

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message