FinderIndexer::index
Method to index a content item.
Signature
public function index(FinderIndexerResult
$item,
[string
$format = 'html'] )
Parameters
-
$item
- The content item to index.
-
$format
- The format of the content. [optional]
Returns
- integer
- The ID of the record in the links table.
Errors/Exceptions
-
Exception
- on database error.