You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Cannot execute jest action , response code : 400 , error : {"root_cause":[{"type":"parse_exception","reason":"field must be either [lat], [lon] or [geohash]"}],"type":"mapper_parsing_exception","reason":"failed to parse","caused_by":{"type":"parse_exception","reason":"field must be either [lat], [lon] or [geohash]"}} , message : null
here is my model
@document(indexName = "lxi")
public class Lxi implements Serializable {
private static final long serialVersionUID = 1L;
@Id
@GeneratedValue(strategy = GenerationType.IDENTITY)
private Long id;
@Column(name = "name")
private String name;
@OneToOne
@JoinColumn(unique = true)
@GeoPointField
private LocationMap locationMap;
and @document(indexName = "locationmap")
public class LocationMap implements Serializable {
private static final long serialVersionUID = 1L;
@Id
@GeneratedValue(strategy = GenerationType.IDENTITY)
private Long id;
@Column(name = "lat")
private Double lat;
@Column(name = "lon")
private Double lon;
Couldn't find any documentations
Thanks in advance.
The text was updated successfully, but these errors were encountered:
Cannot execute jest action , response code : 400 , error : {"root_cause":[{"type":"parse_exception","reason":"field must be either [lat], [lon] or [geohash]"}],"type":"mapper_parsing_exception","reason":"failed to parse","caused_by":{"type":"parse_exception","reason":"field must be either [lat], [lon] or [geohash]"}} , message : null
here is my model
@document(indexName = "lxi")
public class Lxi implements Serializable {
and
@document(indexName = "locationmap")
public class LocationMap implements Serializable {
Couldn't find any documentations
Thanks in advance.
The text was updated successfully, but these errors were encountered: