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_Fulltext

Catalog advanced search model

Varien_Object
Extended by Mage_Core_Model_Abstract
Extended by Mage_CatalogSearch_Model_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/Fulltext.php
Methods summary
protected
# _construct( )
public Mage_CatalogSearch_Model_Fulltext
# rebuildIndex( integer|null $storeId = null, integer|array|null $productIds = null )

Regenerate all Stores index

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

Parameters

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

Returns

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

Delete index data

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

Parameters

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

Returns

Mage_CatalogSearch_Model_Fulltext
public Mage_CatalogSearch_Model_Fulltext
# resetSearchResults( )

Reset search results cache

Reset search results cache

Returns

Mage_CatalogSearch_Model_Fulltext
public Mage_CatalogSearch_Model_Fulltext
# prepareResult( Mage_CatalogSearch_Model_Query $query = null )

Prepare results for query

Prepare results for query

Parameters

$query
Mage_CatalogSearch_Model_Query
$query

Returns

Mage_CatalogSearch_Model_Fulltext
public integer
# getSearchType( integer $storeId = null )

Retrieve search type

Retrieve search type

Parameters

$storeId
integer
$storeId

Returns

integer
Methods inherited from Mage_Core_Model_Abstract
_afterDelete(), _afterDeleteCommit(), _afterLoad(), _afterSave(), _beforeDelete(), _beforeLoad(), _beforeSave(), _clearData(), _clearReferences(), _getEventData(), _getResource(), _hasModelChanged(), _init(), _protectFromNonAdmin(), _setResourceModel(), afterCommitCallback(), afterLoad(), cleanModelCache(), clearInstance(), delete(), getCacheIdTags(), getCacheTags(), getCollection(), getEntityId(), getId(), getIdFieldName(), getResource(), getResourceCollection(), getResourceName(), isObjectNew(), load(), save(), setId()
Constants summary
integer SEARCH_TYPE_LIKE 1
#
integer SEARCH_TYPE_FULLTEXT 2
#
integer SEARCH_TYPE_COMBINE 3
#
string XML_PATH_CATALOG_SEARCH_TYPE 'catalog/search/search_type'
#
Properties inherited from Mage_Core_Model_Abstract
$_cacheTag, $_dataSaveAllowed, $_eventObject, $_eventPrefix, $_isObjectNew, $_resource, $_resourceCollectionName, $_resourceName
Magento 1.7.0.2 API documentation generated by ApiGen 2.8.0