/**
* This file is hereby placed into the Public Domain. This means anyone is
* free to do whatever they wish with this file.
*/
package mil.nga.giat.data.elasticsearch;
import java.util.List;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.JsonProperty;
@JsonIgnoreProperties(ignoreUnknown=true)
public class ElasticResults {
private Long total;
@JsonProperty("max_score")
private Float maxScore;
private List<ElasticHit> hits;
public Long getTotal() {
return total;
}
public void setTotal(Long total) {
this.total = total;
}
public Float getMaxScore() {
return maxScore;
}
public void setMaxScore(Float maxScore) {
this.maxScore = maxScore;
}
public List<ElasticHit> getHits() {
return hits;
}
public void setHits(List<ElasticHit> hits) {
this.hits = hits;
}
}