mirror of
https://github.com/DSpace/DSpace.git
synced 2025-10-15 14:03:17 +00:00
[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
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5440 9c30dcfa-912a-0410-8fc2-9e0234be79fd
This commit is contained in:
@@ -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?
|
||||
|
Reference in New Issue
Block a user