Method | Description | |
---|---|---|
__construct ( string $indexName, WellCommerce\Bundle\SearchBundle\Factory\DocumentFactoryInterface $documentFactory, WellCommerce\Bundle\SearchBundle\Adapter\SearchAdapterInterface $adapter, WellCommerce\Bundle\DoctrineBundle\Repository\RepositoryInterface $repository, |
IndexManager constructor. | |
addEntity ( WellCommerce\Bundle\DoctrineBundle\Entity\EntityInterface $entity ) | ||
getEntitiesCollection ( Doctrine\Common\Collections\Criteria $criteria ) : Doctrine\Common\Collections\Collection | ||
getIndexName ( ) : string | ||
getTotalEntities ( ) : integer | ||
optimizeIndex ( ) | ||
purgeIndex ( ) | ||
removeEntity ( WellCommerce\Bundle\DoctrineBundle\Entity\EntityInterface $entity ) | ||
search ( |
||
updateEntity ( WellCommerce\Bundle\DoctrineBundle\Entity\EntityInterface $entity ) |
public __construct ( string $indexName, WellCommerce\Bundle\SearchBundle\Factory\DocumentFactoryInterface $documentFactory, WellCommerce\Bundle\SearchBundle\Adapter\SearchAdapterInterface $adapter, WellCommerce\Bundle\DoctrineBundle\Repository\RepositoryInterface $repository, |
||
$indexName | string | |
$documentFactory | WellCommerce\Bundle\SearchBundle\Factory\DocumentFactoryInterface | |
$adapter | WellCommerce\Bundle\SearchBundle\Adapter\SearchAdapterInterface | |
$repository | WellCommerce\Bundle\DoctrineBundle\Repository\RepositoryInterface | |
$storage |
public addEntity ( WellCommerce\Bundle\DoctrineBundle\Entity\EntityInterface $entity ) | ||
$entity | WellCommerce\Bundle\DoctrineBundle\Entity\EntityInterface |
public getEntitiesCollection ( Doctrine\Common\Collections\Criteria $criteria ) : Doctrine\Common\Collections\Collection | ||
$criteria | Doctrine\Common\Collections\Criteria | |
return | Doctrine\Common\Collections\Collection |
public removeEntity ( WellCommerce\Bundle\DoctrineBundle\Entity\EntityInterface $entity ) | ||
$entity | WellCommerce\Bundle\DoctrineBundle\Entity\EntityInterface |
public updateEntity ( WellCommerce\Bundle\DoctrineBundle\Entity\EntityInterface $entity ) | ||
$entity | WellCommerce\Bundle\DoctrineBundle\Entity\EntityInterface |