setMaxQueryTime() public method

Set maximum query time, in milliseconds, per-index. 0 means "do not limit"
public setMaxQueryTime ( integer $max ) : SphinxClient
$max integer
return SphinxClient
Esempio n. 1
0
 public function testSetMaxQueryTime()
 {
     $sphinx = new SphinxClient();
     $sphinx->setMaxQueryTime(10);
     $this->assertSame($sphinx->maxquerytime, 10);
 }
 /**
  * {@inheritdoc}
  */
 public function setMaxQueryTime($max)
 {
     return $this->proxy->setMaxQueryTime($max);
 }