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 418 of file SearchEngine.php.
SearchResultSet::free | ( | ) |
Frees the result set, if applicable.
@ access public
Reimplemented in MySQLSearchResultSet.
Definition at line 527 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 490 of file SearchEngine.php.
SearchResultSet::getInterwikiResults | ( | ) |
Return a result set of hits on other (multiple) wikis associated with this one.
Definition at line 499 of file SearchEngine.php.
Referenced by hasInterwikiResults().
SearchResultSet::getSuggestionQuery | ( | ) |
SearchResultSet::getSuggestionSnippet | ( | ) |
Definition at line 480 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.
Definition at line 455 of file SearchEngine.php.
SearchResultSet::hasInterwikiResults | ( | ) |
Check if there are results on other wikis.
Definition at line 508 of file SearchEngine.php.
References getInterwikiResults().
SearchResultSet::hasResults | ( | ) |
Return true if results are included in this result set.
Definition at line 440 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 466 of file SearchEngine.php.
SearchResultSet::next | ( | ) |
Fetches next search result, or false.
Reimplemented in IBM_DB2SearchResultSet, MySQLSearchResultSet, OracleSearchResultSet, and PostgresSearchResultSet.
Definition at line 519 of file SearchEngine.php.
SearchResultSet::numRows | ( | ) |
Reimplemented in IBM_DB2SearchResultSet, MySQLSearchResultSet, OracleSearchResultSet, and PostgresSearchResultSet.
Definition at line 431 of file SearchEngine.php.
SearchResultSet::termMatches | ( | ) |
Fetch an array of regular expression fragments for matching the search terms as parsed by this engine in a text extract.
Reimplemented in IBM_DB2SearchResultSet, MySQLSearchResultSet, OracleSearchResultSet, and PostgresSearchResultSet.
Definition at line 427 of file SearchEngine.php.