Table of Contents
co.elastic.clients.json.JsonpMappingException: Error deserializing co.elastic.clients.elasticsearch.core.search.Hit
제목과 같은 오류가 발생하면 VO 클래스를 확인해 본다.
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
VO 클래스
아래와 같이 3개의 어노테이션이 있는지 확인한다.
@Getter
@Setter
@NoArgsConstructor
public class AutoCompleteResultModel {
private String search_string;
private Integer sort;
}