code: private void updateIndexActionStatus(
        IndexAction indexAction, IndexActionMetadata.IndexStatus status) {
      indexAction.setIndexStatus(status);
      dataService.update(INDEX_ACTION, indexAction);
    }
docs: Updates the {@link IndexStatus} of a IndexAction and stores the change.
  
  @param indexAction the IndexAction of which the status is updated
  @param status the new {@link IndexStatus}