Package io.searchbox.indices.mapping

Examples of io.searchbox.indices.mapping.GetMapping


     * @param indexType
     * @return
     */
    @NotNull
    public static String getMapping(String indexName, String indexType) {
        final GetMapping build = new GetMapping.Builder().addIndex(indexName).addType(indexType).build();
        final JestRichResult jestResult = execute(build);
        if (jestResult != null) {
            return jestResult.getJsonString();
        }
        return "";
View Full Code Here

TOP

Related Classes of io.searchbox.indices.mapping.GetMapping

Copyright © 2018 www.massapicom. 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.