All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.dspace.discovery.configuration.DiscoveryHitHighlightingConfiguration Maven / Gradle / Ivy

There is a newer version: 8.0
Show newest version
/**
 * The contents of this file are subject to the license and copyright
 * detailed in the LICENSE and NOTICE files at the root of the source
 * tree and available online at
 *
 * http://www.dspace.org/license/
 */
package org.dspace.discovery.configuration;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;

/**
 * Class that contains all the configuration concerning the hit highlighting in search results.
 * This class can be configured in the
 * {@code [dspace.dir]/config/spring/discovery/spring-dspace-addon-discovery-configuration-services.xml}
 *
 * @author Kevin Van de Velde (kevin at atmire dot com)
 * @author Ben Bosman (ben at atmire dot com)
 * @author Mark Diggory (markd at atmire dot com)
 */
public class DiscoveryHitHighlightingConfiguration {

    /* A list of metadata fields for which the hit highlighting is possible */
    private List metadataFields;


    @Autowired(required = true)
    public void setMetadataFields(List metadataFields) {
        this.metadataFields = metadataFields;
    }

    public List getMetadataFields() {
        return metadataFields;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy