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

search for in the

SolrQuery::setTermsUpperBound> <SolrQuery::setTermsReturnRaw
[edit] Last updated: Fri, 24 May 2013

view this page in

SolrQuery::setTermsSort

(PECL solr >= 0.9.2)

SolrQuery::setTermsSortEspecifica cómo ordenar los términos devueltos

Descripción

public SolrQuery SolrQuery::setTermsSort ( int $sortType )

Si se usa SolrQuery::TERMS_SORT_COUNT, ordena los términos según la frecuencia del término (la mayor primero). Si se usa SolrQuery::TERMS_SORT_INDEX, devuelve los términos ordenados por índice

Parámetros

sortType

SolrQuery::TERMS_SORT_INDEX o SolrQuery::TERMS_SORT_COUNT

Valores devueltos

Devuelve el objeto SolrQuery actual, si se usó el valor de retorno.



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

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