def add_object!(object, objectID = nil, request_options = {})
      res = add_object(object, objectID, request_options)
      wait_task(res['taskID'], WAIT_TASK_DEFAULT_TIME_BEFORE_RETRY, request_options)
      res
    end
def add_object!(object, objectID = nil, request_options = {})
      res = add_object(object, objectID, request_options)
      wait_task(res['taskID'], WAIT_TASK_DEFAULT_TIME_BEFORE_RETRY, request_options)
      res
    end
Add an object in this index and wait end of indexing

 @param object the object to add to the index.
  The object is represented by an associative array
 @param objectID (optional) an objectID you want to attribute to this object
  (if the attribute already exist the old object will be overridden)
 @param Request options object. Contains extra URL parameters or headers