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

search for in the

SphinxClient::setConnectTimeout> <SphinxClient::runQueries
Last updated: Fri, 14 Nov 2008

view this page in

SphinxClient::setArrayResult

(No version information available, might be only in CVS)

SphinxClient::setArrayResultChange the format of result set array

Описание

public bool SphinxClient::setArrayResult ( bool $array_result )

Controls the format of search results set arrays (whether matches should be returned as an array or a hash). If array_result is FALSE (default value), matches are returned as a hash with document IDs as keys, and other information (weight, attributes) as values. If array_result is TRUE, matches are eturned as a plain array with complete per-match information including document IDs.

Список параметров

array_result

Возвращаемые значения

Always returns TRUE.



add a note add a note User Contributed Notes
SphinxClient::setArrayResult
There are no user contributed notes for this page.

SphinxClient::setConnectTimeout> <SphinxClient::runQueries
Last updated: Fri, 14 Nov 2008
 
 
show source | credits | stats | sitemap | contact | advertising | mirror sites