Skip to content

Additional info in service output for resolved matches #94

@ehenneken

Description

@ehenneken

For the support of metrics data, additional metadata needs to be included in the output returned by the servie for matched records:

  • Publication year
  • Refereed status

In the corresponding Solr document of the match, the publication year is held in the field year and the refereed status can be deduced from the property field:

"REFEREED" in property

(with property being the list of values in this Solr field). The updated output will be like

{u'resolved': [{u'refstring': u'Drake, J. J., 2021. ApJL, 922, L42. doi:10.3847/2041-8213/ac34fd', u'score': u'1.0', u'bibcode': u'2021ApJ...922L..42D', u'id': u'H445I1', 'scix_id':'scix:2N0B-6359-55CE', pub_year:2021, refereed_status:1}]}

(with the value for the refereed_status field being 0 or 1)

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions