MediaWiki
1.23.2
|
Public Member Functions | |
free () | |
Frees the result set, if applicable. More... | |
getInterwikiResults () | |
Return a result set of hits on other (multiple) wikis associated with this one. More... | |
getSuggestionQuery () | |
getSuggestionSnippet () | |
getTotalHits () | |
Some search modes return a total hit count for the query in the entire article database. More... | |
hasInterwikiResults () | |
Check if there are results on other wikis. More... | |
hasResults () | |
Return true if results are included in this result set. More... | |
hasSuggestion () | |
Some search modes return a suggested alternate term if there are no exact hits. More... | |
next () | |
Fetches next search result, or false. More... | |
numRows () | |
searchContainedSyntax () | |
Did the search contain search syntax? If so, Special:Search won't offer the user a link to a create a page named by the search string because the name would contain the search syntax. More... | |
termMatches () | |
Fetch an array of regular expression fragments for matching the search terms as parsed by this engine in a text extract. More... | |
Definition at line 27 of file SearchResultSet.php.
SearchResultSet::free | ( | ) |
Frees the result set, if applicable.
Reimplemented in SqlSearchResultSet.
Definition at line 122 of file SearchResultSet.php.
SearchResultSet::getInterwikiResults | ( | ) |
Return a result set of hits on other (multiple) wikis associated with this one.
Definition at line 96 of file SearchResultSet.php.
Referenced by hasInterwikiResults().
SearchResultSet::getSuggestionQuery | ( | ) |
Definition at line 80 of file SearchResultSet.php.
SearchResultSet::getSuggestionSnippet | ( | ) |
Definition at line 87 of file SearchResultSet.php.
SearchResultSet::getTotalHits | ( | ) |
Some search modes return a total hit count for the query in the entire article database.
This may include pages in namespaces that would not be matched on the given settings.
Return null if no total hits number is supported.
Reimplemented in MySQLSearchResultSet, and SqliteSearchResultSet.
Definition at line 63 of file SearchResultSet.php.
SearchResultSet::hasInterwikiResults | ( | ) |
Check if there are results on other wikis.
Definition at line 105 of file SearchResultSet.php.
References getInterwikiResults().
SearchResultSet::hasResults | ( | ) |
Return true if results are included in this result set.
STUB
Definition at line 49 of file SearchResultSet.php.
Referenced by SearchNearMatchResultSet\numRows().
SearchResultSet::hasSuggestion | ( | ) |
Some search modes return a suggested alternate term if there are no exact hits.
Returns true if there is one on this set.
Definition at line 73 of file SearchResultSet.php.
SearchResultSet::next | ( | ) |
Fetches next search result, or false.
STUB
Reimplemented in PostgresSearchResultSet, MssqlSearchResultSet, SearchNearMatchResultSet, and SqlSearchResultSet.
Definition at line 115 of file SearchResultSet.php.
SearchResultSet::numRows | ( | ) |
Reimplemented in MssqlSearchResultSet, SearchNearMatchResultSet, and SqlSearchResultSet.
Definition at line 39 of file SearchResultSet.php.
SearchResultSet::searchContainedSyntax | ( | ) |
Did the search contain search syntax? If so, Special:Search won't offer the user a link to a create a page named by the search string because the name would contain the search syntax.
Definition at line 131 of file SearchResultSet.php.
SearchResultSet::termMatches | ( | ) |
Fetch an array of regular expression fragments for matching the search terms as parsed by this engine in a text extract.
STUB
Reimplemented in MssqlSearchResultSet, and SqlSearchResultSet.
Definition at line 35 of file SearchResultSet.php.
References array().