Overview

Packages

  • currencysymbol
  • MAbout
  • Mage
    • Admin
    • Adminhtml
    • AdminNotification
    • Api
    • Api2
    • Authorizenet
    • Backup
    • Bundle
    • Captcha
    • Catalog
    • CatalogIndex
    • CatalogInventory
    • CatalogRule
    • CatalogSearch
    • Centinel
    • Checkout
    • Cms
    • Compiler
    • Connect
    • Contacts
    • Core
    • Cron
    • CurrencySymbol
    • Customer
    • Dataflow
    • Directory
    • DirtectPost
    • Downloadable
    • Eav
    • GiftMessage
    • GoogleAnalytics
    • GoogleBase
    • GoogleCheckout
    • ImportExport
    • Index
    • Install
    • Log
    • Media
    • Newsletter
    • Oauth
    • Page
    • PageCache
    • Paygate
    • Payment
    • Paypal
    • PaypalUk
    • Persistent
    • Poll
    • ProductAlert
    • Rating
    • Reports
    • Review
    • Rss
    • Rule
    • Sales
    • SalesRule
    • Sedfriend
    • Sendfriend
    • Shipping
    • Sitemap
    • Tag
    • Tax
    • Usa
    • Weee
    • Widget
    • Wishlist
    • XmlConnect
  • None
  • Phoenix
    • Moneybookers
  • PHP
  • Zend
    • Date
    • Mime
    • XmlRpc

Classes

  • Mage_CatalogSearch_AdvancedController
  • Mage_CatalogSearch_AjaxController
  • Mage_CatalogSearch_Block_Advanced_Form
  • Mage_CatalogSearch_Block_Advanced_Result
  • Mage_CatalogSearch_Block_Autocomplete
  • Mage_CatalogSearch_Block_Layer
  • Mage_CatalogSearch_Block_Layer_Filter_Attribute
  • Mage_CatalogSearch_Block_Result
  • Mage_CatalogSearch_Block_Term
  • Mage_CatalogSearch_Helper_Data
  • Mage_CatalogSearch_Model_Advanced
  • Mage_CatalogSearch_Model_Fulltext
  • Mage_CatalogSearch_Model_Fulltext_Observer
  • Mage_CatalogSearch_Model_Indexer_Fulltext
  • Mage_CatalogSearch_Model_Layer
  • Mage_CatalogSearch_Model_Layer_Filter_Attribute
  • Mage_CatalogSearch_Model_Mysql4_Advanced
  • Mage_CatalogSearch_Model_Mysql4_Advanced_Collection
  • Mage_CatalogSearch_Model_Mysql4_Fulltext
  • Mage_CatalogSearch_Model_Mysql4_Fulltext_Collection
  • Mage_CatalogSearch_Model_Mysql4_Fulltext_Engine
  • Mage_CatalogSearch_Model_Mysql4_Indexer_Fulltext
  • Mage_CatalogSearch_Model_Mysql4_Query
  • Mage_CatalogSearch_Model_Mysql4_Query_Collection
  • Mage_CatalogSearch_Model_Mysql4_Search_Collection
  • Mage_CatalogSearch_Model_Query
  • Mage_CatalogSearch_Model_Resource_Advanced
  • Mage_CatalogSearch_Model_Resource_Advanced_Collection
  • Mage_CatalogSearch_Model_Resource_Fulltext
  • Mage_CatalogSearch_Model_Resource_Fulltext_Collection
  • Mage_CatalogSearch_Model_Resource_Fulltext_Engine
  • Mage_CatalogSearch_Model_Resource_Indexer_Fulltext
  • Mage_CatalogSearch_Model_Resource_Query
  • Mage_CatalogSearch_Model_Resource_Query_Collection
  • Mage_CatalogSearch_Model_Resource_Search_Collection
  • Mage_CatalogSearch_Model_Session
  • Mage_Catalogsearch_Model_System_Config_Backend_Sitemap
  • Mage_CatalogSearch_ResultController
  • Mage_CatalogSearch_TermController
  • Overview
  • Package
  • Class
  • Tree

Class Mage_CatalogSearch_Model_Resource_Fulltext

CatalogSearch Fulltext Index resource model

Mage_Core_Model_Resource_Abstract
Extended by Mage_Core_Model_Resource_Db_Abstract
Extended by Mage_CatalogSearch_Model_Resource_Fulltext

Direct known subclasses

Mage_CatalogSearch_Model_Mysql4_Fulltext
Package: Mage\CatalogSearch
Category: Mage
Copyright: Copyright (c) 2012 Magento Inc. (http://www.magentocommerce.com)
License: Open Software License (OSL 3.0)
Author: Magento Core Team <core@magentocommerce.com>
Located at code/core/Mage/CatalogSearch/Model/Resource/Fulltext.php
Methods summary
protected
# _construct( )

Init resource model

Init resource model

public string
# getSeparator( )

Return options separator

Return options separator

Returns

string
public Mage_CatalogSearch_Model_Resource_Fulltext
# rebuildIndex( integer|null $storeId = null, integer|array|null $productIds = null )

Regenerate search index for store(s)

Regenerate search index for store(s)

Parameters

$storeId
integer|null
$storeId
$productIds
integer|array|null
$productIds

Returns

Mage_CatalogSearch_Model_Resource_Fulltext
protected Mage_CatalogSearch_Model_Resource_Fulltext
# _rebuildStoreIndex( integer $storeId, integer|array $productIds = null )

Regenerate search index for specific store

Regenerate search index for specific store

Parameters

$storeId
integer
$storeId Store View Id
$productIds
integer|array
$productIds Product Entity Id

Returns

Mage_CatalogSearch_Model_Resource_Fulltext
protected array
# _getSearchableProducts( integer $storeId, array $staticFields, array|integer $productIds = null, integer $lastProductId = 0, integer $limit = 100 )

Retrieve searchable products per store

Retrieve searchable products per store

Parameters

$storeId
integer
$storeId
$staticFields
array
$staticFields
$productIds
array|integer
$productIds
$lastProductId
integer
$lastProductId
$limit
integer
$limit

Returns

array
public Mage_CatalogSearch_Model_Resource_Fulltext
# resetSearchResults( )

Reset search results

Reset search results

Returns

Mage_CatalogSearch_Model_Resource_Fulltext
public Mage_CatalogSearch_Model_Resource_Fulltext
# cleanIndex( integer $storeId = null, integer $productId = null )

Delete search index data for store

Delete search index data for store

Parameters

$storeId
integer
$storeId Store View Id
$productId
integer
$productId Product Entity Id

Returns

Mage_CatalogSearch_Model_Resource_Fulltext
public Mage_CatalogSearch_Model_Resource_Fulltext
# prepareResult( Mage_CatalogSearch_Model_Fulltext $object, string $queryText, Mage_CatalogSearch_Model_Query $query )

Prepare results for query

Prepare results for query

Parameters

$object
Mage_CatalogSearch_Model_Fulltext
$object
$queryText
string
$queryText
$query
Mage_CatalogSearch_Model_Query
$query

Returns

Mage_CatalogSearch_Model_Resource_Fulltext
public Mage_Eav_Model_Config
# getEavConfig( )

Retrieve EAV Config Singleton

Retrieve EAV Config Singleton

Returns

Mage_Eav_Model_Config
protected array
# _getSearchableAttributes( string $backendType = null )

Retrieve searchable attributes

Retrieve searchable attributes

Parameters

$backendType
string
$backendType

Returns

array
protected Mage_Eav_Model_Entity_Attribute
# _getSearchableAttribute( integer|string $attribute )

Retrieve searchable attribute by Id or code

Retrieve searchable attribute by Id or code

Parameters

$attribute
integer|string
$attribute

Returns

Mage_Eav_Model_Entity_Attribute
protected Zend_Db_Expr
# _unifyField( string $field, string $backendType = 'varchar' )

Returns expresion for field unification

Returns expresion for field unification

Parameters

$field
string
$field
$backendType
string
$backendType

Returns

Zend_Db_Expr
protected array
# _getProductAttributes( integer $storeId, array $productIds, array $attributeTypes )

Load product(s) attributes

Load product(s) attributes

Parameters

$storeId
integer
$storeId
$productIds
array
$productIds
$attributeTypes
array
$attributeTypes

Returns

array
protected Mage_Catalog_Model_Product_Type_Abstract
# _getProductTypeInstance( string $typeId )

Retrieve Product Type Instance

Retrieve Product Type Instance

Parameters

$typeId
string
$typeId

Returns

Mage_Catalog_Model_Product_Type_Abstract
protected array
# _getProductChildIds( integer $productId, string $typeId )

Return all product children ids

Return all product children ids

Parameters

$productId
integer
$productId Product Entity Id
$typeId
string
$typeId Super Product Link Type

Returns

array
protected Varien_Object
# _getProductEmulator( )

Retrieve Product Emulator (Varien Object)

Retrieve Product Emulator (Varien Object)

Returns

Varien_Object
protected string
# _prepareProductIndex( array $indexData, array $productData, integer $storeId )

Prepare Fulltext index value for product

Prepare Fulltext index value for product

Parameters

$indexData
array
$indexData
$productData
array
$productData
$storeId
integer
$storeId

Returns

string
protected mixed
# _getAttributeValue( integer $attributeId, mixed $value, integer $storeId )

Retrieve attribute source value for search

Retrieve attribute source value for search

Parameters

$attributeId
integer
$attributeId
$value
mixed
$value
$storeId
integer
$storeId

Returns

mixed
protected Mage_CatalogSearch_Model_Resource_Fulltext
# _saveProductIndex( integer $productId, integer $storeId, string $index )

Save Product index

Save Product index

Parameters

$productId
integer
$productId
$storeId
integer
$storeId
$index
string
$index

Returns

Mage_CatalogSearch_Model_Resource_Fulltext
protected Mage_CatalogSearch_Model_Resource_Fulltext
# _saveProductIndexes( integer $storeId, array $productIndexes )

Save Multiply Product indexes

Save Multiply Product indexes

Parameters

$storeId
integer
$storeId
$productIndexes
array
$productIndexes

Returns

Mage_CatalogSearch_Model_Resource_Fulltext
protected string
# _getStoreDate( integer $storeId, string $date = null )

Retrieve Date value for store

Retrieve Date value for store

Parameters

$storeId
integer
$storeId
$date
string
$date

Returns

string
public Mage_CatalogSearch_Model_Resource_Fulltext
# updateCategoryIndex( array $productIds, array $categoryIds )

Update category products indexes

Update category products indexes

deprecated after 1.6.2.0

Parameters

$productIds
array
$productIds
$categoryIds
array
$categoryIds

Returns

Mage_CatalogSearch_Model_Resource_Fulltext
Methods inherited from Mage_Core_Model_Resource_Db_Abstract
_afterDelete(), _afterLoad(), _afterSave(), _beforeDelete(), _beforeSave(), _checkUnique(), _getConnection(), _getLoadSelect(), _getReadAdapter(), _getWriteAdapter(), _init(), _initUniqueFields(), _prepareDataForSave(), _prepareValueForSave(), _serializeFields(), _setMainTable(), _setResource(), addUniqueField(), afterLoad(), delete(), getChecksum(), getIdFieldName(), getMainTable(), getReadConnection(), getTable(), getUniqueFields(), getValueTable(), hasDataChanged(), load(), resetUniqueField(), save(), unserializeFields()
Methods inherited from Mage_Core_Model_Resource_Abstract
__construct(), _prepareDataForTable(), _prepareTableValueForSave(), _serializeField(), _unserializeField(), addCommitCallback(), beginTransaction(), commit(), formatDate(), mktime(), rollBack()
Properties summary
protected array $_searchableAttributes null
#

Searchable attributes cache

Searchable attributes cache

protected string $_separator '|'
#

Index values separator

Index values separator

protected array $_dates array()
#

Array of Zend_Date objects per store

Array of Zend_Date objects per store

protected array $_productTypes array()
#

Product Type Instances cache

Product Type Instances cache

protected object $_engine null
#

Store search engine instance

Store search engine instance

Properties inherited from Mage_Core_Model_Resource_Db_Abstract
$_connections, $_fieldsForUpdate, $_idFieldName, $_isPkAutoIncrement, $_mainTable, $_mainTableFields, $_resourceModel, $_resourcePrefix, $_resources, $_serializableFields, $_tables, $_uniqueFields, $_useIsObjectNew
Properties inherited from Mage_Core_Model_Resource_Abstract
$_commitCallbacks
Magento 1.7.0.2 API documentation generated by ApiGen 2.8.0