public function findAll()
    {
        $collection = new ArrayCollection();

        if($this->meta instanceof Node)
        {
            foreach($this->getIndex()->query('id:*') as $node)
            {
                $collection->add($this->entityManager->loadNode($node));
            }
        }
        elseif($this->meta instanceof Relation)
        {
            foreach($this->getIndex()->query('id:*') as $rel)
            {
                $collection->add($this->entityManager->loadRelation($rel));
            }
        }

        return $collection;
    }