Hi fellow dspacers,

We just noticed that our authority browse index was only including
items for which the first author is recognized. A recognized author in
any other position wasn't good enough. So a significant number of
items that should have been in our browse index weren't.

Here's the relevant dspace.cfg entry:

webui.browse.index.4 =
harvardAuthor:metadataAuthority:dc.contributor.author:authority

I took a look at
dspace-api/src/main/java/org/dspace/browse/IndexBrowse.java and it
looks like there's a "break;" around line 450 that should be a
"continue;"

Here's the context:

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; //////////////
Reinhard thinks this should be a "continue"???
                                        }

Changing the "break" to a "continue" makes logical sense to me insofar
as I understand what is going on, and so far it has seemed to fix the
problem for us. But it's in a rather complex region of code and I'm
still a bit of a dspace newbie, so it's quite possible that this isn't
the ideal fix (and perhaps has side effects that I haven't yet
realized).

I'm hoping perhaps a more seasoned dspace guru could take a look?

Thanks in advance  -- and please let me know if you need more information.

Reinhard

------------------------------------------------------------------------------
The Palm PDK Hot Apps Program offers developers who use the
Plug-In Development Kit to bring their C/C++ apps to Palm for a share 
of $1 Million in cash or HP Products. Visit us here for more details:
http://ad.doubleclick.net/clk;226879339;13503038;l?
http://clk.atdmt.com/CRS/go/247765532/direct/01/
_______________________________________________
DSpace-tech mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-tech

Reply via email to