Use a proper boolean in FieldStatsIntegrationIT#testGeoPointNotIndexed()

This commit is contained in:
Daniel Mitterdorfer 2017-01-19 08:33:08 +01:00
parent aece89d6a1
commit ce765f7ad2
1 changed files with 1 additions and 1 deletions

View File

@ -540,7 +540,7 @@ public class FieldStatsIntegrationIT extends ESIntegTestCase {
}
public void testGeoPointNotIndexed() throws Exception {
assertAcked(prepareCreate("test").addMapping("test", "value", "type=long", "location", "type=geo_point,index=no"));
assertAcked(prepareCreate("test").addMapping("test", "value", "type=long", "location", "type=geo_point,index=false"));
ensureGreen("test");
client().prepareIndex("test", "test").setSource("value", 1L, "location", new GeoPoint(32, -132)).get();
client().prepareIndex("test", "test").setSource("value", 2L).get();