package org.springframework.data.elasticsearch.core.geo;
import org.springframework.data.elasticsearch.annotations.Document;
import org.springframework.data.elasticsearch.annotations.GeoPointField;
@Document(indexName = "test-geo-index", type = "geo-annotation-point-type", shards = 1, replicas = 0, refreshInterval = "-1")
public class LocationMarkerEntity {
// some code omitted for berevity
@GeoPointField
private String locationAsString;
@GeoPointField
private double[] locationAsArray;
// omitted
}