fulltext_search::prepareIndexes
Description
Prepares words for indexing, if necessary
Syntax
void fulltext_search::prepareIndexes (string $word, array &$wordsSearch, array &$wordsExclude, bool $isExcluded)
Parameter $word
Expected type: String
Description: A word or phrase
Parameter &$wordsSearch
Expected type: Array
Description: An array of words to be indexed
Parameter &$wordsExclude
Expected type: Array
Description: Words that we don't want to search/index
Parameter $isExcluded
Expected type: Boolean
Description: Whether or not this word should be excluded
Notes
- Uses text2words() to split words into "subwords"
- Does not split up excluded phrases