.endObject()
.copiedBytes());
MatcherAssert.assertThat(doc.rootDoc().getFieldable("point.lat"), nullValue());
MatcherAssert.assertThat(doc.rootDoc().getFieldable("point.lon"), nullValue());
MatcherAssert.assertThat(doc.rootDoc().get("point"), equalTo("1.2,1.3"));
}
@Test public void testLatLonInOneValue() throws Exception {
String mapping = XContentFactory.jsonBuilder().startObject().startObject("type")
.startObject("properties").startObject("point").field("type", "geo_point").field("lat_lon", false).endObject().endObject()