Hi,
I'm trying to use QueryDSL with Lucene but I'm having some issues with mapping.
My document class has LocalDate and LocalDateTime attributes, which is okay with my domain. But I have them as Integers and Longs in Lucene.
Right now I place an annotation on the top of my document class ("@QueryEntity").
@QueryEntity
public class MyDocument{
private String id;
private String publication;
private int pageNumber;
private LocalDate date;
private LocalDateTime creationTime;
}
Is there any way to force QueryDSL to map LocalDates as Integers (and LocalDateTimes as Longs)?
Thanks!