downloads | documentation | faq | getting help | mailing lists | licenses | wiki | reporting bugs | php.net sites | conferences | my php.net

search for in the

SolrQuery::addStatsFacet> <SolrQuery::addMltQueryField
[edit] Last updated: Thu, 23 May 2013

view this page in

SolrQuery::addSortField

(PECL solr >= 0.9.2)

SolrQuery::addSortFieldUtilisé pour contrôler le tri du résultat

Description

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

Utilisé pour contrôler le tri du résultat.

Liste de paramètres

field

Le nom du champ

order

La direction du tri. Doit être soit SolrQuery::ORDER_ASC, soit SolrQuery::ORDER_DESC.

Valeurs de retour

Retourne l'objet SolrQuery courant.



add a note add a note User Contributed Notes SolrQuery::addSortField - [0 notes]
There are no user contributed notes for this page.

 
show source | credits | sitemap | contact | advertising | mirror sites