code: public IndexResponse sendData(String jsonSource, String index, String type,
              String id) {
          return indexQuery(buildIndexRequest(jsonSource, index, type, id));
      }
docs: Send data index response.
  
  @param jsonSource the json source
  @param index      the index
  @param type       the type
  @param id         the id
  @return the index response