MongorePository Spring Boot Пользовательский запрос
public interface PersonRepository extends MongoRepository<Person, String>
// Geo-spatial repository queries
// { 'location' : { '$near' : [point.x, point.y], '$maxDistance' : distance}}
List<Person> findByLocationNear(Point location, Distance distance);
}
Yawning Yacare