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

Joel Bernstein edited comment on SOLR-8972 at 4/17/16 3:29 PM:
---------------------------------------------------------------

Initial implementations of the GraphHandler and GraphMLResponsWriter attached. 
The GraphHandler simply takes a Streaming Expression compiles it and 
initializes a Traversal object and adds it to the StreamContext. The 
TupleStream and Traversal objects are added to the request context. The 
GraphMLResponseWriter gets the TupleStream and Traversal from the request 
context, opens the stream and iterates the Tuples outputting the GraphML 
formatting for the nodes and edges. All the traversal logic is encapsulated 
inside of the TupleStream.

Proper patches and test cases to follow.


was (Author: joel.bernstein):
Initial implementations of the GraphHandler and GraphMLResponsWriter attached. 
The GraphHandler simply takes a Streaming Expression compiles it and 
initializes a Traversal object and adds it to the StreamContext. The 
TupleStream and Traversal objects are added to the request context. The 
GraphMLResponseWriter gets the TupleStream and Traversal from the request 
context, opens the stream and iterates that Tuples outputting the GraphML 
formatting for the nodes and edges. All the traversal logic is encapsulated 
inside of the TupleStream.

Proper patches and test cases to follow.

> Add GraphHandler and GraphMLOutputWriter to support graph visualizations
> ------------------------------------------------------------------------
>
>                 Key: SOLR-8972
>                 URL: https://issues.apache.org/jira/browse/SOLR-8972
>             Project: Solr
>          Issue Type: New Feature
>            Reporter: Joel Bernstein
>            Assignee: Joel Bernstein
>             Fix For: 6.1
>
>         Attachments: GraphHandler.java, GraphMLResponseWriter.java
>
>
> SOLR-8925 is shaping up nicely. It would be great if Solr could support 
> outputting graphs in GraphML. This will allow users to visualize their graphs 
> in a number of graph visualization tools (NodeXL, Gephi, Tulip etc...). This 
> ticket will create a new Graph handler which will take a Streaming Expression 
> graph traversal and output GraphML. A new GraphMLOutputWriter will handle the 
> GraphML formatting. In future releases we can consider supporting other graph 
> formats.



--
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