Class DSpaceAuthorityIndexer

java.lang.Object
org.dspace.authority.indexer.DSpaceAuthorityIndexer
All Implemented Interfaces:
AuthorityIndexerInterface, InitializingBean

public class DSpaceAuthorityIndexer extends Object implements AuthorityIndexerInterface, InitializingBean
DSpaceAuthorityIndexer is used in IndexClient, which is called by the AuthorityConsumer and the indexing-script.

The DSpaceAuthorityIndexer will return a list of all authority values for a given item. It will return an authority value for all metadata fields defined in dspace.conf with 'authority.author.indexer.field'.

You have to call getAuthorityValues for every Item you want to index. But you can supply an optional cache, to save the mapping from the metadata value to the new authority values for metadata fields without an authority key.

Author:
Antoine Snyers (antoine at atmire.com), Kevin Van de Velde (kevin at atmire dot com), Ben Bosman (ben at atmire dot com), Mark Diggory (markd at atmire dot com)