FinderIndexer::tokenizeToDB
Method to parse input, tokenize it, and then add it to the database.
Signature
protected function tokenizeToDB(mixed
$input,
integer
$context,
string
$lang,
string
$formatĀ )
Parameters
-
$input
- String or resource to use as input. A resource
-
$context
- The context of the input. See context constants.
-
$lang
- The language of the input.
-
$format
- The format of the input.
Returns
- integer
- The number of tokens extracted from the input.