| ユーザフォーラムで議論/質問 | マニュアル検索 | ハイライト | ハイライトオフ | ポータル | php spot |
SphinxClient::setFieldWeights(PECL sphinx >= 0.1.0) SphinxClient::setFieldWeights — Set field weights 説明
public bool SphinxClient::setFieldWeights
( array
$weights
)Binds per-field weights by name. Match ranking can be affected by per-field weights. See » Sphinx documentation for an explanation on how phrase proximity ranking is affected. This call lets you specify non-default weights for full-text fields. The weights must be positive 32-bit integers, so be careful not to hit 32-bit integer maximum. The final weight is a 32-bit integer too. Default weight value is 1. Unknown field names are silently ignored. パラメータ
返り値
成功した場合に |
各種マニュアル:
PHPマニュアル |
PEARマニュアル |
Smarty(英語)マニュアル |
PHP-GTKマニュアル |
「SphinxClient::setFieldWeights - Set field weights」をGoogle検索
|