.startObject()
.startObject("point").field("lat", 1.2).field("lon", 1.3).endObject()
.endObject()
.copiedBytes());
assertThat(doc.rootDoc().getFieldable("point.lat"), notNullValue());
assertThat(doc.rootDoc().getFieldable("point.lat").getBinaryValue(), nullValue());
assertThat(doc.rootDoc().getFieldable("point.lon"), notNullValue());
assertThat(doc.rootDoc().getFieldable("point.lon").getBinaryValue(), nullValue());
assertThat(doc.rootDoc().getFieldable("point.geohash"), nullValue());
assertThat(doc.rootDoc().get("point"), equalTo("1.2,1.3"));