code: public void sendWithBulkProcessorAndObjectMapper(Object object,
              String index, String type, String id) {
          sendWithBulkProcessor(buildIndexRequest(index, type, id)
                  .source(JMElasticsearchUtil.buildSourceByJsonMapper(object)));
      }
docs: Send with bulk processor and object mapper.
  
  @param object the object
  @param index  the index
  @param type   the type
  @param id     the id