
org.dspace.discovery.configuration.DiscoveryMoreLikeThisConfiguration 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 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 the more like this configuration on item pages
*
* @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 DiscoveryMoreLikeThisConfiguration {
private List similarityMetadataFields;
private int minTermFrequency;
private int max;
private int minWordLength;
@Autowired(required = true)
public void setSimilarityMetadataFields(List similarityMetadataFields) {
this.similarityMetadataFields = similarityMetadataFields;
}
public List getSimilarityMetadataFields() {
return similarityMetadataFields;
}
@Autowired(required = true)
public void setMinTermFrequency(int minTermFrequency) {
this.minTermFrequency = minTermFrequency;
}
public int getMinTermFrequency() {
return minTermFrequency;
}
@Autowired(required = true)
public void setMax(int max) {
this.max = max;
}
public int getMax() {
return max;
}
public int getMinWordLength() {
return minWordLength;
}
public void setMinWordLength(int minWordLength) {
this.minWordLength = minWordLength;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy