cedadev / archive-opensearch

Prototype Opensearch Application for the CEDA Archive
0 stars 0 forks source link

Look into multi-labels. #49

Closed rsmith013 closed 4 years ago

rsmith013 commented 4 years ago

Not sure that the cci-tagger is successfully providing the separate labels

rsmith013 commented 4 years ago

`GET opensearch-cci-files/_search { "size": 0, "aggs": {

"type": { "terms": { "field": "projects.opensearch.sensor.keyword", "size": 1000 } } } }`

"aggregations" : { "type" : { "doc_count_error_upper_bound" : 0, "sum_other_doc_count" : 0, "buckets" : [ { "key" : "AATSR", "doc_count" : 631186 }, { "key" : "multi-sensor", "doc_count" : 508135 }, { "key" : "AVHRR-3", "doc_count" : 464051 }, { "key" : "ATSR-2", "doc_count" : 345204 }, { "key" : "AVHRR-2", "doc_count" : 273097 }, { "key" : "ATSR", "doc_count" : 126681 }, { "key" : "RA", "doc_count" : 38220 }, { "key" : "SCIAMACHY", "doc_count" : 33608 },

rsmith013 commented 4 years ago

Fixed by https://github.com/rsmith013/cci-tagger/commit/d004023c1b7170ca3ec8083204469ab8b1df78a5