Interface search_api_interface
Interface search_api_interface
Direct known implementers
search_api
Package: SMF
Copyright: 2020 Simple Machines and individual contributors
License: BSD
Author: Simple Machines https://www.simplemachines.org
Located at Sources/Class-SearchAPI.php
Copyright: 2020 Simple Machines and individual contributors
License: BSD
Author: Simple Machines https://www.simplemachines.org
Located at Sources/Class-SearchAPI.php
public
boolean
|
#
supportsMethod( string $methodName, array $query_params = array() )
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 |
public
boolean
|
|
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
|
|
public
|
#
postCreated( array & $msgOptions, array & $topicOptions, array & $posterOptions )
Callback when a post is created |
public
|
#
postModified( array & $msgOptions, array & $topicOptions, array & $posterOptions )
Callback when a post is modified |
public
|
|
public
|
|
public
|
|
public
mixed
|
#
searchQuery( array $query_params, array $searchWords, array $excludedIndexWords, array & $participants, array & $searchArray )
Callback for actually performing the search query |