Properly harvest and map the identifier property of the RARe JSON documents
The gzipped JSON files seem to contain an identifier
property, containing the functional accession identifier that will be used in rare-basket along with the name to identify the accession.
However, the new harvesting process doesn't seem to store this property in ElasticSearch.
And the Java RareDocument
class doesn't seem to have such a property either. Although that is a bit unclear to me because it has one id
property with is annotatated with Jackson @JsonProperty("identifier")
, so I guess (because I don't remember exactly how ElasticSearch and Spring work together) that the JSON that the frontend receives indeed has an identifier property, but that this identifier
property is in fact mapped to the technical id used by ElasticSearch.