Unofficial SMF API Documentation

./Sources/DbSearch-mysql.php

db_search_init

function db_search_init(): void

Add the file functions to the $smcFunc array.

smf_db_search_support

function smf_db_search_support(string $search_type): bool

This function will tell you whether this database type supports this search type.

Type Parameter Description
string $search_type The search type.
function smf_db_create_word_search(string $size): void

Highly specific function, to create the custom word index table.

Type Parameter Description
string $size The size of the desired index.

Suggest an edit to this page on GitHub