PHPマニュアル/PEARマニュアル | ユーザフォーラムで議論/質問 | マニュアル検索 | ハイライト | ハイライトオフ | ポータル | php spot

SphinxClient::setLimits - Set offset and limit of the result set | JavaScript入門&応用&リファレンスなら「JavaScriptist」

  

SphinxClient::setLimits

(PECL sphinx >= 0.1.0)

SphinxClient::setLimitsSet offset and limit of the result set

説明

public bool SphinxClient::setLimits ( int $offset , int $limit [, int $max_matches = 0 [, int $cutoff = 0 ]] )

Sets offset into server-side result set and amount of matches to return to client starting from that offset (limit). Can additionally control maximum server-side result set size for current query (max_matches) and the threshold amount of matches to stop searching at (cutoff).

パラメータ

offset

Result set offset.

limit

Amount of matches to return.

max_matches

Controls how much matches searchd will keep in RAM while searching.

cutoff

Used for advanced performance control. It tells searchd to forcibly stop search query once cutoff matches have been found and processed.

返り値

成功した場合に TRUE を、失敗した場合に FALSE を返します。


忘却曲線を使ってこの知識を確実に記憶に残す

フォーラムで「SphinxClient::setLimits - Set offset and limit of the result set」について話す
各種マニュアル: PHPマニュアル | PEARマニュアル | Smarty(英語)マニュアル | PHP-GTKマニュアル | SphinxClient::setLimits - Set offset and limit of the result set」をGoogle検索
copyright © 1997-2024 PHP ドキュメント作成グループ(ライセンス). provided by php spot. マニュアル: