if(distanceQuery == null) {
throw new AbortException("Range query requested for 'null' distance!");
}
ListIterator<Index> iter = indexes.listIterator(indexes.size());
while(iter.hasPrevious()) {
Index idx = iter.previous();
if(idx instanceof RangeIndex) {
if(getLogger().isDebuggingFinest()) {
getLogger().debugFinest("Considering index for range query: " + idx);
}
@SuppressWarnings("unchecked")