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를 반환합니다.
There are no user contributed notes for this page.
