diff --git a/dspace-api/src/main/java/org/dspace/browse/IndexBrowse.java b/dspace-api/src/main/java/org/dspace/browse/IndexBrowse.java index 7da76d78f0..f0f0239ae8 100644 --- a/dspace-api/src/main/java/org/dspace/browse/IndexBrowse.java +++ b/dspace-api/src/main/java/org/dspace/browse/IndexBrowse.java @@ -445,9 +445,10 @@ public class IndexBrowse if (bis[i].isAuthorityIndex() && (values[x].authority == null || values[x].confidence < minConfidence)) { - // if we have an authority index only authored metadata will go here! - log.debug("Skipping item="+item.getID()+", field="+values[x].schema+"."+values[x].element+"."+values[x].qualifier+", value="+values[x].value+", authority="+values[x].authority+", confidence="+values[x].confidence+" (BAD AUTHORITY)"); - break; + // skip to next value in this authority field if value is not authoritative + log.debug("Skipping non-authoritative value: "+item.getID()+", field="+values[x].schema+"."+values[x].element+"."+values[x].qualifier+", value="+values[x].value+", authority="+values[x].authority+", confidence="+values[x].confidence+" (BAD AUTHORITY)"); + continue; + } // is there any valid (with appropriate confidence) authority key? diff --git a/dspace/CHANGES b/dspace/CHANGES index 39a4356cfc..421535415d 100644 --- a/dspace/CHANGES +++ b/dspace/CHANGES @@ -1,5 +1,8 @@ 1.7.0 ===== +(Reinhard Engels) +- [DS-637] Browse index bug/fix ONLY for authority index: first "too low" confidence value stop current item metadata to be indexed in the autority index + (Hardy Pottinger) - [DS-691] File size math in the mets:file template in General-Hander.xsl (XMLUI) is incorrect