lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From David Unzue Moriones <david.un...@biologis.com>
Subject Format of solr's graphml output
Date Tue, 20 Mar 2018 13:59:52 GMT
Hi,

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
<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
<https://gist.githubusercontent.com/anonymous/310d6653ead928b844f39ad59862265c/raw/eb321c5d54d8231590516dae12b538af0ded626d/graphml_without_keys.graphml>

Is this a know issue? Are there any plans already to fix this or is anyone working on it?

Best,
David
Mime
View raw message