Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 6 Next »

Design discussion on how to handle hierarchical data structures to DDF taxonomy mappings. The DDF taxonomy currently is intentionally a flat data structure. External systems may use a hierarchical data structure to represent their data, but needs to be mapped into the DDF taxonomy for discovery.

node/1/id
node/1/startTime
node/1/endTime
node/2/id
node/2/startTime
node/2/endTime

Challenges

  1. Data should be grouped and displayed in a user-friendly format in the Catalog UI.
  2. Queries need to use the data relationships (e.g. – (Not CQL) → anyText=houses and test/alternate-id contains '123' and test/startTime after 'Jan 1 2017' and test/endTime before 'May 1 2017')

Solr Capabilities

Potential Options

  1. Solr Xpath support slow or weak
  2. Delimiter option alternateId=NRO;MyDoc;20170404T04:04:04Z;1234-1234Z
  3. Positional option (temporalCoverage.dateStart[4] corresponds to temporal Coverage.dateEnd[4])
  4. Metacard encoding (Contact[0] = metacard4321-4321-4321-4321-4321-4321-4321-4321
  5. Via Associations (an associated metacard contains the contact information in a contact metacard)
  6. Store these types of data as XML. Would need to have a custom renderer associated with the attribute for the UI and possibly custom backend logic so queries could be made correctly.
  7. Create a Collection Attribute type that contains a collection of other element types. Possibly serialize this type as XML.

 

  • No labels