DATAMONGO-445 - Allow to skip unnecessary elements in NearQuery.
Added support for skipping elements for NearQuery in MongoTemplate. As mongodb currently (2.4.4) doesn't support he skipping of elements in geoNear-Queries we skip the unnecessary elements ourselves. We use the limit & skip information from the given query or an explicitly passed Pageable.
Original pull request: #64.
pull/66/head
Thomas Darimont13 years agocommitted byOliver Gierke
@ -131,7 +131,7 @@ public class GeoResults<T> implements Iterable<GeoResult<T>> {
@@ -131,7 +131,7 @@ public class GeoResults<T> implements Iterable<GeoResult<T>> {
@ -590,4 +590,94 @@ public abstract class AbstractPersonRepositoryIntegrationTests {
@@ -590,4 +590,94 @@ public abstract class AbstractPersonRepositoryIntegrationTests {