note 54874 added to function.udm-set-agent-param

From: Date: Mon, 18 Jul 2005 18:27:16 +0000
Subject: note 54874 added to function.udm-set-agent-param
Groups: php.notes 
Request: Send a blank email to php-notes+get-92121@lists.php.net to get a copy of this message
One useful parameter not documented above is UDM_PARAM_SYNONYM. If you understand how this API works in general, you should be able to figure it out, but here goes anyway: <?php /* Make sure that PHP is able to find the file. Unlike mnogosearch's indexer and search.cgi, it doesn't know the directory of the installation. */ $synFile="/usr/local/mnogosearch/etc/synonym/english.syn"; udm_set_agent_param($agent, UDM_PARAM_SYNONYM, $synFile); ?> Piece of cake. For more about mnogosearch's handling of synonyms see http://www.mnogosearch.org/doc/msearch-fuzzy.html#synonyms ---- Manual Page -- http://www.php.net/manual/en/function.udm-set-agent-param.php Edit -- http://master.php.net/manage/user-notes.php?action=edit+54874 Delete: added to the manual -- http://master.php.net/manage/user-notes.php?action=delete+54874&report=yes&reason=added+to+the+manual Delete: bad code -- http://master.php.net/manage/user-notes.php?action=delete+54874&report=yes&reason=bad+code Delete: spam -- http://master.php.net/manage/user-notes.php?action=delete+54874&report=yes&reason=spam Delete: useless -- http://master.php.net/manage/user-notes.php?action=delete+54874&report=yes&reason=useless Delete: non-english -- http://master.php.net/manage/user-notes.php?action=delete+54874&report=yes&reason=non-english Delete: other reasons -- http://master.php.net/manage/user-notes.php?action=delete+54874&report=yes Reject -- http://master.php.net/manage/user-notes.php?action=reject+54874&report=yes Search -- http://master.php.net/manage/user-notes.php

« previous php.notes (#92121) next »