code: public Filter geoSearch(String value) {
      GeopositionComparator comp = (GeopositionComparator) prop.getComparator();
      double dist = comp.getMaxDistance();
      double degrees = DistanceUtils.dist2Degrees(dist, DistanceUtils.EARTH_MEAN_RADIUS_KM * 1000.0);
      Shape circle = spatialctx.makeCircle(parsePoint(value), degrees);
      SpatialArgs args = new SpatialArgs(SpatialOperation.Intersects, circle);
      return strategy.makeFilter(args);
    }
docs: Returns a geoquery.