SphinxClient::setIDRange
SphinxClient::setLimits
SphinxClient
PHP Manual

# SphinxClient::setIndexWeights

(PECL sphinx >= 0.1.0)

SphinxClient::setIndexWeights — Set per-index weights

### 설명

public bool SphinxClient::setIndexWeights ( array `$weights` )

Sets per-index weights and enables weighted summing of match weights across different indexes.

### 인수

`weights`

  An associative array mapping string index names to integer weights. Default is empty array, i.e. weighting summing is disabled.

### 반환값

성공할 경우 `TRUE`를, 실패할 경우 `FALSE`를 반환합니다.

SphinxClient::setIDRange
SphinxClient::setLimits
SphinxClient
PHP Manual