| One weird effect of using a Field on the getter like that
@Field(name = "myDate")
public OffsetDateTime getMyDateWithoutZone() {
return myDate == null ? null : myDate.toOffsetDateTime();
}
is that my elasticsearch document date is not updated when I update my model (using spring data), the date is correctly indexed only the first time (fullTextEntityManager.createIndexer().startAndWait() . Btw as you may know elasticsearch fixed the issue 6 days ago in the 5.0.1 release, but hsearch is not yet compatible with the 5th version. |