Commit de7e98d1 authored by Joerg-Holger Panzer's avatar Joerg-Holger Panzer
Browse files

Add Issn to structrun info

this info helps the ISSN resolver to get volumes, related to specific periodical (issn), in a single query
parent 7f99e0dd
Pipeline #299233 passed with stages
in 8 minutes and 57 seconds
......@@ -495,6 +495,7 @@ func GetESLogFromDmdsec(
structrun.Type = parentEsLog.Type
structrun.RightsAccessConditionInfos = parentEsLog.RightsAccessConditionInfos
structrun.Dc = parentEsLog.Dc
structrun.Issn = parentInfo.Issn
structrun.Currentno = parentEsLog.Currentno
structrun.Currentnosort = parentEsLog.Currentnosort
structrun.Issn = parentEsLog.Issn
......
......@@ -565,9 +565,8 @@ func ProcessMetsWorker(mythread int) {
}
var dateIndexed, dateModified string
// TODO request only once, dates are the same
if config.CContext == "digizeit" {
//dateIndexed, dateModified = index.GetUpdateDatesFromES(metsObject.RecordIdentifier, redisClient)
dateIndexed, dateModified = index.GetUpdateDatesFromRedis(metsObject.RecordIdentifier, redisClient)
} else if config.CContext == "nlh" {
dateIndexed, dateModified = index.GetUpdateDatesFromSolrNLH(metsObject.RecordIdentifier, redisClient)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment