public static Bson near ( final String fieldName , final double x , final double y , @ Nullable final Double maxDistance , @ Nullable final Double minDistance ) { return createNearFilterDocument ( fieldName , x , y , maxDistance , minDistance , "$near" ) ; }
Creates a filter that matches all documents containing a field with geospatial data that is near the specified point .