smf_db_create_word_search
Description
Creates the custom word index table
Syntax
void smf_db_create_word_search (string $size)
Parameter $size
Expected type: Enumerated String
Description: The desired size of the search index
Possible string values | |
Allowed values | Description |
'large' | Large-sized index (support for up to 4,294,967,295) [id_word is "int(10)"] |
'medium' | Medium-sized index (support for up to 1,677,215 words) [id_word is "mediumint"] |
'small' | Small-sized index (support for up to 65,535 words) [id_word is "smallint"] |
Notes
- Determines the size of the "id_word" column based on the given "size" parameter
- Creates the "{prefix}log_search_words" table
- Only called when creating a custom search index