[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:
Andrea Bollini
2010-10-17 14:03:31 +00:00
parent d1f4075e2d
commit f87eb0ba8c
2 changed files with 7 additions and 3 deletions

View File

@@ -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?