Class fulltext_search
Class fulltext_search Used for fulltext index searching
- search_api implements search_api_interface
- fulltext_search
Package: SMF
Copyright: 2020 Simple Machines and individual contributors
License: BSD
Author: Simple Machines https://www.simplemachines.org
Located at Sources/SearchAPI-Fulltext.php
Copyright: 2020 Simple Machines and individual contributors
License: BSD
Author: Simple Machines https://www.simplemachines.org
Located at Sources/SearchAPI-Fulltext.php
public
|
|
public
boolean
|
#
supportsMethod( string $methodName, array $query_params = null )
Check whether the specific search operation can be performed by this API. The operations are the functions listed in the interface, if not supported they need not be declared |
protected
integer
|
|
public
integer
|
#
searchSort( string $a, string $b )
Callback function for usort used to sort the fulltext results. the order of sorting is: large words, small words, large words that are excluded from the search, small words that are excluded. |
public
|
#
prepareIndexes( string $word, array & $wordsSearch, array & $wordsExclude, boolean $isExcluded )
Callback while preparing indexes for searching |
public
mixed
|
isValid(),
postCreated(),
postModified(),
postRemoved(),
searchQuery(),
topicsMoved(),
topicsRemoved()
|
protected
array
|
$bannedWords
Which words are banned |
#
array()
|
protected
integer
|
$min_word_length
The minimum word length |
#
4
|
protected
array
|
$supported_databases
Which databases support this method? |
#
array('mysql', 'postgresql')
|
$is_supported,
$min_smf_version,
$version_compatible
|