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