Public Member Functions | |
termMatches () | |
Fetch an array of regular expression fragments for matching the search terms as parsed by this engine in a text extract. | |
numRows () | |
hasResults () | |
Return true if results are included in this result set. | |
getTotalHits () | |
Some search modes return a total hit count for the query in the entire article database. | |
hasSuggestion () | |
Some search modes return a suggested alternate term if there are no exact hits. | |
getSuggestionQuery () | |
getSuggestionSnippet () | |
getInfo () | |
Return information about how and from where the results were fetched, should be useful for diagnostics and debugging. | |
getInterwikiResults () | |
Return a result set of hits on other (multiple) wikis associated with this one. | |
hasInterwikiResults () | |
Check if there are results on other wikis. | |
next () | |
Fetches next search result, or false. | |
free () | |
Frees the result set, if applicable. |
Definition at line 436 of file SearchEngine.php.
SearchResultSet::free | ( | ) |
Frees the result set, if applicable.
Reimplemented in SqlSearchResultSet.
Definition at line 542 of file SearchEngine.php.
SearchResultSet::getInfo | ( | ) |
Return information about how and from where the results were fetched, should be useful for diagnostics and debugging.
Definition at line 506 of file SearchEngine.php.
SearchResultSet::getInterwikiResults | ( | ) |
Return a result set of hits on other (multiple) wikis associated with this one.
Definition at line 515 of file SearchEngine.php.
Referenced by hasInterwikiResults().
SearchResultSet::getSuggestionQuery | ( | ) |
SearchResultSet::getSuggestionSnippet | ( | ) |
Definition at line 496 of file SearchEngine.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 472 of file SearchEngine.php.
SearchResultSet::hasInterwikiResults | ( | ) |
Check if there are results on other wikis.
Definition at line 524 of file SearchEngine.php.
References getInterwikiResults().
SearchResultSet::hasResults | ( | ) |
Return true if results are included in this result set.
STUB
Definition at line 458 of file SearchEngine.php.
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 482 of file SearchEngine.php.
SearchResultSet::next | ( | ) |
Fetches next search result, or false.
STUB
Reimplemented in SqlSearchResultSet, and PostgresSearchResultSet.
Definition at line 535 of file SearchEngine.php.
SearchResultSet::numRows | ( | ) |
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 SqlSearchResultSet.
Definition at line 444 of file SearchEngine.php.