David Unzue created SOLR-12148:
----------------------------------
Summary: Incomplete GraphML output of graph traversal
Key: SOLR-12148
URL: https://issues.apache.org/jira/browse/SOLR-12148
Project: Solr
Issue Type: Improvement
Security Level: Public (Default Security Level. Issues are Public)
Components: streaming expressions
Affects Versions: 7.2
Reporter: David Unzue
GraphML output for Solr graph traversals was introduced in version 6.1
(https://issues.apache.org/jira/browse/SOLR-8972).
However, the output is missing some required information as described by the
GraphML specification, aka GraphML Primer
([http://graphml.graphdrawing.org/primer/graphml-primer.html]).
Specifically the attributes are missing the corresponding declarations using
the <key> element, as described in
[http://graphml.graphdrawing.org/primer/graphml-primer.html#Attributes].
Solr's output includes the GraphML-Attribute values, defined using the <data>
elements inside nodes and links, but is missing the corresponding declaration
of the attributes as <key> elements (including id, name and type) that should
precede the graph definition.
This is how it should look like:
[https://gist.githubusercontent.com/anonymous/310d6653ead928b844f39ad59862265c/raw/eb321c5d54d8231590516dae12b538af0ded626d/graphml_with_keys.graphml]
And this is how it currently looks like (note the missing <key> elements):
[https://gist.githubusercontent.com/anonymous/310d6653ead928b844f39ad59862265c/raw/eb321c5d54d8231590516dae12b538af0ded626d/graphml_without_keys.graphml]
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]