protected function isIndexable(Post $entity) : bool { return $entity->getCollection()->isCommunityCollection(); }
protected function getSource(Post $entity) : Source { return $source = $this->sourceFactory->getCollectionSource($entity->getCollection()->getId()); }
protected function isIndexable(Post $entity) : bool { return $entity->getCollection()->isProfileCollection(); }