PHP Class WellCommerce\Bundle\SearchBundle\Indexer\ZendLuceneIndexer

Author: Adam Piotrowski ([email protected])
Inheritance: implements WellCommerce\Bundle\SearchBundle\Indexer\IndexerInterface
Mostra file Open project: wellcommerce/wellcommerce

Public Methods

Method Description
__construct ( WellCommerce\Bundle\SearchBundle\Adapter\SearchAdapterInterface $adapter, WellCommerce\Bundle\SearchBundle\Factory\DocumentFactoryInterface $documentFactory )
deindex ( WellCommerce\Bundle\DoctrineBundle\Entity\EntityInterface $entity )
index ( WellCommerce\Bundle\DoctrineBundle\Entity\EntityInterface $entity )

Private Methods

Method Description
createDocument ( WellCommerce\Bundle\DoctrineBundle\Entity\EntityInterface $entity ) : ZendSearch\Lucene\Document

Method Details

__construct() public method

public __construct ( WellCommerce\Bundle\SearchBundle\Adapter\SearchAdapterInterface $adapter, WellCommerce\Bundle\SearchBundle\Factory\DocumentFactoryInterface $documentFactory )
$adapter WellCommerce\Bundle\SearchBundle\Adapter\SearchAdapterInterface
$documentFactory WellCommerce\Bundle\SearchBundle\Factory\DocumentFactoryInterface

deindex() public method

public deindex ( WellCommerce\Bundle\DoctrineBundle\Entity\EntityInterface $entity )
$entity WellCommerce\Bundle\DoctrineBundle\Entity\EntityInterface

index() public method

public index ( WellCommerce\Bundle\DoctrineBundle\Entity\EntityInterface $entity )
$entity WellCommerce\Bundle\DoctrineBundle\Entity\EntityInterface