*/
@Test
public void testImportIntoIndexAndType() {
String path = getClass().getResource("/importdata/import_2").getPath();
ImportRequest request = new ImportRequest();
request.index("another_index");
request.type("e");
request.source("{\"directory\": \"" + path + "\"}");
ImportResponse response = esSetup.client().execute(ImportAction.INSTANCE, request).actionGet();
List<Map<String, Object>> imports = getImports(response);