Class FinderIndexerDriverMysql

Description

Indexer class supporting MySQL(i) for the Finder indexer package.

The indexer class provides the core functionality of the Finder search engine. It is responsible for adding and updating the content links table; extracting and scoring tokens; and maintaining all referential information for the content.

Note: All exceptions thrown from within this class should be caught by the controller.

  • since: 3.0

Located in /administrator/components/com_finder/helpers/indexer/driver/mysql.php (line 29)

FinderIndexer
   |
   --FinderIndexerDriverMysql
Method Summary
 integer index (FinderIndexerResult $item, [string $format = 'html'])
Variables

Inherited Variables

Inherited from FinderIndexer

FinderIndexer::$profiler
FinderIndexer::$state
Methods
index (line 42)

Method to index a content item.

  • return: The ID of the record in the links table.
  • since: 3.0
  • throws: Exception on database error.
  • access: public
integer index (FinderIndexerResult $item, [string $format = 'html'])
  • FinderIndexerResult $item: The content item to index.
  • string $format: The format of the content. [optional]

Redefinition of:
FinderIndexer::index()
Method to index a content item.

Inherited Methods

Inherited From FinderIndexer

 FinderIndexer::addTokensToDB()
 FinderIndexer::getInstance()
 FinderIndexer::getSignature()
 FinderIndexer::getState()
 FinderIndexer::index()
 FinderIndexer::optimize()
 FinderIndexer::remove()
 FinderIndexer::resetState()
 FinderIndexer::setState()
 FinderIndexer::toggleTables()
 FinderIndexer::tokenizeToDB()
Class Constants

Documentation generated on Tue, 19 Nov 2013 15:09:06 +0100 by phpDocumentor 1.4.3