RE: Looking for FieldCacheRangeFilter pendant in 5.0.0

2015-02-26 Thread Uwe Schindler
Hi, Use DocValuesRangeFilter (same package, http://lucene.apache.org/core/5_0_0/core/org/apache/lucene/search/DocValuesRangeFilter.html). It was more or less just renamed, API of this class is the same. Uwe P.S.: FieldCache is not completely gone, you may use UninvertingReader() from the mis

AW: Can't get distance sorting to work in Lucene Spatial 4.10.3

2015-02-26 Thread Simon Rainer
Hi, ok - I traced this down, starting from the SpatialExample.java and then going through every small difference between that and my code. The reason was that I was using two different strategy objects for read and write - and was instantly punished for that: both had different settings for the