SetMatchMode

SetMatchMode

DEPRECATED

Prototype: function SetMatchMode ( $mode )

Sets full-text query matching mode, as described in the section called “Matching modes”. Parameter must be a constant specifying one of the known modes.

WARNING: (PHP specific) you must not take the matching mode constant name in quotes, that syntax specifies a string and is incorrect:

$cl->SetMatchMode ( "SPH_MATCH_ANY" ); // INCORRECT! will not work as expected
$cl->SetMatchMode ( SPH_MATCH_ANY ); // correct, works OK
News
Downloads
Services
Community
Resources
About