Use a proper boolean in FieldStatsIntegrationIT#testGeoPointNotIndexed()
This commit is contained in:
parent
aece89d6a1
commit
ce765f7ad2
|
@ -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();
|
||||
|
|
Loading…
Reference in New Issue