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

SolrQuery::addSortField - Used to control how the results should be sorted | JavaScript入門&応用&リファレンスなら「JavaScriptist」

  

SolrQuery::addSortField

(PECL solr >= 0.9.2)

SolrQuery::addSortFieldUsed to control how the results should be sorted

説明

public SolrQuery SolrQuery::addSortField ( string $field [, int $order = SolrQuery::ORDER_DESC ] )

Used to control how the results should be sorted.

パラメータ

field

The name of the field

order

The sort direction. This should be either SolrQuery::ORDER_ASC or SolrQuery::ORDER_DESC.

返り値

Returns the current SolrQuery object.


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

フォーラムで「SolrQuery::addSortField - Used to control how the results should be sorted」について話す
各種マニュアル: PHPマニュアル | PEARマニュアル | Smarty(英語)マニュアル | PHP-GTKマニュアル | SolrQuery::addSortField - Used to control how the results should be sorted」をGoogle検索
copyright © 1997-2024 PHP ドキュメント作成グループ(ライセンス). provided by php spot. マニュアル: