Uploaded image for project: 'Solr'
  1. Solr
  2. SOLR-12148

Incomplete GraphML output of graph traversal

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 7.2
    • None
    • streaming expressions

    Description

      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

      Attachments

        Activity

          People

            Unassigned Unassigned
            davidum David Unzue
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: