cartesianFilter, lat, lng, miles, key + "`lat", key
+ "`lng");
ValueSource valSrc = new DistanceValueSource(filter);
return new CustomScoreQuery(new ConstantScoreQuery(filter),
new ValueSourceQuery(valSrc));
} catch (IllegalArgumentException iae) {
throw new ParseException(iae.getMessage());
}
}