udm_get_res_param

(PHP 4 >= 4.0.5, PHP 5 < 5.1.0, PECL mnogosearch >= 1.0.0)

udm_get_res_paramGet mnoGoSearch result parameters

说明

udm_get_res_param ( resource $res , int $param ) : string

Gets the mnoGoSearch result parameters.

参数

res

res - a link to result identifier, received after call to udm_find().

param

param - parameter identifier, may have the following values:

  • UDM_PARAM_NUM_ROWS - number of received found links on the current page. It is equal to UDM_PARAM_PAGE_SIZE for all search pages, on the last page - the rest of links.
  • UDM_PARAM_FOUND - total number of results matching the query.
  • UDM_PARAM_WORDINFO - information on the words found. E.g. search for "a good book" will return "a: stopword, good:5637, book: 120"
  • UDM_PARAM_SEARCHTIME - search time in seconds.
  • UDM_PARAM_FIRST_DOC - the number of the first document displayed on current page.
  • UDM_PARAM_LAST_DOC - the number of the last document displayed on current page.

返回值

udm_get_res_param() returns result parameter value on success, FALSE on error.

相关文章
php cubrid 函数 get the column names in resultphp cubrid mysql 兼容性函数 fetch a result row as an associative array a numeric array or bothphp cubrid 函数 get result of next query when executing multiple sql statementsphp ibm db2 函数 returns a result set listing stored procedure parametersphp frontbase 函数 fetch a result row as an associative array a numeric array or bothphp frontbase 函数 set the lob retrieve mode for a frontbase result setphp kadm5 函数 modifies a kerberos principal with the given parametersphp ldap 函数 sort ldap result entries on the client sidephp maxdb 函数 gets the number of rows in a resultphp postgresql 函数 sends a request to execute a prepared statement with given parameters and waits for the resultphp postgresql 函数 submits a command to the server and waits for the result with the ability to pass parameters separately from the sql command textphp postgresql 函数 sends a request to execute a prepared statement with given parameters without waiting for the result s php postgresql 函数 submits a command and separate parameters to the server without waiting for the result s php stream 函数 retrieves parameters from a contextphp sybase 函数 gets the number of fields in a result setphp mnogosearch 函数 free mnogosearch resultphp mnogosearch 函数 get total number of documents in databasephp mnogosearch 函数 fetch a result fieldphp mnogosearch 函数 get mnogosearch result parametersphp mnogosearch 函数 set mnogosearch agent session parameters
关注编程学问公众号