Uploaded image for project: 'Clowder'
  1. Clowder
  2. CATS-35

Store metadata attached-to as a simpler json that can be more easily indexed

XMLWordPrintableJSON

    • Icon: Improvement Improvement
    • Resolution: Fixed
    • Icon: Normal Normal
    • 1.0
    • None
    • Core
    • IMLCZO - 2017 - April Sprint 1

      > db.metadata.findOne()
      {
      	"_id" : ObjectId("5526edec48c4fe6d30d93054"),
      	"_typeHint" : "models.Metadata",
      	"attachedTo" : {
      		"dataset_id" : ObjectId("551ecc5d5b66807fd8ec56f7")
      	},
      	"contextId" : ObjectId("5526edec48c4fe6d30d93053"),
      	"createdAt" : ISODate("2014-08-12T05:00:00Z"),
      	"creator" : {
      		"_typeHint" : "models.ExtractorAgent",
      		"_id" : ObjectId("5526edec48c4fe6d30d93052"),
      		"typeOfAgent" : "\"cat:extractor\"",
      		"extractorId" : "http://dts.ncsa.illinois.edu/api/extractors/ncsa.cv.caltech101"
      	},
      	"content" : {
      		"score" : [
      			"-0.275160"
      		],
      		"category" : [
      			"wrench"
      		]
      	}
      }
       
      "attached_to" : { "resource_type" : "dataset", "id" : ObjectId("551ecc5d5b66807fd8ec56f7") }

              lmarini Luigi Marini
              lmarini Luigi Marini
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved:

                  Estimated:
                  Original Estimate - 4 hours
                  4h
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 4 hours
                  4h