hasSuggestion()
Some search modes return a suggested alternate term if there are no exact hits.
hasRewrittenQuery()
Some search modes will run an alternative query that it thinks gives a better result than the provide...
extractResults()
Extract all the results in the result set as array.
augmentResult(SearchResult $result)
Returns extra data for specific result and store it in SearchResult object.
getInterwikiResults( $type=self::SECONDARY_RESULTS)
Return a result set of hits on other (multiple) wikis associated with this one.
searchContainedSyntax()
Did the search contain search syntax? If so, Special:Search won't offer the user a link to a create a...
NOTE: this class is being refactored into an abstract base class.
getQueryAfterRewriteSnippet()
extractTitles()
Extract all the titles in the result set.
setAugmentedData( $name, $data)
Sets augmented data for result set.
A set of SearchEngine results.
const INLINE_RESULTS
Identifier for interwiki results that can be displayed even if no existing main wiki results exist.
getTotalHits()
Some search modes return a total hit count for the query in the entire article database.
hasInterwikiResults( $type=self::SECONDARY_RESULTS)
Check if there are results on other wikis.
const SECONDARY_RESULTS
Identifier for interwiki results that are displayed only together with existing main wiki results.