Bind per-index weights by name
public setIndexWeights ( array $weights ) : |
||
$weights | array | |
return |
public function testSetIndexWeights() { $sphinx = new SphinxClient(); $sphinx->setIndexWeights(array('index1' => 20, 'index2' => 5)); $this->assertSame($sphinx->indexweights, array('index1' => 20, 'index2' => 5)); }
/** * {@inheritdoc} */ public function setIndexWeights(array $weights) { return $this->proxy->setIndexWeights($weights); }