Examples of ExportResponse


Examples of crate.elasticsearch.action.export.ExportResponse

                "Export Failed [Failed to write mappings for index users]]; nested: IOException[File exists"));
    }

    @Test
    public void testMappingsWithOutputCmd() {
        ExportResponse response = executeExportRequest(
                "{\"output_cmd\": \"cat\", \"fields\": [\"name\", \"_id\"], \"mappings\": true}");
        List<Map<String, Object>> infos = getExports(response);
        assertEquals(0, infos.size());
        assertTrue(response.getShardFailures()[0].reason().contains("Parse Failure [Parameter 'mappings' requires usage of 'output_file']]"));
    }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.