docs: def _refresh_resource_index(self, resource):
          """Refresh index for given resource.
  
          :param resource: resource name
          """
          if self._resource_config(resource, 'FORCE_REFRESH', True):
              self.elastic(resource).indices.refresh(self._resource_index(resource))