Renamed GeoEnvelope to GeoBox

This commit is contained in:
Artur Konczak
2013-09-27 22:58:26 +01:00
parent 714bcf87fe
commit bb81fa75db
4 changed files with 9 additions and 9 deletions

View File

@@ -191,7 +191,7 @@ public class ElasticsearchTemplateGeoTests {
loadClassBaseEntities();
CriteriaQuery geoLocationCriteriaQuery3 = new CriteriaQuery(
new Criteria("location").bbox(
new GeoEnvelope(new GeoPoint(53.5171d, 0),
new GeoBox(new GeoPoint(53.5171d, 0),
new GeoPoint(49.5171d, 0.2062d))));
//when
List<AuthorMarkerEntity> geoAuthorsForGeoCriteria3 = elasticsearchTemplate.queryForList(geoLocationCriteriaQuery3, AuthorMarkerEntity.class);