@Test
public void testTimestampStored(){
esSetup.execute(deleteAll(), createIndex("tsstored").withSettings(
fromClassPath("essetup/settings/test_a.json")).withMapping("d",
"{\"d\": {\"_timestamp\": {\"enabled\": true, \"store\": \"yes\"}}}"));
Client client = esSetup.client();
client.prepareIndex("tsstored", "d", "1").setSource(
"field1", "value1").setTimestamp("123").execute().actionGet();
client.admin().indices().prepareRefresh().execute().actionGet();
ExportResponse response = executeExportRequest(
"{\"output_cmd\": \"cat\", \"fields\": [\"_id\", \"_timestamp\"]}");
List<Map<String, Object>> infos = getExports(response);