| May be I do not know how to use the DistanceSortField class, But I want to do some column sorting on distance, and I am not able to do reverse sorting (in DESC direction). The DistanceSortField constructor do not accept a parameter 'reverse boolean'. I think the point is in the method org.hibernate.search.spatial.impl.DistanceComparatorSource#newComparator that do not handle the given reverse parameter. May be I miss something ? |