PHP Class Algolia_Algoliasearch_Model_Resource_Engine, algoliasearch-magento

Inheritance: extends Mage_CatalogSearch_Model_Resource_Fulltext_Engine
Show file Open project: algolia/algoliasearch-magento Class Usage Examples

Protected Properties

Property Type Description
$category_helper Algolia_Algoliasearch_Helper_Entity_Categoryhelper
$config Algolia_Algoliasearch_Helper_Config
$logger Algolia_Algoliasearch_Helper_Logger
$product_helper Algolia_Algoliasearch_Helper_Entity_Producthelper
$queue Algolia_Algoliasearch_Model_Queue
$suggestion_helper Algolia_Algoliasearch_Helper_Entity_Suggestionhelper

Public Methods

Method Description
_construct ( )
addToQueue ( $observer, $method, $data, $data_size )
prepareEntityIndex ( $index, $separator = ' ' )
rebuildAdditionalSections ( )
rebuildCategories ( )
rebuildCategoryIndex ( $storeId = null, $categoryIds = null )
rebuildPages ( )
rebuildProductIndex ( $storeId = null, $productIds = null )
rebuildProducts ( $reindexStoreId = null )
rebuildSuggestions ( )
removeCategories ( $storeId = null, $category_ids = null )
saveSettings ( $isFullProductReindex = false )

Protected Methods

Method Description
_rebuildCategoryIndex ( $storeId, $categoryIds = null )
_rebuildProductIndex ( $storeId, $productIds = null, $useTmpIndex = false )

Method Details

_construct() public method

public _construct ( )

_rebuildCategoryIndex() protected method

protected _rebuildCategoryIndex ( $storeId, $categoryIds = null )

_rebuildProductIndex() protected method

protected _rebuildProductIndex ( $storeId, $productIds = null, $useTmpIndex = false )

addToQueue() public method

public addToQueue ( $observer, $method, $data, $data_size )

prepareEntityIndex() public method

public prepareEntityIndex ( $index, $separator = ' ' )

rebuildAdditionalSections() public method

rebuildCategories() public method

public rebuildCategories ( )

rebuildCategoryIndex() public method

public rebuildCategoryIndex ( $storeId = null, $categoryIds = null )

rebuildPages() public method

public rebuildPages ( )

rebuildProductIndex() public method

public rebuildProductIndex ( $storeId = null, $productIds = null )

rebuildProducts() public method

public rebuildProducts ( $reindexStoreId = null )

rebuildSuggestions() public method

public rebuildSuggestions ( )

removeCategories() public method

public removeCategories ( $storeId = null, $category_ids = null )

saveSettings() public method

public saveSettings ( $isFullProductReindex = false )

Property Details

$category_helper protected property

protected Algolia_Algoliasearch_Helper_Entity_Categoryhelper $category_helper
return Algolia_Algoliasearch_Helper_Entity_Categoryhelper

$config protected property

protected Algolia_Algoliasearch_Helper_Config $config
return Algolia_Algoliasearch_Helper_Config

$logger protected property

protected Algolia_Algoliasearch_Helper_Logger $logger
return Algolia_Algoliasearch_Helper_Logger

$product_helper protected property

protected Algolia_Algoliasearch_Helper_Entity_Producthelper $product_helper
return Algolia_Algoliasearch_Helper_Entity_Producthelper

$queue protected property

protected Algolia_Algoliasearch_Model_Queue $queue
return Algolia_Algoliasearch_Model_Queue

$suggestion_helper protected property

protected Algolia_Algoliasearch_Helper_Entity_Suggestionhelper $suggestion_helper
return Algolia_Algoliasearch_Helper_Entity_Suggestionhelper