org.dspace.discovery.configuration.DiscoveryHitHighlightingConfiguration Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of dspace-api Show documentation
Show all versions of dspace-api Show documentation
DSpace core data model and service APIs.
/**
* 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