docs: public static <O> RangeQuery<O> getRangeQuery(Database database, DistanceFunction<? super O> distanceFunction, Object... hints) {
      final Relation<O> relation = database.getRelation(distanceFunction.getInputTypeRestriction(), hints);
      final DistanceQuery<O> distanceQuery = relation.getDistanceQuery(distanceFunction, hints);
      return relation.getRangeQuery(distanceQuery, hints);
    }