Package io.searchbox.indices.mapping

Examples of io.searchbox.indices.mapping.PutMapping


     * @param indexType
     * @param indexMapping
     */
    public static JestRichResult createMapping(String indexName, String indexType, String indexMapping) {
        Logger.debug("ElasticSearch : creating mapping [" + indexName + "/" + indexType + "] :  " + indexMapping);
        final PutMapping build = new PutMapping.Builder(indexName, indexType, indexMapping).build();
        return execute(build);
    }
View Full Code Here

TOP

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

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.