Class Mage_CatalogSearch_Model_Fulltext

Description

Catalog advanced search model

Located in /CatalogSearch/Model/Fulltext.php (line 34)

Varien_Object
   |
   --Mage_Core_Model_Abstract
      |
      --Mage_CatalogSearch_Model_Fulltext
Class Constant Summary
Method Summary
Mage_CatalogSearch_Model_Fulltext cleanIndex ([int $storeId = null], [int $productId = null])
int getSearchType ([int $storeId = null])
Mage_CatalogSearch_Model_Fulltext rebuildIndex ([int $storeId = null], [int $productIds = null])
Mage_CatalogSearch_Model_Fulltext updateCategoryIndex (array $productIds, array $categoryIds)
void _construct ()
Variables
Methods
cleanIndex (line 78)

Delete index data

Examples: (null, null) => Clean index of all stores (1, null) => Clean index of store Id=1 (1, 2) => Clean index of product Id=2 and its store view Id=1 (null, 2) => Clean index of all store views of product Id=2

  • access: public
Mage_CatalogSearch_Model_Fulltext cleanIndex ([int $storeId = null], [int $productId = null])
  • int $storeId: Store View Id
  • int $productId: Product Entity Id
getSearchType (line 120)

Retrieve search type

  • access: public
int getSearchType ([int $storeId = null])
  • int $storeId
prepareResult (line 101)

Prepare results for query

  • access: public
rebuildIndex (line 59)

Regenerate all Stores index

Examples: (null, null) => Regenerate index for all stores (1, null) => Regenerate index for store Id=1 (1, 2) => Regenerate index for product Id=2 and its store view Id=1 (null, 2) => Regenerate index for all store views of product Id=2

  • access: public
Mage_CatalogSearch_Model_Fulltext rebuildIndex ([int $storeId = null], [int $productIds = null])
  • int $storeId: Store View Id
  • int $productIds: | array $productId Product Entity Id
resetSearchResults (line 89)

Reset search results cache

  • access: public
Mage_CatalogSearch_Model_Fulltext resetSearchResults ()
updateCategoryIndex (line 132)

Update category'es products indexes

  • access: public
Mage_CatalogSearch_Model_Fulltext updateCategoryIndex (array $productIds, array $categoryIds)
  • array $productIds
  • array $categoryIds
_construct (line 41)
  • access: protected
void _construct ()

Inherited Methods

Inherited From Mage_Core_Model_Abstract

Mage_Core_Model_Abstract::afterCommitCallback()
Mage_Core_Model_Abstract::afterLoad()
Mage_Core_Model_Abstract::cleanModelCache()
Mage_Core_Model_Abstract::clearInstance()
Mage_Core_Model_Abstract::delete()
Mage_Core_Model_Abstract::getCacheIdTags()
Mage_Core_Model_Abstract::getCacheTags()
Mage_Core_Model_Abstract::getCollection()
Mage_Core_Model_Abstract::getEntityId()
Mage_Core_Model_Abstract::getId()
Mage_Core_Model_Abstract::getIdFieldName()
Mage_Core_Model_Abstract::getResource()
Mage_Core_Model_Abstract::getResourceCollection()
Mage_Core_Model_Abstract::getResourceName()
Mage_Core_Model_Abstract::isObjectNew()
Mage_Core_Model_Abstract::load()
Mage_Core_Model_Abstract::save()
Mage_Core_Model_Abstract::setId()
Mage_Core_Model_Abstract::_afterDelete()
Mage_Core_Model_Abstract::_afterDeleteCommit()
Mage_Core_Model_Abstract::_afterLoad()
Mage_Core_Model_Abstract::_afterSave()
Mage_Core_Model_Abstract::_afterSaveCommit()
Mage_Core_Model_Abstract::_beforeDelete()
Mage_Core_Model_Abstract::_beforeLoad()
Mage_Core_Model_Abstract::_beforeSave()
Mage_Core_Model_Abstract::_clearData()
Mage_Core_Model_Abstract::_clearReferences()
Mage_Core_Model_Abstract::_getEventData()
Mage_Core_Model_Abstract::_getResource()
Mage_Core_Model_Abstract::_hasModelChanged()
Mage_Core_Model_Abstract::_init()
Mage_Core_Model_Abstract::_protectFromNonAdmin()
Mage_Core_Model_Abstract::_setResourceModel()
Class Constants
SEARCH_TYPE_COMBINE = 3 (line 38)
SEARCH_TYPE_FULLTEXT = 2 (line 37)
SEARCH_TYPE_LIKE = 1 (line 36)
XML_PATH_CATALOG_SEARCH_TYPE = 'catalog/search/search_type' (line 39)

Documentation generated on Fri, 11 Feb 2011 17:03:48 +0200 by phpDocumentor 1.4.3