[ 
https://issues.apache.org/jira/browse/SOLR-8925?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Joel Bernstein updated SOLR-8925:
---------------------------------
    Description: 
The gatherNodes Streaming Expression is a flexible general purpose breadth 
first graph traversal. It uses the same parallel join under the covers as 
(SOLR-8888) but is much more generalized and can be used for a wide range of 
use cases.

Sample syntax:

{code}
gatherNodes(
                      friends,
                      gatherNodes(
                                           friends,
                                            search(articles, q=“body:(query 
1)”, fi=“author”),
                                            from=“author”,
                                            walk ="user->friend”),
                       from=“friend”,
                       walk=“user -> friend”,
                       scatter=“branches, leaves”
)
{code}


  was:
The gatherNodes Streaming Expression is a flexible general purpose breadth 
first graph traversal. It uses the same parallel join under the covers as 
(SOLR-8888) but is much more generalized and can be used for a wide range of 
use cases.

Sample syntax:

{code}
gatherNodes(friends,
                      gatherNodes(friends
                                            search(articles, q=“body:(query 
1)”, fi=“author”),
                                                        from=“author”,
                                                        walk ="user->friend”),
                                           from=“friend”,
                                           walk=“user -> friend”,
                                           scatter=“branches, leaves”)
{code}



> Add gatherNodes Streaming Expression to support breadth first traversals
> ------------------------------------------------------------------------
>
>                 Key: SOLR-8925
>                 URL: https://issues.apache.org/jira/browse/SOLR-8925
>             Project: Solr
>          Issue Type: New Feature
>            Reporter: Joel Bernstein
>
> The gatherNodes Streaming Expression is a flexible general purpose breadth 
> first graph traversal. It uses the same parallel join under the covers as 
> (SOLR-8888) but is much more generalized and can be used for a wide range of 
> use cases.
> Sample syntax:
> {code}
> gatherNodes(
>                       friends,
>                       gatherNodes(
>                                            friends,
>                                             search(articles, q=“body:(query 
> 1)”, fi=“author”),
>                                             from=“author”,
>                                           walk ="user->friend”),
>                        from=“friend”,
>                        walk=“user -> friend”,
>                        scatter=“branches, leaves”
> )
> {code}



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

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to