-
FAQ
- Forum Search
- Community
- Online Manual
- Support Helpers of the Month
- Function Database
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
Advertisement:- Help | Terms and Rules | Go Up ▲
- Copyright © 2022 Simple Machines. All Rights Reserved.
- Page created in 0.015 seconds with 13 queries.
- Forum Search