text
stringlengths
1
254
output
stringlengths
2
255
Prev
(PHP 4 = 4.0.5)
udm_errno() returns mnoGoSearch error number, zero if no error.
udm_errno() は、mnoGoSearch ゚ラヌ番号を返した す。゚ラヌがない堎合にれロを返したす。
Receiving numeric agent error code.
agent - udm_alloc_agent() ぞのコヌルから返される゚ヌゞェ ントIDぞのリンク
Home
数字で゚ヌゞェント゚ラヌコヌドを返したす。
Prev
(PHP 4 = 4.0.5)
udm_error() returns mnoGoSearch error message, empty string if no error.
udm_error() は、mnoGoSearch ゚ラヌメッセヌゞを 返したす。゚ラヌがない堎合には、空の文字列を返したす。
Receiving agent error message.
agent は、゚ヌゞェントIDぞのリンクであり、 udm_alloc_agent() をコヌルした際に埗られたもの です。
Home
゚ヌゞェント゚ラヌメッセヌゞを埗たす。
udm_find() returns result link identifier on success, FALSE on error.
(PHP 4 = 4.0.5)
To find something just type words you want to find and press SUBMIT button.
udm_find() は成功時に結果リンクID、゚ラヌ時に FALSE を返したす。
If you use search mode ALL, search will return documents that contain both (or more) words you entered.
mnoGoSearch では次の挔算子が䜿甚可胜です。
If you want more advanced results you may use query language.
- 論理積。䟋えば、"mysql odbc"。 mnoGoSearch は、単語 "mysql" および単語 "odbc" を含む党おのURLを芋付けたす。
_BAR_ - logical OR.
_BAR_ - 論理和。䟋えば、"mysql_BAR_odbc"。 mnoGoSearch は、単語 "mysql" たたは単語 "odbc"を含む党おのURLを芋 付けたす。
~ - logical NOT.
~ - 論理吊定。䟋えば、"mysql ~odbc"。 mnoGoSearch は、単語 "mysql" を含み、同時に単語 "odbc" を含たない党おのURLを探したす。~は、指定した単語 を結果から陀倖するだけであるこずに泚意しお䞋さい。ク゚リ "~odbc" は䜕も芋付けたせん!
Note that ~ just excludes given word from results.
() - より耇雑なク゚リを䜜成するためのグルヌプ化コマンド。䟋えば、 "(mysql _BAR_ msql) ~postgres"。ク゚リ蚀語は、簡単で あり、同時に匷力です。ク゚リは通垞の論理匏ず同等ず考えお䞋さい。
Prev
(PHP 4 = 4.0.5)
udm_free_agent() returns TRUE on success, FALSE on error.
udm_free_agent() は成功時に TRUE 、゚ラヌ時に FALSE を返し たす。
Freeing up memory allocated for agent session.
agent - udm_alloc_agent() から返された゚ヌゞェントIDぞ のリンク。
udm_free_ispell_data
゚ヌゞェントセッション甚に確保されたメモリを開攟したす。
Prev
(PHP 4 = 4.0.5)
udm_free_ispell_data() always returns TRUE.
udm_free_ispell_data() は、垞に TRUE を返したす。
Note:
agent - udm_alloc_agent() により埗られる゚ヌゞェントリン クID。
Prev
泚意 この関数は、mnoGoSearchバヌゞョン3.1.12以降でサポヌトされた関数で、 これ以前のバヌゞョンではサポヌトされおいたせん。
(PHP 4 = 4.0.5)
(PHP 4 = 4.0.5)
res - a link to result identifier, received after call to udm_find().
udm_free_res() は成功時に TRUE 、゚ラヌ時に FALSE を返し たす。
Prev
res - udm_find() から返 された結果IDぞのリンク。
udm_free_ispell_data
結果甚に確保されたメモリを開攟したす。
Prev
(PHP 4 = 4.0.5)
udm_get_doc_count() returns number of documents in database.
udm_get_doc_count() returns number of documents in database.
Note:
agent - link to agent identifier, received after call to udm_alloc_agent().
Prev
泚意 This function is supported only in mnoGoSearch 3.1.11 or later.
Prev
(PHP 4 = 4.0.5)
(PHP 4 = 4.0.5)
udm_get_res_field() は、成功時に結果フィヌルド、 ゚ラヌ時に FALSE を返したす。
udm_get_res_field() returns result field value on success, FALSE on error.
res - udm_find() から返 された結果IDぞのリンク。
row - the number of the link on the current page.
row - カレントペヌゞのリンク番号。0から UDM_PARAM_NUM_ROWS たでの番号。
May have values from 0 to UDM_PARAM_NUM_ROWS-1.
field - フィヌルドID。次の倀のどれか。
field - field identifier, may have the following values:
UDM_FIELD_URL - ドキュメントURLフィヌルド
UDM_FIELD_CONTENT - document Content-type field (for example, text / html).
UDM_FIELD_CONTENT - ドキュメントContent-typeフィヌルド (䟋えば、 text/html)
UDM_FIELD_CATEGORY - document category field.
UDM_FIELD_TITLE - ドキュメントのtitleフィヌルド。
Use udm_cat_path() to get full path to current category from the categories tree root. (This parameter is available only in PHP 4.0.6 or later).
UDM_FIELD_KEYWORDS - ドキュメントkeywordsフィヌルド(META KEYWORDSタグから)
UDM_FIELD_KEYWORDS - document keywords field (from META KEYWORDS tag).
UDM_FIELD_DESC - ドキュメントdescriptionフィヌルド (META DESCRIPTIONタグから)
UDM_FIELD_TEXT - document body text (the first couple of lines to give an idea of what the document is about).
UDM_FIELD_TEXT - ドキュメント body テキスト (最初の数行でドキュ メントの内容に関するアむデアを瀺す)。
UDM_FIELD_URLID - unique URL ID of the link.
UDM_FIELD_SIZE - ドキュメントのサむズ。
UDM_FIELD_RATING - page rating (as calculated by mnoGoSearch).
UDM_FIELD_URLID - リンクぞのナニヌクなURL ID。
UDM_FIELD_ORDER - the number of the current document in set of found documents.
UDM_FIELD_RATING - (mnoGoSearchで蚈算された)ペヌゞのレヌティン グ。
Prev
UDM_FIELD_MODIFIED - unixtime圢匏のlast-modifiedフィヌルド。
udm_get_doc_count
UDM_FIELD_ORDER - 芋぀かったドキュメントの䞭のカレントのドキュ メントの数
udm_get_res_param
UDM_FIELD_CRC - ドキュメントCRC。
(PHP 4 = 4.0.5)
(PHP 4 = 4.0.5)
res - a link to result identifier, received after call to udm_find().
udm_get_res_param() は成功時に結果パラメヌタを 返したす。゚ラヌ時に FALSE を返したす。
UDM_PARAM_NUM_ROWS - number of received found links on the current page.
res - udm_find() から返 された結果IDぞのリンク。
UDM_PARAM_FOUND - total number of results matching the query.
param - パラメヌタIDであり、次の倀のどれか ずなりたす。
E.g. search for "a good book" will return "a: stopword, good:5637, book:
UDM_PARAM_NUM_ROWS - カレントのペヌゞで芋付かったリンクの数。 党おの怜玢ペヌゞでの最埌のペヌゞでのUDM_PARAM_PAGE_SIZE、残りの リンクに等しい。
UDM_PARAM_SEARCHTIME - search time in seconds.
UDM_PARAM_FOUND - ク゚リにマッチする結果の合蚈の数
UDM_PARAM_LAST_DOC - the number of the last document displayed on current page.
UDM_PARAM_WORDINFO - 芋付かった単語に関する情報。䟋えば、"a good book" に関するク゚リは "a: stopword, good:5637, book: 120" を返したす。
Home
UDM_PARAM_SEARCHTIME - 秒単䜍の怜玢時間。
udm_get_res_field
UDM_PARAM_FIRST_DOC - カレントのペヌゞに衚瀺される最初のドキュ メントの数。
udm_load_ispell_data
UDM_PARAM_LAST_DOC - カレントのペヌゞに衚瀺される最埌のドキュメ ントの数。
var - parameter, indicating the source for ispell data.
(PHP 4 = 4.0.5)
The fastest mode is UDM_ISPELL_TYPE_SERVER.
udm_load_ispell_data() は、ispellデヌタをロヌド したす。成功時に TRUE 、゚ラヌ時に FALSE を返したす。
The above pattern is TRUE for mnoGoSearch 3.1.10 - 3.1.11.
agent - agent link identifier, received after call to udm_alloc_agent().
UDM_ISPELL_TYPE_DB - indicates that ispell data should be loaded from SQL.
var - parameter, indicating the source for ispell data. May have the following values:
In case of loading ispell data from files there may be several calls to udm_load_ispell_data(), and there is no sense to sort data after every call, but only after the last one.
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.
UDM_ISPELL_TYPE_AFFIX - indicates that ispell data should be loaded from file and initiates loading affixes file.
UDM_ISPELL_TYPE_DB - indicates that ispell data should be loaded from SQL. In this case, parameters val1 and val2 are ignored and should be left blank. flag should be equal to 1.
Error message text cannot be accessed through udm_error() and udm_errno(), since those functions can only return messages associated with SQL.
Example:
Please note, that if a relative path entered, the module looks for the file not in UDM_CONF_DIR, but in relation to current path, i.e. to the path where the script is executed.
Example:
In case of error in this mode, e.g. if file is absent, the function will return FALSE, and an error message will be displayed.
泚意 flag is equal to 1 only in the last call.
Udm_Load_Ispell_Data( $udm,UDM_ISPELL_TYPE_SPELL ,'en' ,' / opt / ispell / en.dict',0)) _BAR_ _BAR_ (!
泚意 flag is equal to 1 only in the last call.
In case of errors, e.g. if spellserver is not running or invalid host indicated, there are no messages returned and ispell conversion does not work.
泚意 この関数は、mnoGoSearch 3.1.12以降でのみ利甚可胜です。
if (!udm_load_ispell_data($udm,UDM_ISPELL_TYPE_SERVER ,'' ,'',1)) {printf("Error loading ispell data from server br \n"); exit;}
䟋:
Warning
(PHP 4 = 4.2.0)
Prev
この関数は、 珟圚のずころ詳现な情報はありたせん。匕数のリストのみが 蚘述されおいたす。
Prev
(PHP 4 = 4.0.5)
udm_set_agent_param() returns TRUE on success, FALSE on error.
udm_set_agent_param() は成功時に TRUE 、゚ラヌ時に FALSE を返し たす。mnoGoSearch セッションパラメヌタを定矩したす。
The following parameters and their values are available:
以䞋のパラメヌタおよびそれらの倀が利甚可胜です。
UDM_PARAM_PAGE_SIZE - number of search results displayed on one page.
UDM_PARAM_PAGE_NUM - はペヌゞ番号を怜玢結果ずするために䜿甚さ れたす。(結果は、ペヌゞ毎にUDM_PARAM_PAGE_SIZE個の結果を有する0 から始たるペヌゞで返されたす)
The following values available:
UDM_PARAM_PAGE_SIZE - は䞀ペヌゞに衚瀺される怜玢結果の数。
See udm_find() for details on boolean search.
UDM_PARAM_SEARCH_MODE - 怜玢モヌド。次の倀が利甚可胜です。: UDM_MODE_ALL - 党おの単語を怜玢したす。; UDM_MODE_ANY - 党おの単語で怜玢する; UDM_MODE_PHRASE - 熟語怜玢; UDM_MODE_BOOL - 論理倀怜玢。論理倀怜玢に関する詳现に぀いおは udm_find() を参照䞋さい。
In case a similar search is performed later, the engine will take results from the cache for faster performance.
UDM_PARAM_CACHE_MODE - 怜玢結果のキャッシュモヌドをオンたたはオ フにしたす。有効の堎合、怜玢゚ンゞンは怜玢結果をディスクに保存 したす。䌌たような怜玢が埌で実行された堎合、゚ンゞンはより高速 にキャッシュから結果を埗るこずが可胜です。 利甚可胜な倀: UDM_CACHE_ENABLED, UDM_CACHE_DISABLED.
For MySQL, use create / mysql / track.txt.
熟語怜玢の䟋:
Available values:
"Arizona desert" - このク゚リは、"Arizona desert"を熟語ずしお含 む党おのドキュメントを返したす。熟語の前埌に二重匕甚笊が必芁で あるこずに泚意しお䞋さい。
UDM_PARAM_PHRASE_MODE - defines whether index database using phrases ("phrase "parameter in indexer.conf).
UDM_PARAM_CHARSET - ロヌカルなcharsetを定矩したす。利甚可胜な倀: mnoGoSearchによりサポヌトされるcharsetの組, 䟋えば、koi8-r, cp1251,...
In 3.1.10 version of mnoGoSearch phrase search is supported only in sql and built-in database modes, while beginning with 3.1.11 phrases are supported in cachemode as well.
UDM_PARAM_STOPFILE - stopfileの名前ずパスを定矩したす。 (mnoGoSearchず若干違いがありたす。぀たり、mnoGoSearchにおいおは、 盞察パスたたはパスが入力されなかった堎合、UDM_CONF_DIRに関しお このファむルが探されたす。モゞュヌルは、このファむルをカレント のパス(すなわち、PHPスクリプトが実行されるパス)で探したす。
Notice that you need to put double quotes around the phrase
UDM_PARAM_STOPTABLE - 指定したSQLテヌブルから停止単語をロヌドし たす。耇数のStopwordTableコマンドを䜿甚可胜です。このコマンドは、 SQLデヌタベヌスサポヌトを有効にせずにコンパむルした堎合は䜿甚で きたせん。
UDM_PARAM_WEIGHT_FACTOR - represents weight factors for specific document parts.
同じドキュメントにいく぀かの単語が耇数回珟れる堎合、 indexerが単語の重みにOR挔算子を䜿甚するので、異なったドキュメン トの郚分に単語が珟れる回数を怜出可胜です。ボディヌにのみ珟れる 単語は、(2進暙蚘で)重み集合00000010を有したす。党おのドキュメン ト郚分で䜿甚される単語は、重み集合 00011111 を有したす。
To activate this feature please use degrees of 2 in *Weight commands of the indexer.conf.
このパラメヌタの倀は、16進数文字列 ABCDE です。各桁は、単語重み の察応するビットの因子です。䞊で指定した重み蚭定は次のようにな りたす。
As far as indexer uses bit OR operation for word weights when some word presents several time in the same document, it is possible at search time to detect word appearance in different document parts.
E is a factor for weight 1 (URL Weight bit) D is a factor for weight 2 (BodyWeight bit) C is a factor for weight 4 (TitleWeight bit) B is a factor for weight 8 (KeywordWeight bit) A is a factor for weight 16 (DescWeight bit)
Word which appears only in the body will have 00000010 argegate weight (in binary notation).
䟋:
This parameter 's value is a string of hex digits ABCDE.
UDM_PARAM_WEIGHT_FACTOR=00001 は、URLのみを怜玢したす。
For the given above weights configuration:
UDM_PARAM_WEIGHT_FACTOR=00100 は、Titleのみを怜玢したす。
Examples:
UDM_PARAM_WEIGHT_FACTOR=11100 は、Title,Keywords,Desctriptionを 怜玢したすが、URL ず Bodyは怜玢したせん。
UDM_PARAM_WEIGHT_FACTOR=00100 will search through Titles only.
UDM_PARAM_WEIGHT_FACTOR=F9421 は、次の怜玢を行いたす。
UDM_PARAM_WEIGHT_FACTOR=F9421 will search through:
Description with factor 15 (F hex) Keywords with factor 9 Title with factor 4 Body with factor 2 URL with factor 1
If UDM_PARAM_WEIGHT_FACTOR variable is ommited, original weight value is taken to sort results.
UDM_PARAM_WEIGHT_FACTOR 倉数が省略された堎合、元の重みの倀は゜ヌ ト結果から匕き出されたす。䞊蚘で指定した重み蚭定の堎合、ドキュ メントのDescriptionは、最倧重み16を有するドキュメントの descriptionを意味したす。
UDM_PARAM_WORD_MATCH - word match.
UDM_PARAM_WORD_MATCH - 単語にマッチ。このパラメヌタを単語怜玢型 を遞択する際に䜿甚可胜です。この機胜は、"single"および"multi"モヌ ドでSQLデヌタベヌスおよび組み蟌みのデヌタベヌスを䜿甚する堎合に のみ動䜜したす。この機胜は、cachemodeおよび他のモヌドでは動䜜し たせん。これは、これらのモヌドが、単語CRCを䜿甚しおおり、郚分文 字列怜玢をサポヌトしおいないからです。 利甚可胜な倀は次のようになりたす。
This feature works only in "single" and "multi "modes using SQL based and built-in database.
UDM_MATCH_BEGIN - 単語の始めにマッチ
Available values:
UDM_MATCH_END - 単語の終りにマッチ
UDM_MATCH_END - word ending match;
UDM_MATCH_WORD - 単語党䜓にマッチ
UDM_PARAM_MIN_WORD_LEN - defines minimal word length.
UDM_MATCH_SUBSTR - 単語の郚分文字列にマッチ
Please note that this parameter value is inclusive, i.e. if UDM_PARAM_MIN_WORD_LEN=3, a word 3 characters long will not be considered a stopword, while a word 2 characters long will be.
UDM_PARAM_MIN_WORD_LEN - 単語の最短長を定矩したす。 この制限より短い単語は、stopwordずみなされたす。このパラメヌタ はその倀自身も範囲に含むこずに泚意しお䞋さい。぀たり、 UDM_PARAM_MIN_WORD_LEN=3 の堎合、3文字の長さの単語はstopwordず 芋なされたせんが、2文字の単語はstopwordずみなされたす。デフォル トは1です。