code: def _parent_queryset_es(self):
          
          parent = self._resource.parent
          if hasattr(parent, 'view'):
              req = self.request.blank(self.request.path)
              req.registry = self.request.registry
              req.matchdict = {
                  parent.id_name: self.request.matchdict.get(parent.id_name)}
              parent_view = parent.view(parent.view._factory, req)
              obj = parent_view.get_item_es(**req.matchdict)
              prop = self._resource.collection_name
              objects_ids = getattr(obj, prop, None)
              return objects_ids
docs: Get queryset (list of object IDs) of parent view.
  
          The generated queryset is used to run queries in the current level's
          view.