array_map( static function ( $host ) { return [ 'transport' => CirrusSearch\Elastica\DeprecationLoggedHttps::class, 'port' => '9243', 'host' => $host, ]; }, $wmgAllServices['eqiad']['search-chi'] ), ]; // wgCirrusSearchShardCount is still handled through wmg vars for no good reasons $wgCirrusSearchShardCount = $wmgCirrusSearchShardCount;