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

search for in the

SphinxClient::setLimits> <SphinxClient::setIDRange
[edit] Last updated: Fri, 24 May 2013

view this page in

SphinxClient::setIndexWeights

(PECL sphinx >= 0.1.0)

SphinxClient::setIndexWeightsConfigure les poids de chaque index

Description

public bool SphinxClient::setIndexWeights ( array $weights )

Configure les poids de chaque index, et active ces poids pour calculer la pertinence à travers les index.

Liste de paramètres

weights

Un tableau associatif avec les noms des index comme clé, et les poids comme valeur. Par défaut, un tableau vide correspond à la désactivation des poids d'index.

Valeurs de retour

Cette fonction retourne TRUE en cas de succès ou FALSE si une erreur survient.



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

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