def get_task_status(index_name, taskID, request_options = {})
      get(Protocol.task_uri(index_name, taskID), :read, request_options)['status']
    end
def get_task_status(index_name, taskID, request_options = {})
      get(Protocol.task_uri(index_name, taskID), :read, request_options)['status']
    end
Check the status of a task on the server.
 All server task are asynchronous and you can check the status of a task with this method.

 @param index_name the index name owning the taskID
 @param taskID the id of the task returned by server
 @param request_options contains extra parameters to send with your query