SolrUtils::digestXmlResponse

(PECL solr >= 0.9.2) Parses an response XML string into a SolrObject public static SolrObject SolrUtils::digestXmlResponse ( string $xmlresponse [, int $parse_mode = 0 ] ) This method parses an response XML string from the Apache Solr server into a SolrObject. It throws a SolrException if there was an error. Parameters: xmlresponse The XML response string from the Sol

solr_get_version

(PECL solr >= 0.9.1) Returns the current version of the Apache Solr extension string solr_get_version ( void ) This function returns the current version of the extension as a string. Returns: It returns a string on success and FALSE on failure. Exception: This function throws no errors or exceptions. Examples: solr

udm_set_agent_param

(PHP 4 >= 4.0.5, PHP 5 <= 5.0.5, PECL mnogosearch >= 1.0.0) Set mnoGoSearch agent session parameters bool udm_set_agent_param ( resource $agent, int $var, string $val ) Defines mnoGoSearch session parameters. Parameters: agent A link to Agent, received after call to udm_alloc_agent(). var The following parameters and their valu

udm_load_ispell_data

(PHP 4 >= 4.0.5, PHP 5 <= 5.0.5, PECL mnogosearch >= 1.0.0) Load ispell data bool udm_load_ispell_data ( resource $agent, int $var, string $val1, string $val2, int $flag ) udm_load_ispell_data() loads ispell data. After using this function to free memory allocated for ispell data, please use udm_free_ispell_data(), even if you use UDM_ISPELL_TYPE_SERVER mode. Parameters: ag

udm_hash32

(PHP 4 >= 4.3.3, PHP 5 <= 5.0.5, PECL mnogosearch >= 1.0.0) Return Hash32 checksum of given string int udm_hash32 ( resource $agent, string $str ) udm_hash32() will take a string str and return a quite unique 32-bit hash number from it. Parameters: agent A link to Agent, received after call to udm_alloc_agent(). str The input s

udm_get_res_param

(PHP 4 >= 4.0.5, PHP 5 <= 5.0.5, PECL mnogosearch >= 1.0.0) Get mnoGoSearch result parameters string udm_get_res_param ( resource $res, int $param ) Gets the mnoGoSearch result parameters. Parameters: res res - a link to result identifier, received after call to udm_find(). param param - parameter identifier, may have the follo

udm_get_res_field

(PHP 4 >= 4.0.5, PHP 5 <= 5.0.5, PECL mnogosearch >= 1.0.0) Fetch a result field string udm_get_res_field ( resource $res, int $row, int $field ) Fetch a mnoGoSearch result field. Parameters: res res - a link to result identifier, received after call to udm_find(). row row - the number of the link on the current page. May have

udm_get_doc_count

(PHP 4 >= 4.0.5, PHP 5 <= 5.0.5, PECL mnogosearch >= 1.0.0) Get total number of documents in database int udm_get_doc_count ( resource $agent ) udm_get_doc_count() returns the number of documents in the database. Parameters: agent A link to Agent, received after call to udm_alloc_agent(). Returns: Returns the number of documents.

udm_free_res

(PHP 4 >= 4.0.5, PHP 5 <= 5.0.5, PECL mnogosearch >= 1.0.0) Free mnoGoSearch result bool udm_free_res ( resource $res ) Freeing up memory allocated for results. Parameters: res A link to a result identifier, received after call to udm_find(). Returns: Returns TRUE on success or FALSE on failure.

udm_free_ispell_data

(PHP 4 >= 4.0.5, PHP 5 <= 5.0.5, PECL mnogosearch >= 1.0.0) Free memory allocated for ispell data bool udm_free_ispell_data ( int $agent ) Frees the memory allocated for ispell data. Parameters: agent A link to Agent, received after call to udm_alloc_agent(). Returns: udm_free_ispell_data() always returns TRUE.