SphinxClient::setIndexWeights

(PECL sphinx >= 0.1.0)

SphinxClient::setIndexWeightsSet 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를 반환합니다.

add a note add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top