public IndexResponse sendDataWithObjectMapper(Object sourceObject,
            String index, String type, String id) {
        return sendData(
                JMElasticsearchUtil.buildSourceByJsonMapper(sourceObject),
                index, type, id);
    }
public IndexResponse sendDataWithObjectMapper ( Object sourceObject , String index , String type , String id ) { return sendData ( JMElasticsearchUtil . buildSourceByJsonMapper ( sourceObject ) , index , type , id ) ; }
Send data with object mapper index response.

@param sourceObject the source object
@param index        the index
@param type         the type
@param id           the id
@return the index response