16 parent::__construct(
false,
false );
22 return count( $this->results );
26 return isset( $this->interwikiResults[
$type] ) &&
35 if ( is_callable( $result ) ) {
45 return $this->interwikiResults[
$type];
extractResults()
Extract all the results in the result set as array.
__construct(array $results, array $interwikiResults=[])
getInterwikiResults( $type=self::SECONDARY_RESULTS)
Return a result set of hits on other (multiple) wikis associated with this one.
hasInterwikiResults( $type=self::SECONDARY_RESULTS)
Check if there are results on other wikis.
SearchResult[] $results
Cache of results - serialization of the result iterator as an array.
namespace being checked & $result
The wiki should then use memcached to cache various data To use multiple just add more items to the array To increase the weight of a make its entry a array("192.168.0.1:11211", 2))