Hi Daniel,

This value is set in org.dspace.browse.SolrBrowseCreateDAO.additionaIndex()
using the value returned by getLabel() method of your class implementing
ChoiceAuthority interface.

Maybe your class return the value of second parameter "key" as-is in the same
manner as LCNameAuthority. You have to edit your code to return author name.

Another way is editing SolrBrowseCreateDAO class itself. Replace the
following lines

https://github.com/DSpace/DSpace/blob/master/dspace-api/src/main/java/org/dspace/browse/SolrBrowseCreateDAO.java#L217-227

to

if (!ignorePrefered)
{
    preferedLabel = values[x].value;
}

But in this case, when more than one name has the same authority code,
each name is counted and displayed separately. So I do not recommend.

Regards,
Keiji Suzuki








2014-04-16 23:30 GMT+09:00 Daniel Scharon <[email protected]>:
> Hello all,
>
> we have successfully implemented authority control for author names.
> But now it seems, that the authors' names listed for browsing/discovery
> are being retrieved (and indexed) from the authority key instead of the
> metadata text value.
>
> For our users this would mean that they would see author names with
> absolutely no meanings to them (like "abc1234").
>
> So I tried to set the author index to be retrieved by the text value:
> webui.browse.index.2 =
> author:metadataAuthority:dc.contributor.author:text
>
> But this doesn't show any effect; even after a complete reindexing the
> author names are still listed with their authority values.
>
> Any hints on how to solve this?
>
> Kind regards,
> Daniel
>
>
> --
> Daniel Scharon
> KIM, Room B 705
> University of Konstanz
> 78457 Konstanz, Germany
>
> Tel: +49 7531 88-2951
> XMPP/E-Mail: [email protected]
> Web: http://www.kim.uni-konstanz.de
>
> --
> Daniel Scharon
> KIM, Room B 705
> University of Konstanz
> 78457 Konstanz, Germany
>
> Tel: +49 7531 88-2951
> XMPP/E-Mail: [email protected]
> Web: http://www.kim.uni-konstanz.de
>
> ------------------------------------------------------------------------------
> Learn Graph Databases - Download FREE O'Reilly Book
> "Graph Databases" is the definitive new guide to graph databases and their
> applications. Written by three acclaimed leaders in the field,
> this first edition is now available. Download your free book today!
> http://p.sf.net/sfu/NeoTech
> _______________________________________________
> DSpace-tech mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/dspace-tech
> List Etiquette: 
> https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette



-- 
鈴木敬二@江別市

------------------------------------------------------------------------------
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and their
applications. Written by three acclaimed leaders in the field,
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/NeoTech
_______________________________________________
DSpace-tech mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

Reply via email to