lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Joel Bernstein (JIRA)" <j...@apache.org>
Subject [jira] [Comment Edited] (SOLR-8972) Add GraphHandler and GraphMLResponseWriter to support graph visualizations
Date Wed, 04 May 2016 19:44:12 GMT

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

Joel Bernstein edited comment on SOLR-8972 at 5/4/16 7:43 PM:
--------------------------------------------------------------

Added some error handling the GraphMLResponseWriter. Now it prints a stack trace to the client
if it sees a error coming from the GraphHandler. The GraphHandler will log the error before
passing the error over to the GraphResponseWriter.

It's using a DummyErrorStream to wrap the error in a TupleStream. This is to keep things consistent
with the StreamHandler and also in case future graph writers export in a json graph format
and can use the DummyErrorStream to send a json error to the client.


was (Author: joel.bernstein):
Added some error handling the GraphMLResponseWriter. Now it prints a stack trace to the client
if it sees a error coming from the GraphHandler. The GraphHandler will log the error before
passing the error over to the GraphResponseWriter.

It's using a DummyErrorStream to wrap the error in a TupleStream. This is to keep things consistent
with the StreamHandler and also incase future graph writers export in a json graph format
and can use the DummyErrorStream to send a json error to the client.

> Add GraphHandler and GraphMLResponseWriter 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-8972.patch,
SOLR-8972.patch, SOLR-8972.patch
>
>
> 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 GraphMLResponseWriter
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: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org


Mime
View raw message