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

search for in the

udm_hash32> <udm_get_res_field
Last updated: Fri, 13 Nov 2009

view this page in

udm_get_res_param

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

udm_get_res_parammnoGoSearch 結果パラメータを取得する

説明

string udm_get_res_param ( resource $res , int $param )

mnoGoSearch 結果パラメータを取得します。

パラメータ

res

res - udm_find() から返された結果 ID へのリンク。

param

param - パラメータ ID であり、次の値のどれかとなります。

  • UDM_PARAM_NUM_ROWS - カレントのページで見付かったリンクの数。 全ての検索ページでの最後のページでの UDM_PARAM_PAGE_SIZE、残りの リンクに等しい。
  • UDM_PARAM_FOUND - クエリにマッチする結果の合計の数。
  • UDM_PARAM_WORDINFO - 見付かった単語に関する情報。例えば、"a good book" に関するクエリは "a: stopword, good:5637, book: 120" を返します。
  • UDM_PARAM_SEARCHTIME - 秒単位の検索時間。
  • UDM_PARAM_FIRST_DOC - カレントのページに表示される最初の ドキュメントの数。
  • UDM_PARAM_LAST_DOC - カレントのページに表示される最後の ドキュメントの数。

返り値

udm_get_res_param() は成功時に結果パラメータを返します。 エラー時に FALSE を返します。



add a note add a note User Contributed Notes
udm_get_res_param
There are no user contributed notes for this page.

udm_hash32> <udm_get_res_field
Last updated: Fri, 13 Nov 2009
 
 
show source | credits | stats | sitemap | contact | advertising | mirror sites