Skip to content

Commit ce765f7

Browse files
Use a proper boolean in FieldStatsIntegrationIT#testGeoPointNotIndexed()
1 parent aece89d commit ce765f7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

core/src/test/java/org/elasticsearch/fieldstats/FieldStatsIntegrationIT.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -540,7 +540,7 @@ public void testCached() throws Exception {
540540
}
541541

542542
public void testGeoPointNotIndexed() throws Exception {
543-
assertAcked(prepareCreate("test").addMapping("test", "value", "type=long", "location", "type=geo_point,index=no"));
543+
assertAcked(prepareCreate("test").addMapping("test", "value", "type=long", "location", "type=geo_point,index=false"));
544544
ensureGreen("test");
545545
client().prepareIndex("test", "test").setSource("value", 1L, "location", new GeoPoint(32, -132)).get();
546546
client().prepareIndex("test", "test").setSource("value", 2L).get();

0 commit comments

Comments
 (0)