{"kind": "fts", "major": "18", "item": {"slug": "configuration-hungarian", "name": "hungarian", "name_zh": "", "category": "\u914d\u7f6e", "summary": "\u5168\u6587\u641c\u7d22\u914d\u7f6e hungarian\u3002", "aliases": [], "content_hash": "1233d16fca6df7e12db9b50ab7536c6ca7bfc6a62f0b7505cdedb6890ffe804d", "versions": {"10": {"facts": [{"label": "\u914d\u7f6e", "value": "hungarian"}, {"label": "\u89e3\u6790\u5668", "value": "\u9ed8\u8ba4"}], "tables": [{"key": "mappings", "rows": [{"token": "email", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-simple/?v=10", "text": "simple"}}, {"token": "url", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-simple/?v=10", "text": "simple"}}, {"token": "url_path", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-simple/?v=10", "text": "simple"}}, {"token": "host", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-simple/?v=10", "text": "simple"}}, {"token": "file", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-simple/?v=10", "text": "simple"}}, {"token": "version", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-simple/?v=10", "text": "simple"}}, {"token": "sfloat", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-simple/?v=10", "text": "simple"}}, {"token": "float", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-simple/?v=10", "text": "simple"}}, {"token": "int", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-simple/?v=10", "text": "simple"}}, {"token": "uint", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-simple/?v=10", "text": "simple"}}, {"token": "numword", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-simple/?v=10", "text": "simple"}}, {"token": "hword_numpart", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-simple/?v=10", "text": "simple"}}, {"token": "numhword", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-simple/?v=10", "text": "simple"}}, {"token": "asciiword", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-hungarian_stem/?v=10", "text": "hungarian_stem"}}, {"token": "hword_asciipart", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-hungarian_stem/?v=10", "text": "hungarian_stem"}}, {"token": "asciihword", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-hungarian_stem/?v=10", "text": "hungarian_stem"}}, {"token": "word", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-hungarian_stem/?v=10", "text": "hungarian_stem"}}, {"token": "hword_part", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-hungarian_stem/?v=10", "text": "hungarian_stem"}}, {"token": "hword", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-hungarian_stem/?v=10", "text": "hungarian_stem"}}], "title": "\u8bcd\u5143\u5230\u8bcd\u5178\u7684\u6620\u5c04", "columns": [{"key": "token", "label": "\u8bcd\u5143\u7c7b\u578b"}, {"key": "sequence", "label": "\u987a\u5e8f"}, {"key": "dictionary", "label": "\u8bcd\u5178"}]}], "aliases": [], "related": [{"url": "/wiki/fts/parser-default/?v=10", "label": "\u9ed8\u8ba4\u89e3\u6790\u5668"}], "release": {"ref": "https://ftp.postgresql.org/pub/source/v10.23/postgresql-10.23.tar.bz2", "label": "10.23", "major": "10", "channel": "historical", "revision": "94a4b2528372458e5662c18d406629266667c437198160a18cdfd2c4a4d6eee9", "source_sha256": "94a4b2528372458e5662c18d406629266667c437198160a18cdfd2c4a4d6eee9", "catalog_fingerprint": "691be281b476dde4374d7f805b2bacc2e75bdef40f1e9d3d42e91f97fe95cfd0"}, "sources": [{"url": "https://ftp.postgresql.org/pub/source/v10.23/postgresql-10.23.tar.bz2", "label": "Matching PostgreSQL source archive", "sha256": "94a4b2528372458e5662c18d406629266667c437198160a18cdfd2c4a4d6eee9"}, {"url": "/docs/10/textsearch-configuration.html", "path": "textsearch-configuration.html", "label": "PostgreSQL 10 English manual", "sha256": "fc77a2fba04a408f3a4f11ad06aff02159d190378097384411506059609e6bf7"}], "zh_from": {"kind": "same-version-chinese-manual-with-source-derived-structured-summary", "manual": {"url": "/zh/docs/10/textsearch-configuration.html", "anchor": "", "locale": "zh-Hans", "version": "10", "build_id": 63, "page_key": "textsearch-configuration.html", "extraction": "concept-introduction", "source_hash": "16d567427ce50c2498446825526b4fbd6f8a90a47166bb7c5e1b744d14c999f2", "fragment_sha256": "9b547637cbd5deda301be3a87e8e6790524bd20db13084969b4a7c1d068a229c", "source_revision": "unknown:rendered-translation-baseline", "translation_revision": "snapshot:sha256:62997ea80516ad012fbf6359de33f3b016b54c47e2df76e75606116b4baaf8e5", "translated_from_revision": null}, "body_sha256": "f827222af2aa1cff1b6a56599d38f33f6964cb8a4e8697ed8692e265cb0c3ebe", "runtime_rerun": false, "authored_translation": "source-derived-structured-summary", "source_facts_revision": "94a4b2528372458e5662c18d406629266667c437198160a18cdfd2c4a4d6eee9"}, "facts_zh": [{"label": "\u914d\u7f6e", "value": "hungarian"}, {"label": "\u89e3\u6790\u5668", "value": "\u9ed8\u8ba4"}], "mappings": [{"token": "email", "sequence": "1", "dictionary": "simple"}, {"token": "url", "sequence": "1", "dictionary": "simple"}, {"token": "url_path", "sequence": "1", "dictionary": "simple"}, {"token": "host", "sequence": "1", "dictionary": "simple"}, {"token": "file", "sequence": "1", "dictionary": "simple"}, {"token": "version", "sequence": "1", "dictionary": "simple"}, {"token": "sfloat", "sequence": "1", "dictionary": "simple"}, {"token": "float", "sequence": "1", "dictionary": "simple"}, {"token": "int", "sequence": "1", "dictionary": "simple"}, {"token": "uint", "sequence": "1", "dictionary": "simple"}, {"token": "numword", "sequence": "1", "dictionary": "simple"}, {"token": "hword_numpart", "sequence": "1", "dictionary": "simple"}, {"token": "numhword", "sequence": "1", "dictionary": "simple"}, {"token": "asciiword", "sequence": "1", "dictionary": "hungarian_stem"}, {"token": "hword_asciipart", "sequence": "1", "dictionary": "hungarian_stem"}, {"token": "asciihword", "sequence": "1", "dictionary": "hungarian_stem"}, {"token": "word", "sequence": "1", "dictionary": "hungarian_stem"}, {"token": "hword_part", "sequence": "1", "dictionary": "hungarian_stem"}, {"token": "hword", "sequence": "1", "dictionary": "hungarian_stem"}], "sections": [{"code": "/*\n * text search configuration for hungarian language\n *\n * Copyright (c) 2007-2017, PostgreSQL Global Development Group\n *\n * src/backend/snowball/snowball.sql.in\n *\n * hungarian and certain other macros are replaced for each language;\n * see the Makefile for details.\n *\n * Note: this file is read in single-user -j mode, which means that the\n * command terminator is semicolon-newline-newline; whenever the backend\n * sees that, it stops and executes what it's got.  If you write a lot of\n * statements without empty lines between, they'll all get quoted to you\n * in any error message about one of them, so don't do that.  Also, you\n * cannot write a semicolon immediately followed by an empty line in a\n * string literal (including a function body!) or a multiline comment.\n */\n\nCREATE TEXT SEARCH DICTIONARY hungarian_stem\n\t(TEMPLATE = snowball, Language = hungarian , StopWords=hungarian);\n\nCOMMENT ON TEXT SEARCH DICTIONARY hungarian_stem IS 'snowball stemmer for hungarian language';\n\nCREATE TEXT SEARCH CONFIGURATION hungarian\n\t(PARSER = default);\n\nCOMMENT ON TEXT SEARCH CONFIGURATION hungarian IS 'configuration for hungarian language';\n\nALTER TEXT SEARCH CONFIGURATION hungarian ADD MAPPING\n\tFOR email, url, url_path, host, file, version,\n\t    sfloat, float, int, uint,\n\t    numword, hword_numpart, numhword\n\tWITH simple;\n\nALTER TEXT SEARCH CONFIGURATION hungarian ADD MAPPING\n    FOR asciiword, hword_asciipart, asciihword\n\tWITH hungarian_stem;\n\nALTER TEXT SEARCH CONFIGURATION hungarian ADD MAPPING\n    FOR word, hword_part, hword\n\tWITH hungarian_stem;", "title": "initdb \u751f\u6210\u7684\u5b9a\u4e49", "paragraphs": ["\u6839\u636e\u6b64\u7248\u672c\u7684 Snowball \u8bed\u8a00\u5217\u8868\u548c SQL \u6a21\u677f\u751f\u6210\u3002"]}], "center_zh": {"title": "hungarian", "locale": "zh-Hans", "source": {"key": "configuration-hungarian", "locale": "zh-Hans", "version": "10", "text_hash": "fe98f563a241c4dd4383c67f77262af21966e7adf665a8ff25831d5d581a1df3", "collection": "fts", "dataset_hash": "7c31b524dfe136022d39a6ae8dcfac6b3bbd5f8fdaf422536599981252aff0c9", "source_database": "center", "source_revision": "94a4b2528372458e5662c18d406629266667c437198160a18cdfd2c4a4d6eee9"}, "payload": {"facts": [{"label": "\u914d\u7f6e", "value": "hungarian"}, {"label": "\u89e3\u6790\u5668", "value": "\u9ed8\u8ba4"}], "tables": [{"key": "mappings", "rows": [{"token": "email", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-simple/?v=10", "text": "simple"}}, {"token": "url", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-simple/?v=10", "text": "simple"}}, {"token": "url_path", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-simple/?v=10", "text": "simple"}}, {"token": "host", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-simple/?v=10", "text": "simple"}}, {"token": "file", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-simple/?v=10", "text": "simple"}}, {"token": "version", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-simple/?v=10", "text": "simple"}}, {"token": "sfloat", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-simple/?v=10", "text": "simple"}}, {"token": "float", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-simple/?v=10", "text": "simple"}}, {"token": "int", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-simple/?v=10", "text": "simple"}}, {"token": "uint", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-simple/?v=10", "text": "simple"}}, {"token": "numword", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-simple/?v=10", "text": "simple"}}, {"token": "hword_numpart", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-simple/?v=10", "text": "simple"}}, {"token": "numhword", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-simple/?v=10", "text": "simple"}}, {"token": "asciiword", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-hungarian_stem/?v=10", "text": "hungarian_stem"}}, {"token": "hword_asciipart", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-hungarian_stem/?v=10", "text": "hungarian_stem"}}, {"token": "asciihword", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-hungarian_stem/?v=10", "text": "hungarian_stem"}}, {"token": "word", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-hungarian_stem/?v=10", "text": "hungarian_stem"}}, {"token": "hword_part", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-hungarian_stem/?v=10", "text": "hungarian_stem"}}, {"token": "hword", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-hungarian_stem/?v=10", "text": "hungarian_stem"}}], "title": "\u8bcd\u5143\u5230\u8bcd\u5178\u7684\u6620\u5c04", "columns": [{"key": "token", "label": "\u8bcd\u5143\u7c7b\u578b"}, {"key": "sequence", "label": "\u987a\u5e8f"}, {"key": "dictionary", "label": "\u8bcd\u5178"}]}], "zh_from": {"kind": "same-version-chinese-manual-with-source-derived-structured-summary", "manual": {"url": "/zh/docs/10/textsearch-configuration.html", "anchor": "", "locale": "zh-Hans", "version": "10", "build_id": 63, "page_key": "textsearch-configuration.html", "extraction": "concept-introduction", "source_hash": "16d567427ce50c2498446825526b4fbd6f8a90a47166bb7c5e1b744d14c999f2", "fragment_sha256": "9b547637cbd5deda301be3a87e8e6790524bd20db13084969b4a7c1d068a229c", "source_revision": "unknown:rendered-translation-baseline", "translation_revision": "snapshot:sha256:62997ea80516ad012fbf6359de33f3b016b54c47e2df76e75606116b4baaf8e5", "translated_from_revision": null}, "body_sha256": "f827222af2aa1cff1b6a56599d38f33f6964cb8a4e8697ed8692e265cb0c3ebe", "runtime_rerun": false, "authored_translation": "source-derived-structured-summary", "source_facts_revision": "94a4b2528372458e5662c18d406629266667c437198160a18cdfd2c4a4d6eee9"}, "sections": [{"code": "/*\n * text search configuration for hungarian language\n *\n * Copyright (c) 2007-2017, PostgreSQL Global Development Group\n *\n * src/backend/snowball/snowball.sql.in\n *\n * hungarian and certain other macros are replaced for each language;\n * see the Makefile for details.\n *\n * Note: this file is read in single-user -j mode, which means that the\n * command terminator is semicolon-newline-newline; whenever the backend\n * sees that, it stops and executes what it's got.  If you write a lot of\n * statements without empty lines between, they'll all get quoted to you\n * in any error message about one of them, so don't do that.  Also, you\n * cannot write a semicolon immediately followed by an empty line in a\n * string literal (including a function body!) or a multiline comment.\n */\n\nCREATE TEXT SEARCH DICTIONARY hungarian_stem\n\t(TEMPLATE = snowball, Language = hungarian , StopWords=hungarian);\n\nCOMMENT ON TEXT SEARCH DICTIONARY hungarian_stem IS 'snowball stemmer for hungarian language';\n\nCREATE TEXT SEARCH CONFIGURATION hungarian\n\t(PARSER = default);\n\nCOMMENT ON TEXT SEARCH CONFIGURATION hungarian IS 'configuration for hungarian language';\n\nALTER TEXT SEARCH CONFIGURATION hungarian ADD MAPPING\n\tFOR email, url, url_path, host, file, version,\n\t    sfloat, float, int, uint,\n\t    numword, hword_numpart, numhword\n\tWITH simple;\n\nALTER TEXT SEARCH CONFIGURATION hungarian ADD MAPPING\n    FOR asciiword, hword_asciipart, asciihword\n\tWITH hungarian_stem;\n\nALTER TEXT SEARCH CONFIGURATION hungarian ADD MAPPING\n    FOR word, hword_part, hword\n\tWITH hungarian_stem;", "title": "initdb \u751f\u6210\u7684\u5b9a\u4e49", "paragraphs": ["\u6839\u636e\u6b64\u7248\u672c\u7684 Snowball \u8bed\u8a00\u5217\u8868\u548c SQL \u6a21\u677f\u751f\u6210\u3002"]}], "description_zh": "\u5168\u6587\u641c\u7d22\u914d\u7f6e hungarian\u3002", "description_zh_html": "<p>\u5168\u6587\u641c\u7d22\u914d\u7f6e hungarian\u3002</p><dl><dt>\u89e3\u6790\u5668</dt><dd><code>default</code></dd><dt>\u914d\u7f6e</dt><dd><code>hungarian</code></dd></dl><h3>\u8bcd\u5143\u4e0e\u8bcd\u5178\u6620\u5c04</h3><table><tr><th>\u8bcd\u5143\u7c7b\u578b</th><th>\u987a\u5e8f</th><th>\u8bcd\u5178</th></tr><tr><td><code>email</code></td><td><code>1</code></td><td><code>simple</code></td></tr><tr><td><code>url</code></td><td><code>1</code></td><td><code>simple</code></td></tr><tr><td><code>url_path</code></td><td><code>1</code></td><td><code>simple</code></td></tr><tr><td><code>host</code></td><td><code>1</code></td><td><code>simple</code></td></tr><tr><td><code>file</code></td><td><code>1</code></td><td><code>simple</code></td></tr><tr><td><code>version</code></td><td><code>1</code></td><td><code>simple</code></td></tr><tr><td><code>sfloat</code></td><td><code>1</code></td><td><code>simple</code></td></tr><tr><td><code>float</code></td><td><code>1</code></td><td><code>simple</code></td></tr><tr><td><code>int</code></td><td><code>1</code></td><td><code>simple</code></td></tr><tr><td><code>uint</code></td><td><code>1</code></td><td><code>simple</code></td></tr><tr><td><code>numword</code></td><td><code>1</code></td><td><code>simple</code></td></tr><tr><td><code>hword_numpart</code></td><td><code>1</code></td><td><code>simple</code></td></tr><tr><td><code>numhword</code></td><td><code>1</code></td><td><code>simple</code></td></tr><tr><td><code>asciiword</code></td><td><code>1</code></td><td><code>hungarian_stem</code></td></tr><tr><td><code>hword_asciipart</code></td><td><code>1</code></td><td><code>hungarian_stem</code></td></tr><tr><td><code>asciihword</code></td><td><code>1</code></td><td><code>hungarian_stem</code></td></tr><tr><td><code>word</code></td><td><code>1</code></td><td><code>hungarian_stem</code></td></tr><tr><td><code>hword_part</code></td><td><code>1</code></td><td><code>hungarian_stem</code></td></tr><tr><td><code>hword</code></td><td><code>1</code></td><td><code>hungarian_stem</code></td></tr></table><h3>\u540c\u7248\u672c\u4e2d\u6587\u624b\u518c\u8282\u9009</h3><p>    \u4e00\u4e2a\u6587\u672c\u68c0\u7d22\u914d\u7f6e\u6307\u5b9a\u4e86\u5c06\u4e00\u4e2a\u6587\u6863\u8f6c\u6362\u6210\u4e00\u4e2a <code class=\"type\">tsvector</code> \u6240\u9700\u7684\u6240\u6709\u9009\u9879\uff1a\u7528\u4e8e\u628a\u6587\u672c\u5206\u89e3\u6210\u8bcd\u5143\u7684\u89e3\u6790\u5668\uff0c\u4ee5\u53ca\u7528\u4e8e\u5c06\u6bcf\u4e00\u4e2a\u8bcd\u5143\u8f6c\u6362\u6210\u8bcd\u4f4d\u7684\u8bcd\u5178\u3002\u6bcf\u4e00\u6b21 <code class=\"function\">to_tsvector</code> \u6216 <code class=\"function\">to_tsquery</code> \u7684\u8c03\u7528\u90fd\u9700\u8981\u4e00\u4e2a\u6587\u672c\u68c0\u7d22\u914d\u7f6e\u6765\u6267\u884c\u5176\u5904\u7406\u3002\u914d\u7f6e\u53c2\u6570 <a class=\"xref\" href=\"/zh/docs/10/runtime-config-client.html#GUC-DEFAULT-TEXT-SEARCH-CONFIG\">default_text_search_config</a> \u6307\u5b9a\u4e86\u9ed8\u8ba4\u914d\u7f6e\u7684\u540d\u79f0\uff0c\u5982\u679c\u7701\u7565\u4e86\u663e\u5f0f\u7684\u914d\u7f6e\u53c2\u6570\uff0c\u6587\u672c\u68c0\u7d22\u51fd\u6570\u5c06\u4f1a\u4f7f\u7528\u5b83\u3002\u5b83\u53ef\u4ee5\u5728 <code class=\"filename\">postgresql.conf</code> \u4e2d\u8bbe\u7f6e\uff0c\u6216\u8005\u4f7f\u7528 <code class=\"command\">SET</code> \u547d\u4ee4\u4e3a\u4e00\u4e2a\u5355\u72ec\u7684\u4f1a\u8bdd\u8bbe\u7f6e\u3002\n   </p><p>    \u6709\u4e00\u4e9b\u9884\u5b9a\u4e49\u7684\u6587\u672c\u68c0\u7d22\u914d\u7f6e\u53ef\u7528\uff0c\u5e76\u4e14\u4f60\u53ef\u4ee5\u5bb9\u6613\u5730\u521b\u5efa\u81ea\u5b9a\u4e49\u7684\u914d\u7f6e\u3002\u4e3a\u4e86\u4fbf\u4e8e\u7ba1\u7406\u6587\u672c\u68c0\u7d22\u5bf9\u8c61\uff0c\u53ef\u4ee5\u4f7f\u7528\u4e00\u7ec4 <acronym class=\"acronym\">SQL</acronym> \u547d\u4ee4\uff0c\u5e76\u4e14\u6709\u591a\u4e2a <span class=\"application\">psql</span> \u547d\u4ee4\u53ef\u4ee5\u663e\u793a\u6709\u5173\u6587\u672c\u68c0\u7d22\u5bf9\u8c61\uff08<a class=\"xref\" href=\"/zh/docs/10/textsearch-psql.html\">\u7b2c\u00a012.10\u00a0\u8282</a>\uff09\u7684\u4fe1\u606f\u3002\n   </p><p>    \u4f5c\u4e3a\u4e00\u4e2a\u793a\u4f8b\uff0c\u6211\u4eec\u5c06\u521b\u5efa\u4e00\u4e2a\u914d\u7f6e <code class=\"literal\">pg</code>\uff0c\u4ece\u590d\u5236\u5185\u7f6e\u7684 <code class=\"literal\">english</code> \u914d\u7f6e\u5f00\u59cb\uff1a\n\n</p><p>    \u6211\u4eec\u5c06\u4f7f\u7528\u4e00\u4e2a PostgreSQL \u76f8\u5173\u7684\u540c\u4e49\u8bcd\u5217\u8868\uff0c\u5e76\u5c06\u5b83\u5b58\u50a8\u5728 <code class=\"filename\">$SHAREDIR/tsearch_data/pg_dict.syn</code> \u4e2d\u3002\u6587\u4ef6\u5185\u5bb9\u770b\u8d77\u6765\u50cf\uff1a\n\n</p><p><a href=\"/zh/docs/10/textsearch-configuration.html\">\u67e5\u770b\u5b8c\u6574\u4e2d\u6587\u624b\u518c\u4e0e\u4e0a\u4e0b\u6587</a>\u3002</p>"}, "summary": "\u5168\u6587\u641c\u7d22\u914d\u7f6e hungarian\u3002", "version": "10", "link_map": {"/zh/docs/10/textsearch-psql.html": "/docs/10/textsearch-psql.html", "/zh/docs/10/textsearch-configuration.html": "/docs/10/textsearch-configuration.html", "/zh/docs/10/runtime-config-client.html#GUC-DEFAULT-TEXT-SEARCH-CONFIG": "/docs/10/runtime-config-client.html#GUC-DEFAULT-TEXT-SEARCH-CONFIG"}, "body_html": "<p>\u5168\u6587\u641c\u7d22\u914d\u7f6e hungarian\u3002</p><dl><dt>\u89e3\u6790\u5668</dt><dd><code>default</code></dd><dt>\u914d\u7f6e</dt><dd><code>hungarian</code></dd></dl><h3>\u8bcd\u5143\u4e0e\u8bcd\u5178\u6620\u5c04</h3><table><tr><th>\u8bcd\u5143\u7c7b\u578b</th><th>\u987a\u5e8f</th><th>\u8bcd\u5178</th></tr><tr><td><code>email</code></td><td><code>1</code></td><td><code>simple</code></td></tr><tr><td><code>url</code></td><td><code>1</code></td><td><code>simple</code></td></tr><tr><td><code>url_path</code></td><td><code>1</code></td><td><code>simple</code></td></tr><tr><td><code>host</code></td><td><code>1</code></td><td><code>simple</code></td></tr><tr><td><code>file</code></td><td><code>1</code></td><td><code>simple</code></td></tr><tr><td><code>version</code></td><td><code>1</code></td><td><code>simple</code></td></tr><tr><td><code>sfloat</code></td><td><code>1</code></td><td><code>simple</code></td></tr><tr><td><code>float</code></td><td><code>1</code></td><td><code>simple</code></td></tr><tr><td><code>int</code></td><td><code>1</code></td><td><code>simple</code></td></tr><tr><td><code>uint</code></td><td><code>1</code></td><td><code>simple</code></td></tr><tr><td><code>numword</code></td><td><code>1</code></td><td><code>simple</code></td></tr><tr><td><code>hword_numpart</code></td><td><code>1</code></td><td><code>simple</code></td></tr><tr><td><code>numhword</code></td><td><code>1</code></td><td><code>simple</code></td></tr><tr><td><code>asciiword</code></td><td><code>1</code></td><td><code>hungarian_stem</code></td></tr><tr><td><code>hword_asciipart</code></td><td><code>1</code></td><td><code>hungarian_stem</code></td></tr><tr><td><code>asciihword</code></td><td><code>1</code></td><td><code>hungarian_stem</code></td></tr><tr><td><code>word</code></td><td><code>1</code></td><td><code>hungarian_stem</code></td></tr><tr><td><code>hword_part</code></td><td><code>1</code></td><td><code>hungarian_stem</code></td></tr><tr><td><code>hword</code></td><td><code>1</code></td><td><code>hungarian_stem</code></td></tr></table><h3>\u540c\u7248\u672c\u4e2d\u6587\u624b\u518c\u8282\u9009</h3><p>    \u4e00\u4e2a\u6587\u672c\u68c0\u7d22\u914d\u7f6e\u6307\u5b9a\u4e86\u5c06\u4e00\u4e2a\u6587\u6863\u8f6c\u6362\u6210\u4e00\u4e2a <code>tsvector</code> \u6240\u9700\u7684\u6240\u6709\u9009\u9879\uff1a\u7528\u4e8e\u628a\u6587\u672c\u5206\u89e3\u6210\u8bcd\u5143\u7684\u89e3\u6790\u5668\uff0c\u4ee5\u53ca\u7528\u4e8e\u5c06\u6bcf\u4e00\u4e2a\u8bcd\u5143\u8f6c\u6362\u6210\u8bcd\u4f4d\u7684\u8bcd\u5178\u3002\u6bcf\u4e00\u6b21 <code>to_tsvector</code> \u6216 <code>to_tsquery</code> \u7684\u8c03\u7528\u90fd\u9700\u8981\u4e00\u4e2a\u6587\u672c\u68c0\u7d22\u914d\u7f6e\u6765\u6267\u884c\u5176\u5904\u7406\u3002\u914d\u7f6e\u53c2\u6570 <a href=\"/zh/docs/10/runtime-config-client.html#GUC-DEFAULT-TEXT-SEARCH-CONFIG\" rel=\"nofollow\">default_text_search_config</a> \u6307\u5b9a\u4e86\u9ed8\u8ba4\u914d\u7f6e\u7684\u540d\u79f0\uff0c\u5982\u679c\u7701\u7565\u4e86\u663e\u5f0f\u7684\u914d\u7f6e\u53c2\u6570\uff0c\u6587\u672c\u68c0\u7d22\u51fd\u6570\u5c06\u4f1a\u4f7f\u7528\u5b83\u3002\u5b83\u53ef\u4ee5\u5728 <code>postgresql.conf</code> \u4e2d\u8bbe\u7f6e\uff0c\u6216\u8005\u4f7f\u7528 <code>SET</code> \u547d\u4ee4\u4e3a\u4e00\u4e2a\u5355\u72ec\u7684\u4f1a\u8bdd\u8bbe\u7f6e\u3002\n   </p><p>    \u6709\u4e00\u4e9b\u9884\u5b9a\u4e49\u7684\u6587\u672c\u68c0\u7d22\u914d\u7f6e\u53ef\u7528\uff0c\u5e76\u4e14\u4f60\u53ef\u4ee5\u5bb9\u6613\u5730\u521b\u5efa\u81ea\u5b9a\u4e49\u7684\u914d\u7f6e\u3002\u4e3a\u4e86\u4fbf\u4e8e\u7ba1\u7406\u6587\u672c\u68c0\u7d22\u5bf9\u8c61\uff0c\u53ef\u4ee5\u4f7f\u7528\u4e00\u7ec4 <acronym>SQL</acronym> \u547d\u4ee4\uff0c\u5e76\u4e14\u6709\u591a\u4e2a <span>psql</span> \u547d\u4ee4\u53ef\u4ee5\u663e\u793a\u6709\u5173\u6587\u672c\u68c0\u7d22\u5bf9\u8c61\uff08<a href=\"/zh/docs/10/textsearch-psql.html\" rel=\"nofollow\">\u7b2c\u00a012.10\u00a0\u8282</a>\uff09\u7684\u4fe1\u606f\u3002\n   </p><p>    \u4f5c\u4e3a\u4e00\u4e2a\u793a\u4f8b\uff0c\u6211\u4eec\u5c06\u521b\u5efa\u4e00\u4e2a\u914d\u7f6e <code>pg</code>\uff0c\u4ece\u590d\u5236\u5185\u7f6e\u7684 <code>english</code> \u914d\u7f6e\u5f00\u59cb\uff1a\n\n</p><p>    \u6211\u4eec\u5c06\u4f7f\u7528\u4e00\u4e2a PostgreSQL \u76f8\u5173\u7684\u540c\u4e49\u8bcd\u5217\u8868\uff0c\u5e76\u5c06\u5b83\u5b58\u50a8\u5728 <code>$SHAREDIR/tsearch_data/pg_dict.syn</code> \u4e2d\u3002\u6587\u4ef6\u5185\u5bb9\u770b\u8d77\u6765\u50cf\uff1a\n\n</p><p><a href=\"/zh/docs/10/textsearch-configuration.html\" rel=\"nofollow\">\u67e5\u770b\u5b8c\u6574\u4e2d\u6587\u624b\u518c\u4e0e\u4e0a\u4e0b\u6587</a>\u3002</p>", "body_sha256": "176271a8ec7dc5d08e3e1c377c55bfedb0fdec1959bf3d62c4824de2b46da57f", "content_hash": "fe98f563a241c4dd4383c67f77262af21966e7adf665a8ff25831d5d581a1df3", "source_database": "center", "source_revision": "94a4b2528372458e5662c18d406629266667c437198160a18cdfd2c4a4d6eee9"}, "signature": "", "tables_zh": [{"key": "mappings", "rows": [{"token": "email", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-simple/?v=10", "text": "simple"}}, {"token": "url", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-simple/?v=10", "text": "simple"}}, {"token": "url_path", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-simple/?v=10", "text": "simple"}}, {"token": "host", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-simple/?v=10", "text": "simple"}}, {"token": "file", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-simple/?v=10", "text": "simple"}}, {"token": "version", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-simple/?v=10", "text": "simple"}}, {"token": "sfloat", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-simple/?v=10", "text": "simple"}}, {"token": "float", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-simple/?v=10", "text": "simple"}}, {"token": "int", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-simple/?v=10", "text": "simple"}}, {"token": "uint", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-simple/?v=10", "text": "simple"}}, {"token": "numword", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-simple/?v=10", "text": "simple"}}, {"token": "hword_numpart", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-simple/?v=10", "text": "simple"}}, {"token": "numhword", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-simple/?v=10", "text": "simple"}}, {"token": "asciiword", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-hungarian_stem/?v=10", "text": "hungarian_stem"}}, {"token": "hword_asciipart", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-hungarian_stem/?v=10", "text": "hungarian_stem"}}, {"token": "asciihword", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-hungarian_stem/?v=10", "text": "hungarian_stem"}}, {"token": "word", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-hungarian_stem/?v=10", "text": "hungarian_stem"}}, {"token": "hword_part", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-hungarian_stem/?v=10", "text": "hungarian_stem"}}, {"token": "hword", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-hungarian_stem/?v=10", "text": "hungarian_stem"}}], "title": "\u8bcd\u5143\u5230\u8bcd\u5178\u7684\u6620\u5c04", "columns": [{"key": "token", "label": "\u8bcd\u5143\u7c7b\u578b"}, {"key": "sequence", "label": "\u987a\u5e8f"}, {"key": "dictionary", "label": "\u8bcd\u5178"}]}], "attributes": {"parser": "default", "configuration": "hungarian"}, "description": ["\u5168\u6587\u641c\u7d22\u914d\u7f6e hungarian\u3002"], "manual_html": "", "manual_path": "/docs/10/textsearch-configuration.html", "sections_zh": [{"code": "/*\n * text search configuration for hungarian language\n *\n * Copyright (c) 2007-2017, PostgreSQL Global Development Group\n *\n * src/backend/snowball/snowball.sql.in\n *\n * hungarian and certain other macros are replaced for each language;\n * see the Makefile for details.\n *\n * Note: this file is read in single-user -j mode, which means that the\n * command terminator is semicolon-newline-newline; whenever the backend\n * sees that, it stops and executes what it's got.  If you write a lot of\n * statements without empty lines between, they'll all get quoted to you\n * in any error message about one of them, so don't do that.  Also, you\n * cannot write a semicolon immediately followed by an empty line in a\n * string literal (including a function body!) or a multiline comment.\n */\n\nCREATE TEXT SEARCH DICTIONARY hungarian_stem\n\t(TEMPLATE = snowball, Language = hungarian , StopWords=hungarian);\n\nCOMMENT ON TEXT SEARCH DICTIONARY hungarian_stem IS 'snowball stemmer for hungarian language';\n\nCREATE TEXT SEARCH CONFIGURATION hungarian\n\t(PARSER = default);\n\nCOMMENT ON TEXT SEARCH CONFIGURATION hungarian IS 'configuration for hungarian language';\n\nALTER TEXT SEARCH CONFIGURATION hungarian ADD MAPPING\n\tFOR email, url, url_path, host, file, version,\n\t    sfloat, float, int, uint,\n\t    numword, hword_numpart, numhword\n\tWITH simple;\n\nALTER TEXT SEARCH CONFIGURATION hungarian ADD MAPPING\n    FOR asciiword, hword_asciipart, asciihword\n\tWITH hungarian_stem;\n\nALTER TEXT SEARCH CONFIGURATION hungarian ADD MAPPING\n    FOR word, hword_part, hword\n\tWITH hungarian_stem;", "title": "initdb \u751f\u6210\u7684\u5b9a\u4e49", "paragraphs": ["\u6839\u636e\u6b64\u7248\u672c\u7684 Snowball \u8bed\u8a00\u5217\u8868\u548c SQL \u6a21\u677f\u751f\u6210\u3002"]}], "localization": {"status": "complete", "sources": [{"url": "/docs/10/catalog-pg-amproc.html", "method": "same-major semantic node", "sha256": "d8a1b80ae120a9256030ad09313bf01fba7e2bdcffdb9a2ea3b209de4d6bcb8c", "language": "zh", "matched_nodes": ["#CATALOG-PG-AMPROC/p[5]/span[2]/span[0]"]}, {"url": "/docs/10/textsearch-configuration.html", "method": "same-major semantic node", "sha256": "9fb2aa3e25c9eea1f3fd2776e21a1cc94406e95613dbc0477a532b5106d0bd6f", "language": "zh", "matched_nodes": ["#TEXTSEARCH-CONFIGURATION/div[0]", "#TEXTSEARCH-CONFIGURATION/p[11]", "#TEXTSEARCH-CONFIGURATION/p[13]", "#TEXTSEARCH-CONFIGURATION/p[15]", "#TEXTSEARCH-CONFIGURATION/p[17]", "#TEXTSEARCH-CONFIGURATION/p[1]", "#TEXTSEARCH-CONFIGURATION/p[2]", "#TEXTSEARCH-CONFIGURATION/p[3]", "#TEXTSEARCH-CONFIGURATION/p[5]", "#TEXTSEARCH-CONFIGURATION/p[7]", "#TEXTSEARCH-CONFIGURATION/p[9]"]}], "language": "zh", "original_text": {"/versions/10/description/0": "Text search configuration hungarian.", "/versions/10/facts/0/label": "Configuration", "/versions/10/facts/1/label": "Parser", "/versions/10/facts/1/value": "default", "/versions/10/tables/0/title": "Token-to-dictionary mappings", "/versions/10/related/0/label": "default parser", "/versions/10/sections/0/title": "Generated initdb definition", "/versions/10/sections/0/paragraphs/0": "Generated from this release\u2019s Snowball language list and SQL template.", "/versions/10/tables/0/columns/0/label": "Token type", "/versions/10/tables/0/columns/1/label": "Order", "/versions/10/tables/0/columns/2/label": "Dictionary"}, "fallback_fields": [], "source_language": "en", "original_snapshot_sha256": "0ce3e0fa6c534a3937e26c85ded9fd0488f7a35b6d6cd2595695207eef7a9641", "canonical_center_text_hash": "fe98f563a241c4dd4383c67f77262af21966e7adf665a8ff25831d5d581a1df3"}, "description_zh": "\u5168\u6587\u641c\u7d22\u914d\u7f6e hungarian\u3002", "comparison_data": {"parser": "default", "mappings": [{"token": "asciihword", "sequence": "1", "dictionary": "hungarian_stem"}, {"token": "asciiword", "sequence": "1", "dictionary": "hungarian_stem"}, {"token": "email", "sequence": "1", "dictionary": "simple"}, {"token": "file", "sequence": "1", "dictionary": "simple"}, {"token": "float", "sequence": "1", "dictionary": "simple"}, {"token": "host", "sequence": "1", "dictionary": "simple"}, {"token": "hword", "sequence": "1", "dictionary": "hungarian_stem"}, {"token": "hword_asciipart", "sequence": "1", "dictionary": "hungarian_stem"}, {"token": "hword_numpart", "sequence": "1", "dictionary": "simple"}, {"token": "hword_part", "sequence": "1", "dictionary": "hungarian_stem"}, {"token": "int", "sequence": "1", "dictionary": "simple"}, {"token": "numhword", "sequence": "1", "dictionary": "simple"}, {"token": "numword", "sequence": "1", "dictionary": "simple"}, {"token": "sfloat", "sequence": "1", "dictionary": "simple"}, {"token": "uint", "sequence": "1", "dictionary": "simple"}, {"token": "url", "sequence": "1", "dictionary": "simple"}, {"token": "url_path", "sequence": "1", "dictionary": "simple"}, {"token": "version", "sequence": "1", "dictionary": "simple"}, {"token": "word", "sequence": "1", "dictionary": "hungarian_stem"}]}, "comparison_hash": "4b14c26ff2f416b9bc0128f68a56146e71b77907078eeac0cbd0dfaf2af246dd", "manual_language": "zh", "description_zh_html": "<p>\u5168\u6587\u641c\u7d22\u914d\u7f6e hungarian\u3002</p><dl><dt>\u89e3\u6790\u5668</dt><dd><code>default</code></dd><dt>\u914d\u7f6e</dt><dd><code>hungarian</code></dd></dl><h3>\u8bcd\u5143\u4e0e\u8bcd\u5178\u6620\u5c04</h3><table><tr><th>\u8bcd\u5143\u7c7b\u578b</th><th>\u987a\u5e8f</th><th>\u8bcd\u5178</th></tr><tr><td><code>email</code></td><td><code>1</code></td><td><code>simple</code></td></tr><tr><td><code>url</code></td><td><code>1</code></td><td><code>simple</code></td></tr><tr><td><code>url_path</code></td><td><code>1</code></td><td><code>simple</code></td></tr><tr><td><code>host</code></td><td><code>1</code></td><td><code>simple</code></td></tr><tr><td><code>file</code></td><td><code>1</code></td><td><code>simple</code></td></tr><tr><td><code>version</code></td><td><code>1</code></td><td><code>simple</code></td></tr><tr><td><code>sfloat</code></td><td><code>1</code></td><td><code>simple</code></td></tr><tr><td><code>float</code></td><td><code>1</code></td><td><code>simple</code></td></tr><tr><td><code>int</code></td><td><code>1</code></td><td><code>simple</code></td></tr><tr><td><code>uint</code></td><td><code>1</code></td><td><code>simple</code></td></tr><tr><td><code>numword</code></td><td><code>1</code></td><td><code>simple</code></td></tr><tr><td><code>hword_numpart</code></td><td><code>1</code></td><td><code>simple</code></td></tr><tr><td><code>numhword</code></td><td><code>1</code></td><td><code>simple</code></td></tr><tr><td><code>asciiword</code></td><td><code>1</code></td><td><code>hungarian_stem</code></td></tr><tr><td><code>hword_asciipart</code></td><td><code>1</code></td><td><code>hungarian_stem</code></td></tr><tr><td><code>asciihword</code></td><td><code>1</code></td><td><code>hungarian_stem</code></td></tr><tr><td><code>word</code></td><td><code>1</code></td><td><code>hungarian_stem</code></td></tr><tr><td><code>hword_part</code></td><td><code>1</code></td><td><code>hungarian_stem</code></td></tr><tr><td><code>hword</code></td><td><code>1</code></td><td><code>hungarian_stem</code></td></tr></table><h3>\u540c\u7248\u672c\u4e2d\u6587\u624b\u518c\u8282\u9009</h3><p>    \u4e00\u4e2a\u6587\u672c\u68c0\u7d22\u914d\u7f6e\u6307\u5b9a\u4e86\u5c06\u4e00\u4e2a\u6587\u6863\u8f6c\u6362\u6210\u4e00\u4e2a <code>tsvector</code> \u6240\u9700\u7684\u6240\u6709\u9009\u9879\uff1a\u7528\u4e8e\u628a\u6587\u672c\u5206\u89e3\u6210\u8bcd\u5143\u7684\u89e3\u6790\u5668\uff0c\u4ee5\u53ca\u7528\u4e8e\u5c06\u6bcf\u4e00\u4e2a\u8bcd\u5143\u8f6c\u6362\u6210\u8bcd\u4f4d\u7684\u8bcd\u5178\u3002\u6bcf\u4e00\u6b21 <code>to_tsvector</code> \u6216 <code>to_tsquery</code> \u7684\u8c03\u7528\u90fd\u9700\u8981\u4e00\u4e2a\u6587\u672c\u68c0\u7d22\u914d\u7f6e\u6765\u6267\u884c\u5176\u5904\u7406\u3002\u914d\u7f6e\u53c2\u6570 <a href=\"/zh/docs/10/runtime-config-client.html#GUC-DEFAULT-TEXT-SEARCH-CONFIG\" rel=\"nofollow\">default_text_search_config</a> \u6307\u5b9a\u4e86\u9ed8\u8ba4\u914d\u7f6e\u7684\u540d\u79f0\uff0c\u5982\u679c\u7701\u7565\u4e86\u663e\u5f0f\u7684\u914d\u7f6e\u53c2\u6570\uff0c\u6587\u672c\u68c0\u7d22\u51fd\u6570\u5c06\u4f1a\u4f7f\u7528\u5b83\u3002\u5b83\u53ef\u4ee5\u5728 <code>postgresql.conf</code> \u4e2d\u8bbe\u7f6e\uff0c\u6216\u8005\u4f7f\u7528 <code>SET</code> \u547d\u4ee4\u4e3a\u4e00\u4e2a\u5355\u72ec\u7684\u4f1a\u8bdd\u8bbe\u7f6e\u3002\n   </p><p>    \u6709\u4e00\u4e9b\u9884\u5b9a\u4e49\u7684\u6587\u672c\u68c0\u7d22\u914d\u7f6e\u53ef\u7528\uff0c\u5e76\u4e14\u4f60\u53ef\u4ee5\u5bb9\u6613\u5730\u521b\u5efa\u81ea\u5b9a\u4e49\u7684\u914d\u7f6e\u3002\u4e3a\u4e86\u4fbf\u4e8e\u7ba1\u7406\u6587\u672c\u68c0\u7d22\u5bf9\u8c61\uff0c\u53ef\u4ee5\u4f7f\u7528\u4e00\u7ec4 <acronym>SQL</acronym> \u547d\u4ee4\uff0c\u5e76\u4e14\u6709\u591a\u4e2a <span>psql</span> \u547d\u4ee4\u53ef\u4ee5\u663e\u793a\u6709\u5173\u6587\u672c\u68c0\u7d22\u5bf9\u8c61\uff08<a href=\"/zh/docs/10/textsearch-psql.html\" rel=\"nofollow\">\u7b2c\u00a012.10\u00a0\u8282</a>\uff09\u7684\u4fe1\u606f\u3002\n   </p><p>    \u4f5c\u4e3a\u4e00\u4e2a\u793a\u4f8b\uff0c\u6211\u4eec\u5c06\u521b\u5efa\u4e00\u4e2a\u914d\u7f6e <code>pg</code>\uff0c\u4ece\u590d\u5236\u5185\u7f6e\u7684 <code>english</code> \u914d\u7f6e\u5f00\u59cb\uff1a\n\n</p><p>    \u6211\u4eec\u5c06\u4f7f\u7528\u4e00\u4e2a PostgreSQL \u76f8\u5173\u7684\u540c\u4e49\u8bcd\u5217\u8868\uff0c\u5e76\u5c06\u5b83\u5b58\u50a8\u5728 <code>$SHAREDIR/tsearch_data/pg_dict.syn</code> \u4e2d\u3002\u6587\u4ef6\u5185\u5bb9\u770b\u8d77\u6765\u50cf\uff1a\n\n</p><p><a href=\"/zh/docs/10/textsearch-configuration.html\" rel=\"nofollow\">\u67e5\u770b\u5b8c\u6574\u4e2d\u6587\u624b\u518c\u4e0e\u4e0a\u4e0b\u6587</a>\u3002</p>"}, "11": {"facts": [{"label": "\u914d\u7f6e", "value": "hungarian"}, {"label": "\u89e3\u6790\u5668", "value": "\u9ed8\u8ba4"}], "tables": [{"key": "mappings", "rows": [{"token": "email", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-simple/?v=11", "text": "simple"}}, {"token": "url", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-simple/?v=11", "text": "simple"}}, {"token": "url_path", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-simple/?v=11", "text": "simple"}}, {"token": "host", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-simple/?v=11", "text": "simple"}}, {"token": "file", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-simple/?v=11", "text": "simple"}}, {"token": "version", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-simple/?v=11", "text": "simple"}}, {"token": "sfloat", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-simple/?v=11", "text": "simple"}}, {"token": "float", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-simple/?v=11", "text": "simple"}}, {"token": "int", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-simple/?v=11", "text": "simple"}}, {"token": "uint", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-simple/?v=11", "text": "simple"}}, {"token": "numword", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-simple/?v=11", "text": "simple"}}, {"token": "hword_numpart", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-simple/?v=11", "text": "simple"}}, {"token": "numhword", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-simple/?v=11", "text": "simple"}}, {"token": "asciiword", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-hungarian_stem/?v=11", "text": "hungarian_stem"}}, {"token": "hword_asciipart", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-hungarian_stem/?v=11", "text": "hungarian_stem"}}, {"token": "asciihword", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-hungarian_stem/?v=11", "text": "hungarian_stem"}}, {"token": "word", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-hungarian_stem/?v=11", "text": "hungarian_stem"}}, {"token": "hword_part", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-hungarian_stem/?v=11", "text": "hungarian_stem"}}, {"token": "hword", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-hungarian_stem/?v=11", "text": "hungarian_stem"}}], "title": "\u8bcd\u5143\u5230\u8bcd\u5178\u7684\u6620\u5c04", "columns": [{"key": "token", "label": "\u8bcd\u5143\u7c7b\u578b"}, {"key": "sequence", "label": "\u987a\u5e8f"}, {"key": "dictionary", "label": "\u8bcd\u5178"}]}], "aliases": [], "related": [{"url": "/wiki/fts/parser-default/?v=11", "label": "\u9ed8\u8ba4\u89e3\u6790\u5668"}], "release": {"ref": "https://ftp.postgresql.org/pub/source/v11.22/postgresql-11.22.tar.bz2", "label": "11.22", "major": "11", "channel": "historical", "revision": "2cb7c97d7a0d7278851bbc9c61f467b69c094c72b81740b751108e7892ebe1f0", "source_sha256": "2cb7c97d7a0d7278851bbc9c61f467b69c094c72b81740b751108e7892ebe1f0", "catalog_fingerprint": "8f21f4444b7f68923f4762af0eb7937fa2907026e91249483e79050de012c901"}, "sources": [{"url": "https://ftp.postgresql.org/pub/source/v11.22/postgresql-11.22.tar.bz2", "label": "Matching PostgreSQL source archive", "sha256": "2cb7c97d7a0d7278851bbc9c61f467b69c094c72b81740b751108e7892ebe1f0"}, {"url": "/docs/11/textsearch-configuration.html", "path": "textsearch-configuration.html", "label": "PostgreSQL 11 English manual", "sha256": "bf93b35a8c82ba8d611561d5d3bdc8b4ee42b41e54c672111c89cb5a155232a2"}], "zh_from": {"kind": "same-version-chinese-manual-with-source-derived-structured-summary", "manual": {"url": "/zh/docs/11/textsearch-configuration.html", "anchor": "", "locale": "zh-Hans", "version": "11", "build_id": 64, "page_key": "textsearch-configuration.html", "extraction": "concept-introduction", "source_hash": "63a5e69fa94de1b5c6273e185f31fee9ed9ec4dac932e467c51f35fb3f9bec30", "fragment_sha256": "6fb6ad8e30e2798d47ea2cd0c9f97b0fd5ab1ddaf87316cd833ca1d8a82c3a83", "source_revision": "unknown:rendered-translation-baseline", "translation_revision": "snapshot:sha256:ef5c7bc074acae9795db16e6b7482aea3b222bd4bcce0f76831332b97a21e8a1", "translated_from_revision": null}, "body_sha256": "0be5153ba8f1b2cb8828b6479f8425dd2d07385d37d518be8493914ea59f8842", "runtime_rerun": false, "authored_translation": "source-derived-structured-summary", "source_facts_revision": "2cb7c97d7a0d7278851bbc9c61f467b69c094c72b81740b751108e7892ebe1f0"}, "facts_zh": [{"label": "\u914d\u7f6e", "value": "hungarian"}, {"label": "\u89e3\u6790\u5668", "value": "\u9ed8\u8ba4"}], "mappings": [{"token": "email", "sequence": "1", "dictionary": "simple"}, {"token": "url", "sequence": "1", "dictionary": "simple"}, {"token": "url_path", "sequence": "1", "dictionary": "simple"}, {"token": "host", "sequence": "1", "dictionary": "simple"}, {"token": "file", "sequence": "1", "dictionary": "simple"}, {"token": "version", "sequence": "1", "dictionary": "simple"}, {"token": "sfloat", "sequence": "1", "dictionary": "simple"}, {"token": "float", "sequence": "1", "dictionary": "simple"}, {"token": "int", "sequence": "1", "dictionary": "simple"}, {"token": "uint", "sequence": "1", "dictionary": "simple"}, {"token": "numword", "sequence": "1", "dictionary": "simple"}, {"token": "hword_numpart", "sequence": "1", "dictionary": "simple"}, {"token": "numhword", "sequence": "1", "dictionary": "simple"}, {"token": "asciiword", "sequence": "1", "dictionary": "hungarian_stem"}, {"token": "hword_asciipart", "sequence": "1", "dictionary": "hungarian_stem"}, {"token": "asciihword", "sequence": "1", "dictionary": "hungarian_stem"}, {"token": "word", "sequence": "1", "dictionary": "hungarian_stem"}, {"token": "hword_part", "sequence": "1", "dictionary": "hungarian_stem"}, {"token": "hword", "sequence": "1", "dictionary": "hungarian_stem"}], "sections": [{"code": "/*\n * text search configuration for hungarian language\n *\n * Copyright (c) 2007-2018, PostgreSQL Global Development Group\n *\n * src/backend/snowball/snowball.sql.in\n *\n * hungarian and certain other macros are replaced for each language;\n * see the Makefile for details.\n *\n * Note: this file is read in single-user -j mode, which means that the\n * command terminator is semicolon-newline-newline; whenever the backend\n * sees that, it stops and executes what it's got.  If you write a lot of\n * statements without empty lines between, they'll all get quoted to you\n * in any error message about one of them, so don't do that.  Also, you\n * cannot write a semicolon immediately followed by an empty line in a\n * string literal (including a function body!) or a multiline comment.\n */\n\nCREATE TEXT SEARCH DICTIONARY hungarian_stem\n\t(TEMPLATE = snowball, Language = hungarian , StopWords=hungarian);\n\nCOMMENT ON TEXT SEARCH DICTIONARY hungarian_stem IS 'snowball stemmer for hungarian language';\n\nCREATE TEXT SEARCH CONFIGURATION hungarian\n\t(PARSER = default);\n\nCOMMENT ON TEXT SEARCH CONFIGURATION hungarian IS 'configuration for hungarian language';\n\nALTER TEXT SEARCH CONFIGURATION hungarian ADD MAPPING\n\tFOR email, url, url_path, host, file, version,\n\t    sfloat, float, int, uint,\n\t    numword, hword_numpart, numhword\n\tWITH simple;\n\nALTER TEXT SEARCH CONFIGURATION hungarian ADD MAPPING\n    FOR asciiword, hword_asciipart, asciihword\n\tWITH hungarian_stem;\n\nALTER TEXT SEARCH CONFIGURATION hungarian ADD MAPPING\n    FOR word, hword_part, hword\n\tWITH hungarian_stem;", "title": "initdb \u751f\u6210\u7684\u5b9a\u4e49", "paragraphs": ["\u6839\u636e\u6b64\u7248\u672c\u7684 Snowball \u8bed\u8a00\u5217\u8868\u548c SQL \u6a21\u677f\u751f\u6210\u3002"]}], "center_zh": {"title": "hungarian", "locale": "zh-Hans", "source": {"key": "configuration-hungarian", "locale": "zh-Hans", "version": "11", "text_hash": "92a73a541583a4aba252a01d14684a39361340a8561e35e2a93a5af400df1ae8", "collection": "fts", "dataset_hash": "7c31b524dfe136022d39a6ae8dcfac6b3bbd5f8fdaf422536599981252aff0c9", "source_database": "center", "source_revision": "2cb7c97d7a0d7278851bbc9c61f467b69c094c72b81740b751108e7892ebe1f0"}, "payload": {"facts": [{"label": "\u914d\u7f6e", "value": "hungarian"}, {"label": "\u89e3\u6790\u5668", "value": "\u9ed8\u8ba4"}], "tables": [{"key": "mappings", "rows": [{"token": "email", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-simple/?v=11", "text": "simple"}}, {"token": "url", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-simple/?v=11", "text": "simple"}}, {"token": "url_path", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-simple/?v=11", "text": "simple"}}, {"token": "host", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-simple/?v=11", "text": "simple"}}, {"token": "file", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-simple/?v=11", "text": "simple"}}, {"token": "version", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-simple/?v=11", "text": "simple"}}, {"token": "sfloat", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-simple/?v=11", "text": "simple"}}, {"token": "float", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-simple/?v=11", "text": "simple"}}, {"token": "int", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-simple/?v=11", "text": "simple"}}, {"token": "uint", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-simple/?v=11", "text": "simple"}}, {"token": "numword", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-simple/?v=11", "text": "simple"}}, {"token": "hword_numpart", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-simple/?v=11", "text": "simple"}}, {"token": "numhword", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-simple/?v=11", "text": "simple"}}, {"token": "asciiword", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-hungarian_stem/?v=11", "text": "hungarian_stem"}}, {"token": "hword_asciipart", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-hungarian_stem/?v=11", "text": "hungarian_stem"}}, {"token": "asciihword", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-hungarian_stem/?v=11", "text": "hungarian_stem"}}, {"token": "word", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-hungarian_stem/?v=11", "text": "hungarian_stem"}}, {"token": "hword_part", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-hungarian_stem/?v=11", "text": "hungarian_stem"}}, {"token": "hword", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-hungarian_stem/?v=11", "text": "hungarian_stem"}}], "title": "\u8bcd\u5143\u5230\u8bcd\u5178\u7684\u6620\u5c04", "columns": [{"key": "token", "label": "\u8bcd\u5143\u7c7b\u578b"}, {"key": "sequence", "label": "\u987a\u5e8f"}, {"key": "dictionary", "label": "\u8bcd\u5178"}]}], "zh_from": {"kind": "same-version-chinese-manual-with-source-derived-structured-summary", "manual": {"url": "/zh/docs/11/textsearch-configuration.html", "anchor": "", "locale": "zh-Hans", "version": "11", "build_id": 64, "page_key": "textsearch-configuration.html", "extraction": "concept-introduction", "source_hash": "63a5e69fa94de1b5c6273e185f31fee9ed9ec4dac932e467c51f35fb3f9bec30", "fragment_sha256": "6fb6ad8e30e2798d47ea2cd0c9f97b0fd5ab1ddaf87316cd833ca1d8a82c3a83", "source_revision": "unknown:rendered-translation-baseline", "translation_revision": "snapshot:sha256:ef5c7bc074acae9795db16e6b7482aea3b222bd4bcce0f76831332b97a21e8a1", "translated_from_revision": null}, "body_sha256": "0be5153ba8f1b2cb8828b6479f8425dd2d07385d37d518be8493914ea59f8842", "runtime_rerun": false, "authored_translation": "source-derived-structured-summary", "source_facts_revision": "2cb7c97d7a0d7278851bbc9c61f467b69c094c72b81740b751108e7892ebe1f0"}, "sections": [{"code": "/*\n * text search configuration for hungarian language\n *\n * Copyright (c) 2007-2018, PostgreSQL Global Development Group\n *\n * src/backend/snowball/snowball.sql.in\n *\n * hungarian and certain other macros are replaced for each language;\n * see the Makefile for details.\n *\n * Note: this file is read in single-user -j mode, which means that the\n * command terminator is semicolon-newline-newline; whenever the backend\n * sees that, it stops and executes what it's got.  If you write a lot of\n * statements without empty lines between, they'll all get quoted to you\n * in any error message about one of them, so don't do that.  Also, you\n * cannot write a semicolon immediately followed by an empty line in a\n * string literal (including a function body!) or a multiline comment.\n */\n\nCREATE TEXT SEARCH DICTIONARY hungarian_stem\n\t(TEMPLATE = snowball, Language = hungarian , StopWords=hungarian);\n\nCOMMENT ON TEXT SEARCH DICTIONARY hungarian_stem IS 'snowball stemmer for hungarian language';\n\nCREATE TEXT SEARCH CONFIGURATION hungarian\n\t(PARSER = default);\n\nCOMMENT ON TEXT SEARCH CONFIGURATION hungarian IS 'configuration for hungarian language';\n\nALTER TEXT SEARCH CONFIGURATION hungarian ADD MAPPING\n\tFOR email, url, url_path, host, file, version,\n\t    sfloat, float, int, uint,\n\t    numword, hword_numpart, numhword\n\tWITH simple;\n\nALTER TEXT SEARCH CONFIGURATION hungarian ADD MAPPING\n    FOR asciiword, hword_asciipart, asciihword\n\tWITH hungarian_stem;\n\nALTER TEXT SEARCH CONFIGURATION hungarian ADD MAPPING\n    FOR word, hword_part, hword\n\tWITH hungarian_stem;", "title": "initdb \u751f\u6210\u7684\u5b9a\u4e49", "paragraphs": ["\u6839\u636e\u6b64\u7248\u672c\u7684 Snowball \u8bed\u8a00\u5217\u8868\u548c SQL \u6a21\u677f\u751f\u6210\u3002"]}], "description_zh": "\u5168\u6587\u641c\u7d22\u914d\u7f6e hungarian\u3002", "description_zh_html": "<p>\u5168\u6587\u641c\u7d22\u914d\u7f6e hungarian\u3002</p><dl><dt>\u89e3\u6790\u5668</dt><dd><code>default</code></dd><dt>\u914d\u7f6e</dt><dd><code>hungarian</code></dd></dl><h3>\u8bcd\u5143\u4e0e\u8bcd\u5178\u6620\u5c04</h3><table><tr><th>\u8bcd\u5143\u7c7b\u578b</th><th>\u987a\u5e8f</th><th>\u8bcd\u5178</th></tr><tr><td><code>email</code></td><td><code>1</code></td><td><code>simple</code></td></tr><tr><td><code>url</code></td><td><code>1</code></td><td><code>simple</code></td></tr><tr><td><code>url_path</code></td><td><code>1</code></td><td><code>simple</code></td></tr><tr><td><code>host</code></td><td><code>1</code></td><td><code>simple</code></td></tr><tr><td><code>file</code></td><td><code>1</code></td><td><code>simple</code></td></tr><tr><td><code>version</code></td><td><code>1</code></td><td><code>simple</code></td></tr><tr><td><code>sfloat</code></td><td><code>1</code></td><td><code>simple</code></td></tr><tr><td><code>float</code></td><td><code>1</code></td><td><code>simple</code></td></tr><tr><td><code>int</code></td><td><code>1</code></td><td><code>simple</code></td></tr><tr><td><code>uint</code></td><td><code>1</code></td><td><code>simple</code></td></tr><tr><td><code>numword</code></td><td><code>1</code></td><td><code>simple</code></td></tr><tr><td><code>hword_numpart</code></td><td><code>1</code></td><td><code>simple</code></td></tr><tr><td><code>numhword</code></td><td><code>1</code></td><td><code>simple</code></td></tr><tr><td><code>asciiword</code></td><td><code>1</code></td><td><code>hungarian_stem</code></td></tr><tr><td><code>hword_asciipart</code></td><td><code>1</code></td><td><code>hungarian_stem</code></td></tr><tr><td><code>asciihword</code></td><td><code>1</code></td><td><code>hungarian_stem</code></td></tr><tr><td><code>word</code></td><td><code>1</code></td><td><code>hungarian_stem</code></td></tr><tr><td><code>hword_part</code></td><td><code>1</code></td><td><code>hungarian_stem</code></td></tr><tr><td><code>hword</code></td><td><code>1</code></td><td><code>hungarian_stem</code></td></tr></table><h3>\u540c\u7248\u672c\u4e2d\u6587\u624b\u518c\u8282\u9009</h3><p>\n    \u4e00\u4e2a\u6587\u672c\u68c0\u7d22\u914d\u7f6e\u6307\u5b9a\u4e86\u5c06\u4e00\u4e2a\u6587\u6863\u8f6c\u6362\u6210\u4e00\u4e2a <code class=\"type\">tsvector</code> \u6240\u9700\u7684\u6240\u6709\u9009\u9879\uff1a\u7528\u4e8e\u628a\u6587\u672c\u5206\u89e3\u6210\u8bcd\u5143\u7684\u89e3\u6790\u5668\uff0c\u4ee5\u53ca\u7528\u4e8e\u5c06\u6bcf\u4e00\u4e2a\u8bcd\u5143\u8f6c\u6362\u6210\u8bcd\u4f4d\u7684\u8bcd\u5178\u3002\u6bcf\u4e00\u6b21 <code class=\"function\">to_tsvector</code> \u6216 <code class=\"function\">to_tsquery</code> \u7684\u8c03\u7528\u90fd\u9700\u8981\u4e00\u4e2a\u6587\u672c\u68c0\u7d22\u914d\u7f6e\u6765\u6267\u884c\u5176\u5904\u7406\u3002\u914d\u7f6e\u53c2\u6570 <a class=\"xref\" href=\"/zh/docs/11/runtime-config-client.html#GUC-DEFAULT-TEXT-SEARCH-CONFIG\">default_text_search_config</a> \u6307\u5b9a\u4e86\u9ed8\u8ba4\u914d\u7f6e\u7684\u540d\u79f0\uff0c\u5982\u679c\u7701\u7565\u4e86\u663e\u5f0f\u7684\u914d\u7f6e\u53c2\u6570\uff0c\u6587\u672c\u68c0\u7d22\u51fd\u6570\u5c06\u4f1a\u4f7f\u7528\u5b83\u3002\u5b83\u53ef\u4ee5\u5728 <code class=\"filename\">postgresql.conf</code> \u4e2d\u8bbe\u7f6e\uff0c\u6216\u8005\u4f7f\u7528 <code class=\"command\">SET</code> \u547d\u4ee4\u4e3a\u4e00\u4e2a\u5355\u72ec\u7684\u4f1a\u8bdd\u8bbe\u7f6e\u3002\n   </p><p>\n    \u6709\u4e00\u4e9b\u9884\u5b9a\u4e49\u7684\u6587\u672c\u68c0\u7d22\u914d\u7f6e\u53ef\u7528\uff0c\u5e76\u4e14\u4f60\u53ef\u4ee5\u5bb9\u6613\u5730\u521b\u5efa\u81ea\u5b9a\u4e49\u7684\u914d\u7f6e\u3002\u4e3a\u4e86\u4fbf\u4e8e\u7ba1\u7406\u6587\u672c\u68c0\u7d22\u5bf9\u8c61\uff0c\u53ef\u4ee5\u4f7f\u7528\u4e00\u7ec4 <acronym class=\"acronym\">SQL</acronym> \u547d\u4ee4\uff0c\u5e76\u4e14\u6709\u591a\u4e2a <span class=\"application\">psql</span> \u547d\u4ee4\u53ef\u4ee5\u663e\u793a\u6709\u5173\u6587\u672c\u68c0\u7d22\u5bf9\u8c61\uff08<a class=\"xref\" href=\"/zh/docs/11/textsearch-psql.html\">\u7b2c\u00a012.10\u00a0\u8282</a>\uff09\u7684\u4fe1\u606f\u3002\n   </p><p>\n    \u4f5c\u4e3a\u4e00\u4e2a\u793a\u4f8b\uff0c\u6211\u4eec\u5c06\u521b\u5efa\u4e00\u4e2a\u914d\u7f6e <code class=\"literal\">pg</code>\uff0c\u4ece\u590d\u5236\u5185\u7f6e\u7684 <code class=\"literal\">english</code> \u914d\u7f6e\u5f00\u59cb\uff1a\n\n</p><p>\n    \u6211\u4eec\u5c06\u4f7f\u7528\u4e00\u4e2a PostgreSQL \u76f8\u5173\u7684\u540c\u4e49\u8bcd\u5217\u8868\uff0c\u5e76\u5c06\u5b83\u5b58\u50a8\u5728 <code class=\"filename\">$SHAREDIR/tsearch_data/pg_dict.syn</code> \u4e2d\u3002\u6587\u4ef6\u5185\u5bb9\u770b\u8d77\u6765\u50cf\uff1a\n\n</p><p><a href=\"/zh/docs/11/textsearch-configuration.html\">\u67e5\u770b\u5b8c\u6574\u4e2d\u6587\u624b\u518c\u4e0e\u4e0a\u4e0b\u6587</a>\u3002</p>"}, "summary": "\u5168\u6587\u641c\u7d22\u914d\u7f6e hungarian\u3002", "version": "11", "link_map": {"/zh/docs/11/textsearch-psql.html": "/docs/11/textsearch-psql.html", "/zh/docs/11/textsearch-configuration.html": "/docs/11/textsearch-configuration.html", "/zh/docs/11/runtime-config-client.html#GUC-DEFAULT-TEXT-SEARCH-CONFIG": "/docs/11/runtime-config-client.html#GUC-DEFAULT-TEXT-SEARCH-CONFIG"}, "body_html": "<p>\u5168\u6587\u641c\u7d22\u914d\u7f6e hungarian\u3002</p><dl><dt>\u89e3\u6790\u5668</dt><dd><code>default</code></dd><dt>\u914d\u7f6e</dt><dd><code>hungarian</code></dd></dl><h3>\u8bcd\u5143\u4e0e\u8bcd\u5178\u6620\u5c04</h3><table><tr><th>\u8bcd\u5143\u7c7b\u578b</th><th>\u987a\u5e8f</th><th>\u8bcd\u5178</th></tr><tr><td><code>email</code></td><td><code>1</code></td><td><code>simple</code></td></tr><tr><td><code>url</code></td><td><code>1</code></td><td><code>simple</code></td></tr><tr><td><code>url_path</code></td><td><code>1</code></td><td><code>simple</code></td></tr><tr><td><code>host</code></td><td><code>1</code></td><td><code>simple</code></td></tr><tr><td><code>file</code></td><td><code>1</code></td><td><code>simple</code></td></tr><tr><td><code>version</code></td><td><code>1</code></td><td><code>simple</code></td></tr><tr><td><code>sfloat</code></td><td><code>1</code></td><td><code>simple</code></td></tr><tr><td><code>float</code></td><td><code>1</code></td><td><code>simple</code></td></tr><tr><td><code>int</code></td><td><code>1</code></td><td><code>simple</code></td></tr><tr><td><code>uint</code></td><td><code>1</code></td><td><code>simple</code></td></tr><tr><td><code>numword</code></td><td><code>1</code></td><td><code>simple</code></td></tr><tr><td><code>hword_numpart</code></td><td><code>1</code></td><td><code>simple</code></td></tr><tr><td><code>numhword</code></td><td><code>1</code></td><td><code>simple</code></td></tr><tr><td><code>asciiword</code></td><td><code>1</code></td><td><code>hungarian_stem</code></td></tr><tr><td><code>hword_asciipart</code></td><td><code>1</code></td><td><code>hungarian_stem</code></td></tr><tr><td><code>asciihword</code></td><td><code>1</code></td><td><code>hungarian_stem</code></td></tr><tr><td><code>word</code></td><td><code>1</code></td><td><code>hungarian_stem</code></td></tr><tr><td><code>hword_part</code></td><td><code>1</code></td><td><code>hungarian_stem</code></td></tr><tr><td><code>hword</code></td><td><code>1</code></td><td><code>hungarian_stem</code></td></tr></table><h3>\u540c\u7248\u672c\u4e2d\u6587\u624b\u518c\u8282\u9009</h3><p>\n    \u4e00\u4e2a\u6587\u672c\u68c0\u7d22\u914d\u7f6e\u6307\u5b9a\u4e86\u5c06\u4e00\u4e2a\u6587\u6863\u8f6c\u6362\u6210\u4e00\u4e2a <code>tsvector</code> \u6240\u9700\u7684\u6240\u6709\u9009\u9879\uff1a\u7528\u4e8e\u628a\u6587\u672c\u5206\u89e3\u6210\u8bcd\u5143\u7684\u89e3\u6790\u5668\uff0c\u4ee5\u53ca\u7528\u4e8e\u5c06\u6bcf\u4e00\u4e2a\u8bcd\u5143\u8f6c\u6362\u6210\u8bcd\u4f4d\u7684\u8bcd\u5178\u3002\u6bcf\u4e00\u6b21 <code>to_tsvector</code> \u6216 <code>to_tsquery</code> \u7684\u8c03\u7528\u90fd\u9700\u8981\u4e00\u4e2a\u6587\u672c\u68c0\u7d22\u914d\u7f6e\u6765\u6267\u884c\u5176\u5904\u7406\u3002\u914d\u7f6e\u53c2\u6570 <a href=\"/zh/docs/11/runtime-config-client.html#GUC-DEFAULT-TEXT-SEARCH-CONFIG\" rel=\"nofollow\">default_text_search_config</a> \u6307\u5b9a\u4e86\u9ed8\u8ba4\u914d\u7f6e\u7684\u540d\u79f0\uff0c\u5982\u679c\u7701\u7565\u4e86\u663e\u5f0f\u7684\u914d\u7f6e\u53c2\u6570\uff0c\u6587\u672c\u68c0\u7d22\u51fd\u6570\u5c06\u4f1a\u4f7f\u7528\u5b83\u3002\u5b83\u53ef\u4ee5\u5728 <code>postgresql.conf</code> \u4e2d\u8bbe\u7f6e\uff0c\u6216\u8005\u4f7f\u7528 <code>SET</code> \u547d\u4ee4\u4e3a\u4e00\u4e2a\u5355\u72ec\u7684\u4f1a\u8bdd\u8bbe\u7f6e\u3002\n   </p><p>\n    \u6709\u4e00\u4e9b\u9884\u5b9a\u4e49\u7684\u6587\u672c\u68c0\u7d22\u914d\u7f6e\u53ef\u7528\uff0c\u5e76\u4e14\u4f60\u53ef\u4ee5\u5bb9\u6613\u5730\u521b\u5efa\u81ea\u5b9a\u4e49\u7684\u914d\u7f6e\u3002\u4e3a\u4e86\u4fbf\u4e8e\u7ba1\u7406\u6587\u672c\u68c0\u7d22\u5bf9\u8c61\uff0c\u53ef\u4ee5\u4f7f\u7528\u4e00\u7ec4 <acronym>SQL</acronym> \u547d\u4ee4\uff0c\u5e76\u4e14\u6709\u591a\u4e2a <span>psql</span> \u547d\u4ee4\u53ef\u4ee5\u663e\u793a\u6709\u5173\u6587\u672c\u68c0\u7d22\u5bf9\u8c61\uff08<a href=\"/zh/docs/11/textsearch-psql.html\" rel=\"nofollow\">\u7b2c\u00a012.10\u00a0\u8282</a>\uff09\u7684\u4fe1\u606f\u3002\n   </p><p>\n    \u4f5c\u4e3a\u4e00\u4e2a\u793a\u4f8b\uff0c\u6211\u4eec\u5c06\u521b\u5efa\u4e00\u4e2a\u914d\u7f6e <code>pg</code>\uff0c\u4ece\u590d\u5236\u5185\u7f6e\u7684 <code>english</code> \u914d\u7f6e\u5f00\u59cb\uff1a\n\n</p><p>\n    \u6211\u4eec\u5c06\u4f7f\u7528\u4e00\u4e2a PostgreSQL \u76f8\u5173\u7684\u540c\u4e49\u8bcd\u5217\u8868\uff0c\u5e76\u5c06\u5b83\u5b58\u50a8\u5728 <code>$SHAREDIR/tsearch_data/pg_dict.syn</code> \u4e2d\u3002\u6587\u4ef6\u5185\u5bb9\u770b\u8d77\u6765\u50cf\uff1a\n\n</p><p><a href=\"/zh/docs/11/textsearch-configuration.html\" rel=\"nofollow\">\u67e5\u770b\u5b8c\u6574\u4e2d\u6587\u624b\u518c\u4e0e\u4e0a\u4e0b\u6587</a>\u3002</p>", "body_sha256": "75b84120dbc44f4a3a549b6e7e2a062e1e0c6e8b836cfd3e4cfc33628a519125", "content_hash": "92a73a541583a4aba252a01d14684a39361340a8561e35e2a93a5af400df1ae8", "source_database": "center", "source_revision": "2cb7c97d7a0d7278851bbc9c61f467b69c094c72b81740b751108e7892ebe1f0"}, "signature": "", "tables_zh": [{"key": "mappings", "rows": [{"token": "email", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-simple/?v=11", "text": "simple"}}, {"token": "url", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-simple/?v=11", "text": "simple"}}, {"token": "url_path", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-simple/?v=11", "text": "simple"}}, {"token": "host", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-simple/?v=11", "text": "simple"}}, {"token": "file", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-simple/?v=11", "text": "simple"}}, {"token": "version", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-simple/?v=11", "text": "simple"}}, {"token": "sfloat", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-simple/?v=11", "text": "simple"}}, {"token": "float", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-simple/?v=11", "text": "simple"}}, {"token": "int", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-simple/?v=11", "text": "simple"}}, {"token": "uint", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-simple/?v=11", "text": "simple"}}, {"token": "numword", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-simple/?v=11", "text": "simple"}}, {"token": "hword_numpart", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-simple/?v=11", "text": "simple"}}, {"token": "numhword", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-simple/?v=11", "text": "simple"}}, {"token": "asciiword", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-hungarian_stem/?v=11", "text": "hungarian_stem"}}, {"token": "hword_asciipart", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-hungarian_stem/?v=11", "text": "hungarian_stem"}}, {"token": "asciihword", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-hungarian_stem/?v=11", "text": "hungarian_stem"}}, {"token": "word", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-hungarian_stem/?v=11", "text": "hungarian_stem"}}, {"token": "hword_part", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-hungarian_stem/?v=11", "text": "hungarian_stem"}}, {"token": "hword", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-hungarian_stem/?v=11", "text": "hungarian_stem"}}], "title": "\u8bcd\u5143\u5230\u8bcd\u5178\u7684\u6620\u5c04", "columns": [{"key": "token", "label": "\u8bcd\u5143\u7c7b\u578b"}, {"key": "sequence", "label": "\u987a\u5e8f"}, {"key": "dictionary", "label": "\u8bcd\u5178"}]}], "attributes": {"parser": "default", "configuration": "hungarian"}, "description": ["\u5168\u6587\u641c\u7d22\u914d\u7f6e hungarian\u3002"], "manual_html": "", "manual_path": "/docs/11/textsearch-configuration.html", "sections_zh": [{"code": "/*\n * text search configuration for hungarian language\n *\n * Copyright (c) 2007-2018, PostgreSQL Global Development Group\n *\n * src/backend/snowball/snowball.sql.in\n *\n * hungarian and certain other macros are replaced for each language;\n * see the Makefile for details.\n *\n * Note: this file is read in single-user -j mode, which means that the\n * command terminator is semicolon-newline-newline; whenever the backend\n * sees that, it stops and executes what it's got.  If you write a lot of\n * statements without empty lines between, they'll all get quoted to you\n * in any error message about one of them, so don't do that.  Also, you\n * cannot write a semicolon immediately followed by an empty line in a\n * string literal (including a function body!) or a multiline comment.\n */\n\nCREATE TEXT SEARCH DICTIONARY hungarian_stem\n\t(TEMPLATE = snowball, Language = hungarian , StopWords=hungarian);\n\nCOMMENT ON TEXT SEARCH DICTIONARY hungarian_stem IS 'snowball stemmer for hungarian language';\n\nCREATE TEXT SEARCH CONFIGURATION hungarian\n\t(PARSER = default);\n\nCOMMENT ON TEXT SEARCH CONFIGURATION hungarian IS 'configuration for hungarian language';\n\nALTER TEXT SEARCH CONFIGURATION hungarian ADD MAPPING\n\tFOR email, url, url_path, host, file, version,\n\t    sfloat, float, int, uint,\n\t    numword, hword_numpart, numhword\n\tWITH simple;\n\nALTER TEXT SEARCH CONFIGURATION hungarian ADD MAPPING\n    FOR asciiword, hword_asciipart, asciihword\n\tWITH hungarian_stem;\n\nALTER TEXT SEARCH CONFIGURATION hungarian ADD MAPPING\n    FOR word, hword_part, hword\n\tWITH hungarian_stem;", "title": "initdb \u751f\u6210\u7684\u5b9a\u4e49", "paragraphs": ["\u6839\u636e\u6b64\u7248\u672c\u7684 Snowball \u8bed\u8a00\u5217\u8868\u548c SQL \u6a21\u677f\u751f\u6210\u3002"]}], "localization": {"status": "complete", "sources": [{"url": "/docs/11/catalog-pg-amproc.html", "method": "same-major semantic node", "sha256": "7ad7e846ec09450a32d553c5718a050e24b5ff527c43269e1647e4cf84a6b25c", "language": "zh", "matched_nodes": ["#CATALOG-PG-AMPROC/p[5]/span[2]/span[0]"]}, {"url": "/docs/11/textsearch-configuration.html", "method": "same-major semantic node", "sha256": "6603b6eb7af2eaa1cdd357048249c729d5898fe8d132afae2e39560c7387134b", "language": "zh", "matched_nodes": ["#TEXTSEARCH-CONFIGURATION/div[0]", "#TEXTSEARCH-CONFIGURATION/p[11]", "#TEXTSEARCH-CONFIGURATION/p[13]", "#TEXTSEARCH-CONFIGURATION/p[15]", "#TEXTSEARCH-CONFIGURATION/p[17]", "#TEXTSEARCH-CONFIGURATION/p[1]", "#TEXTSEARCH-CONFIGURATION/p[2]", "#TEXTSEARCH-CONFIGURATION/p[3]", "#TEXTSEARCH-CONFIGURATION/p[5]", "#TEXTSEARCH-CONFIGURATION/p[7]", "#TEXTSEARCH-CONFIGURATION/p[9]"]}], "language": "zh", "original_text": {"/versions/11/description/0": "Text search configuration hungarian.", "/versions/11/facts/0/label": "Configuration", "/versions/11/facts/1/label": "Parser", "/versions/11/facts/1/value": "default", "/versions/11/tables/0/title": "Token-to-dictionary mappings", "/versions/11/related/0/label": "default parser", "/versions/11/sections/0/title": "Generated initdb definition", "/versions/11/sections/0/paragraphs/0": "Generated from this release\u2019s Snowball language list and SQL template.", "/versions/11/tables/0/columns/0/label": "Token type", "/versions/11/tables/0/columns/1/label": "Order", "/versions/11/tables/0/columns/2/label": "Dictionary"}, "fallback_fields": [], "source_language": "en", "original_snapshot_sha256": "82c98000da3158c088ffe0d7ceff9d4507111e9d3f0d57e72d57e0a841928de1", "canonical_center_text_hash": "92a73a541583a4aba252a01d14684a39361340a8561e35e2a93a5af400df1ae8"}, "description_zh": "\u5168\u6587\u641c\u7d22\u914d\u7f6e hungarian\u3002", "comparison_data": {"parser": "default", "mappings": [{"token": "asciihword", "sequence": "1", "dictionary": "hungarian_stem"}, {"token": "asciiword", "sequence": "1", "dictionary": "hungarian_stem"}, {"token": "email", "sequence": "1", "dictionary": "simple"}, {"token": "file", "sequence": "1", "dictionary": "simple"}, {"token": "float", "sequence": "1", "dictionary": "simple"}, {"token": "host", "sequence": "1", "dictionary": "simple"}, {"token": "hword", "sequence": "1", "dictionary": "hungarian_stem"}, {"token": "hword_asciipart", "sequence": "1", "dictionary": "hungarian_stem"}, {"token": "hword_numpart", "sequence": "1", "dictionary": "simple"}, {"token": "hword_part", "sequence": "1", "dictionary": "hungarian_stem"}, {"token": "int", "sequence": "1", "dictionary": "simple"}, {"token": "numhword", "sequence": "1", "dictionary": "simple"}, {"token": "numword", "sequence": "1", "dictionary": "simple"}, {"token": "sfloat", "sequence": "1", "dictionary": "simple"}, {"token": "uint", "sequence": "1", "dictionary": "simple"}, {"token": "url", "sequence": "1", "dictionary": "simple"}, {"token": "url_path", "sequence": "1", "dictionary": "simple"}, {"token": "version", "sequence": "1", "dictionary": "simple"}, {"token": "word", "sequence": "1", "dictionary": "hungarian_stem"}]}, "comparison_hash": "4b14c26ff2f416b9bc0128f68a56146e71b77907078eeac0cbd0dfaf2af246dd", "manual_language": "zh", "description_zh_html": "<p>\u5168\u6587\u641c\u7d22\u914d\u7f6e hungarian\u3002</p><dl><dt>\u89e3\u6790\u5668</dt><dd><code>default</code></dd><dt>\u914d\u7f6e</dt><dd><code>hungarian</code></dd></dl><h3>\u8bcd\u5143\u4e0e\u8bcd\u5178\u6620\u5c04</h3><table><tr><th>\u8bcd\u5143\u7c7b\u578b</th><th>\u987a\u5e8f</th><th>\u8bcd\u5178</th></tr><tr><td><code>email</code></td><td><code>1</code></td><td><code>simple</code></td></tr><tr><td><code>url</code></td><td><code>1</code></td><td><code>simple</code></td></tr><tr><td><code>url_path</code></td><td><code>1</code></td><td><code>simple</code></td></tr><tr><td><code>host</code></td><td><code>1</code></td><td><code>simple</code></td></tr><tr><td><code>file</code></td><td><code>1</code></td><td><code>simple</code></td></tr><tr><td><code>version</code></td><td><code>1</code></td><td><code>simple</code></td></tr><tr><td><code>sfloat</code></td><td><code>1</code></td><td><code>simple</code></td></tr><tr><td><code>float</code></td><td><code>1</code></td><td><code>simple</code></td></tr><tr><td><code>int</code></td><td><code>1</code></td><td><code>simple</code></td></tr><tr><td><code>uint</code></td><td><code>1</code></td><td><code>simple</code></td></tr><tr><td><code>numword</code></td><td><code>1</code></td><td><code>simple</code></td></tr><tr><td><code>hword_numpart</code></td><td><code>1</code></td><td><code>simple</code></td></tr><tr><td><code>numhword</code></td><td><code>1</code></td><td><code>simple</code></td></tr><tr><td><code>asciiword</code></td><td><code>1</code></td><td><code>hungarian_stem</code></td></tr><tr><td><code>hword_asciipart</code></td><td><code>1</code></td><td><code>hungarian_stem</code></td></tr><tr><td><code>asciihword</code></td><td><code>1</code></td><td><code>hungarian_stem</code></td></tr><tr><td><code>word</code></td><td><code>1</code></td><td><code>hungarian_stem</code></td></tr><tr><td><code>hword_part</code></td><td><code>1</code></td><td><code>hungarian_stem</code></td></tr><tr><td><code>hword</code></td><td><code>1</code></td><td><code>hungarian_stem</code></td></tr></table><h3>\u540c\u7248\u672c\u4e2d\u6587\u624b\u518c\u8282\u9009</h3><p>\n    \u4e00\u4e2a\u6587\u672c\u68c0\u7d22\u914d\u7f6e\u6307\u5b9a\u4e86\u5c06\u4e00\u4e2a\u6587\u6863\u8f6c\u6362\u6210\u4e00\u4e2a <code>tsvector</code> \u6240\u9700\u7684\u6240\u6709\u9009\u9879\uff1a\u7528\u4e8e\u628a\u6587\u672c\u5206\u89e3\u6210\u8bcd\u5143\u7684\u89e3\u6790\u5668\uff0c\u4ee5\u53ca\u7528\u4e8e\u5c06\u6bcf\u4e00\u4e2a\u8bcd\u5143\u8f6c\u6362\u6210\u8bcd\u4f4d\u7684\u8bcd\u5178\u3002\u6bcf\u4e00\u6b21 <code>to_tsvector</code> \u6216 <code>to_tsquery</code> \u7684\u8c03\u7528\u90fd\u9700\u8981\u4e00\u4e2a\u6587\u672c\u68c0\u7d22\u914d\u7f6e\u6765\u6267\u884c\u5176\u5904\u7406\u3002\u914d\u7f6e\u53c2\u6570 <a href=\"/zh/docs/11/runtime-config-client.html#GUC-DEFAULT-TEXT-SEARCH-CONFIG\" rel=\"nofollow\">default_text_search_config</a> \u6307\u5b9a\u4e86\u9ed8\u8ba4\u914d\u7f6e\u7684\u540d\u79f0\uff0c\u5982\u679c\u7701\u7565\u4e86\u663e\u5f0f\u7684\u914d\u7f6e\u53c2\u6570\uff0c\u6587\u672c\u68c0\u7d22\u51fd\u6570\u5c06\u4f1a\u4f7f\u7528\u5b83\u3002\u5b83\u53ef\u4ee5\u5728 <code>postgresql.conf</code> \u4e2d\u8bbe\u7f6e\uff0c\u6216\u8005\u4f7f\u7528 <code>SET</code> \u547d\u4ee4\u4e3a\u4e00\u4e2a\u5355\u72ec\u7684\u4f1a\u8bdd\u8bbe\u7f6e\u3002\n   </p><p>\n    \u6709\u4e00\u4e9b\u9884\u5b9a\u4e49\u7684\u6587\u672c\u68c0\u7d22\u914d\u7f6e\u53ef\u7528\uff0c\u5e76\u4e14\u4f60\u53ef\u4ee5\u5bb9\u6613\u5730\u521b\u5efa\u81ea\u5b9a\u4e49\u7684\u914d\u7f6e\u3002\u4e3a\u4e86\u4fbf\u4e8e\u7ba1\u7406\u6587\u672c\u68c0\u7d22\u5bf9\u8c61\uff0c\u53ef\u4ee5\u4f7f\u7528\u4e00\u7ec4 <acronym>SQL</acronym> \u547d\u4ee4\uff0c\u5e76\u4e14\u6709\u591a\u4e2a <span>psql</span> \u547d\u4ee4\u53ef\u4ee5\u663e\u793a\u6709\u5173\u6587\u672c\u68c0\u7d22\u5bf9\u8c61\uff08<a href=\"/zh/docs/11/textsearch-psql.html\" rel=\"nofollow\">\u7b2c\u00a012.10\u00a0\u8282</a>\uff09\u7684\u4fe1\u606f\u3002\n   </p><p>\n    \u4f5c\u4e3a\u4e00\u4e2a\u793a\u4f8b\uff0c\u6211\u4eec\u5c06\u521b\u5efa\u4e00\u4e2a\u914d\u7f6e <code>pg</code>\uff0c\u4ece\u590d\u5236\u5185\u7f6e\u7684 <code>english</code> \u914d\u7f6e\u5f00\u59cb\uff1a\n\n</p><p>\n    \u6211\u4eec\u5c06\u4f7f\u7528\u4e00\u4e2a PostgreSQL \u76f8\u5173\u7684\u540c\u4e49\u8bcd\u5217\u8868\uff0c\u5e76\u5c06\u5b83\u5b58\u50a8\u5728 <code>$SHAREDIR/tsearch_data/pg_dict.syn</code> \u4e2d\u3002\u6587\u4ef6\u5185\u5bb9\u770b\u8d77\u6765\u50cf\uff1a\n\n</p><p><a href=\"/zh/docs/11/textsearch-configuration.html\" rel=\"nofollow\">\u67e5\u770b\u5b8c\u6574\u4e2d\u6587\u624b\u518c\u4e0e\u4e0a\u4e0b\u6587</a>\u3002</p>"}, "12": {"facts": [{"label": "\u914d\u7f6e", "value": "hungarian"}, {"label": "\u89e3\u6790\u5668", "value": "\u9ed8\u8ba4"}], "tables": [{"key": "mappings", "rows": [{"token": "email", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-simple/?v=12", "text": "simple"}}, {"token": "url", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-simple/?v=12", "text": "simple"}}, {"token": "url_path", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-simple/?v=12", "text": "simple"}}, {"token": "host", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-simple/?v=12", "text": "simple"}}, {"token": "file", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-simple/?v=12", "text": "simple"}}, {"token": "version", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-simple/?v=12", "text": "simple"}}, {"token": "sfloat", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-simple/?v=12", "text": "simple"}}, {"token": "float", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-simple/?v=12", "text": "simple"}}, {"token": "int", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-simple/?v=12", "text": "simple"}}, {"token": "uint", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-simple/?v=12", "text": "simple"}}, {"token": "numword", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-simple/?v=12", "text": "simple"}}, {"token": "hword_numpart", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-simple/?v=12", "text": "simple"}}, {"token": "numhword", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-simple/?v=12", "text": "simple"}}, {"token": "asciiword", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-hungarian_stem/?v=12", "text": "hungarian_stem"}}, {"token": "hword_asciipart", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-hungarian_stem/?v=12", "text": "hungarian_stem"}}, {"token": "asciihword", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-hungarian_stem/?v=12", "text": "hungarian_stem"}}, {"token": "word", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-hungarian_stem/?v=12", "text": "hungarian_stem"}}, {"token": "hword_part", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-hungarian_stem/?v=12", "text": "hungarian_stem"}}, {"token": "hword", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-hungarian_stem/?v=12", "text": "hungarian_stem"}}], "title": "\u8bcd\u5143\u5230\u8bcd\u5178\u7684\u6620\u5c04", "columns": [{"key": "token", "label": "\u8bcd\u5143\u7c7b\u578b"}, {"key": "sequence", "label": "\u987a\u5e8f"}, {"key": "dictionary", "label": "\u8bcd\u5178"}]}], "aliases": [], "related": [{"url": "/wiki/fts/parser-default/?v=12", "label": "\u9ed8\u8ba4\u89e3\u6790\u5668"}], "release": {"ref": "https://ftp.postgresql.org/pub/source/v12.22/postgresql-12.22.tar.bz2", "label": "12.22", "major": "12", "channel": "historical", "revision": "8df3c0474782589d3c6f374b5133b1bd14d168086edbc13c6e72e67dd4527a3b", "source_sha256": "8df3c0474782589d3c6f374b5133b1bd14d168086edbc13c6e72e67dd4527a3b", "catalog_fingerprint": "9f857f4ee4875f9c7de6bfc9df4b757dec8b3a0bb88eadb519c7bd267bd56149"}, "sources": [{"url": "https://ftp.postgresql.org/pub/source/v12.22/postgresql-12.22.tar.bz2", "label": "Matching PostgreSQL source archive", "sha256": "8df3c0474782589d3c6f374b5133b1bd14d168086edbc13c6e72e67dd4527a3b"}, {"url": "/docs/12/textsearch-configuration.html", "path": "textsearch-configuration.html", "label": "PostgreSQL 12 English manual", "sha256": "94f68950017a5a2943715e16826e1b0d1c9d766744e57328087731598fa234b2"}], "zh_from": {"kind": "same-version-chinese-manual-with-source-derived-structured-summary", "manual": {"url": "/zh/docs/12/textsearch-configuration.html", "anchor": "", "locale": "zh-Hans", "version": "12", "build_id": 65, "page_key": "textsearch-configuration.html", "extraction": "concept-introduction", "source_hash": "3cf89ace4969d59c614abae24d2e1bae0d058dc0c728a39993298eb902134821", "fragment_sha256": "e9a6e573f8e820ff60ed7543c7a202efa4b4f6331b6c4bac446d08cc263bea9a", "source_revision": "unknown:rendered-translation-baseline", "translation_revision": "snapshot:sha256:86d2ff781f93e1de17122ebc514d5e64fcb63fed15941f496d7e146c6dcc7a49", "translated_from_revision": null}, "body_sha256": "2aaa580b005f03447ea76cec8f3e963ad9986c0129bba70acce787f0b66becb8", "runtime_rerun": false, "authored_translation": "source-derived-structured-summary", "source_facts_revision": "8df3c0474782589d3c6f374b5133b1bd14d168086edbc13c6e72e67dd4527a3b"}, "facts_zh": [{"label": "\u914d\u7f6e", "value": "hungarian"}, {"label": "\u89e3\u6790\u5668", "value": "\u9ed8\u8ba4"}], "mappings": [{"token": "email", "sequence": "1", "dictionary": "simple"}, {"token": "url", "sequence": "1", "dictionary": "simple"}, {"token": "url_path", "sequence": "1", "dictionary": "simple"}, {"token": "host", "sequence": "1", "dictionary": "simple"}, {"token": "file", "sequence": "1", "dictionary": "simple"}, {"token": "version", "sequence": "1", "dictionary": "simple"}, {"token": "sfloat", "sequence": "1", "dictionary": "simple"}, {"token": "float", "sequence": "1", "dictionary": "simple"}, {"token": "int", "sequence": "1", "dictionary": "simple"}, {"token": "uint", "sequence": "1", "dictionary": "simple"}, {"token": "numword", "sequence": "1", "dictionary": "simple"}, {"token": "hword_numpart", "sequence": "1", "dictionary": "simple"}, {"token": "numhword", "sequence": "1", "dictionary": "simple"}, {"token": "asciiword", "sequence": "1", "dictionary": "hungarian_stem"}, {"token": "hword_asciipart", "sequence": "1", "dictionary": "hungarian_stem"}, {"token": "asciihword", "sequence": "1", "dictionary": "hungarian_stem"}, {"token": "word", "sequence": "1", "dictionary": "hungarian_stem"}, {"token": "hword_part", "sequence": "1", "dictionary": "hungarian_stem"}, {"token": "hword", "sequence": "1", "dictionary": "hungarian_stem"}], "sections": [{"code": "/*\n * text search configuration for hungarian language\n *\n * Copyright (c) 2007-2019, PostgreSQL Global Development Group\n *\n * src/backend/snowball/snowball.sql.in\n *\n * hungarian and certain other macros are replaced for each language;\n * see the Makefile for details.\n *\n * Note: this file is read in single-user -j mode, which means that the\n * command terminator is semicolon-newline-newline; whenever the backend\n * sees that, it stops and executes what it's got.  If you write a lot of\n * statements without empty lines between, they'll all get quoted to you\n * in any error message about one of them, so don't do that.  Also, you\n * cannot write a semicolon immediately followed by an empty line in a\n * string literal (including a function body!) or a multiline comment.\n */\n\nCREATE TEXT SEARCH DICTIONARY hungarian_stem\n\t(TEMPLATE = snowball, Language = hungarian , StopWords=hungarian);\n\nCOMMENT ON TEXT SEARCH DICTIONARY hungarian_stem IS 'snowball stemmer for hungarian language';\n\nCREATE TEXT SEARCH CONFIGURATION hungarian\n\t(PARSER = default);\n\nCOMMENT ON TEXT SEARCH CONFIGURATION hungarian IS 'configuration for hungarian language';\n\nALTER TEXT SEARCH CONFIGURATION hungarian ADD MAPPING\n\tFOR email, url, url_path, host, file, version,\n\t    sfloat, float, int, uint,\n\t    numword, hword_numpart, numhword\n\tWITH simple;\n\nALTER TEXT SEARCH CONFIGURATION hungarian ADD MAPPING\n    FOR asciiword, hword_asciipart, asciihword\n\tWITH hungarian_stem;\n\nALTER TEXT SEARCH CONFIGURATION hungarian ADD MAPPING\n    FOR word, hword_part, hword\n\tWITH hungarian_stem;", "title": "initdb \u751f\u6210\u7684\u5b9a\u4e49", "paragraphs": ["\u6839\u636e\u6b64\u7248\u672c\u7684 Snowball \u8bed\u8a00\u5217\u8868\u548c SQL \u6a21\u677f\u751f\u6210\u3002"]}], "center_zh": {"title": "hungarian", "locale": "zh-Hans", "source": {"key": "configuration-hungarian", "locale": "zh-Hans", "version": "12", "text_hash": "4ba6e6372dd76f00c83beeeaf6e4f897040000c1caa0763b5b0abf0684a4aa68", "collection": "fts", "dataset_hash": "7c31b524dfe136022d39a6ae8dcfac6b3bbd5f8fdaf422536599981252aff0c9", "source_database": "center", "source_revision": "8df3c0474782589d3c6f374b5133b1bd14d168086edbc13c6e72e67dd4527a3b"}, "payload": {"facts": [{"label": "\u914d\u7f6e", "value": "hungarian"}, {"label": "\u89e3\u6790\u5668", "value": "\u9ed8\u8ba4"}], "tables": [{"key": "mappings", "rows": [{"token": "email", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-simple/?v=12", "text": "simple"}}, {"token": "url", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-simple/?v=12", "text": "simple"}}, {"token": "url_path", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-simple/?v=12", "text": "simple"}}, {"token": "host", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-simple/?v=12", "text": "simple"}}, {"token": "file", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-simple/?v=12", "text": "simple"}}, {"token": "version", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-simple/?v=12", "text": "simple"}}, {"token": "sfloat", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-simple/?v=12", "text": "simple"}}, {"token": "float", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-simple/?v=12", "text": "simple"}}, {"token": "int", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-simple/?v=12", "text": "simple"}}, {"token": "uint", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-simple/?v=12", "text": "simple"}}, {"token": "numword", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-simple/?v=12", "text": "simple"}}, {"token": "hword_numpart", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-simple/?v=12", "text": "simple"}}, {"token": "numhword", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-simple/?v=12", "text": "simple"}}, {"token": "asciiword", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-hungarian_stem/?v=12", "text": "hungarian_stem"}}, {"token": "hword_asciipart", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-hungarian_stem/?v=12", "text": "hungarian_stem"}}, {"token": "asciihword", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-hungarian_stem/?v=12", "text": "hungarian_stem"}}, {"token": "word", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-hungarian_stem/?v=12", "text": "hungarian_stem"}}, {"token": "hword_part", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-hungarian_stem/?v=12", "text": "hungarian_stem"}}, {"token": "hword", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-hungarian_stem/?v=12", "text": "hungarian_stem"}}], "title": "\u8bcd\u5143\u5230\u8bcd\u5178\u7684\u6620\u5c04", "columns": [{"key": "token", "label": "\u8bcd\u5143\u7c7b\u578b"}, {"key": "sequence", "label": "\u987a\u5e8f"}, {"key": "dictionary", "label": "\u8bcd\u5178"}]}], "zh_from": {"kind": "same-version-chinese-manual-with-source-derived-structured-summary", "manual": {"url": "/zh/docs/12/textsearch-configuration.html", "anchor": "", "locale": "zh-Hans", "version": "12", "build_id": 65, "page_key": "textsearch-configuration.html", "extraction": "concept-introduction", "source_hash": "3cf89ace4969d59c614abae24d2e1bae0d058dc0c728a39993298eb902134821", "fragment_sha256": "e9a6e573f8e820ff60ed7543c7a202efa4b4f6331b6c4bac446d08cc263bea9a", "source_revision": "unknown:rendered-translation-baseline", "translation_revision": "snapshot:sha256:86d2ff781f93e1de17122ebc514d5e64fcb63fed15941f496d7e146c6dcc7a49", "translated_from_revision": null}, "body_sha256": "2aaa580b005f03447ea76cec8f3e963ad9986c0129bba70acce787f0b66becb8", "runtime_rerun": false, "authored_translation": "source-derived-structured-summary", "source_facts_revision": "8df3c0474782589d3c6f374b5133b1bd14d168086edbc13c6e72e67dd4527a3b"}, "sections": [{"code": "/*\n * text search configuration for hungarian language\n *\n * Copyright (c) 2007-2019, PostgreSQL Global Development Group\n *\n * src/backend/snowball/snowball.sql.in\n *\n * hungarian and certain other macros are replaced for each language;\n * see the Makefile for details.\n *\n * Note: this file is read in single-user -j mode, which means that the\n * command terminator is semicolon-newline-newline; whenever the backend\n * sees that, it stops and executes what it's got.  If you write a lot of\n * statements without empty lines between, they'll all get quoted to you\n * in any error message about one of them, so don't do that.  Also, you\n * cannot write a semicolon immediately followed by an empty line in a\n * string literal (including a function body!) or a multiline comment.\n */\n\nCREATE TEXT SEARCH DICTIONARY hungarian_stem\n\t(TEMPLATE = snowball, Language = hungarian , StopWords=hungarian);\n\nCOMMENT ON TEXT SEARCH DICTIONARY hungarian_stem IS 'snowball stemmer for hungarian language';\n\nCREATE TEXT SEARCH CONFIGURATION hungarian\n\t(PARSER = default);\n\nCOMMENT ON TEXT SEARCH CONFIGURATION hungarian IS 'configuration for hungarian language';\n\nALTER TEXT SEARCH CONFIGURATION hungarian ADD MAPPING\n\tFOR email, url, url_path, host, file, version,\n\t    sfloat, float, int, uint,\n\t    numword, hword_numpart, numhword\n\tWITH simple;\n\nALTER TEXT SEARCH CONFIGURATION hungarian ADD MAPPING\n    FOR asciiword, hword_asciipart, asciihword\n\tWITH hungarian_stem;\n\nALTER TEXT SEARCH CONFIGURATION hungarian ADD MAPPING\n    FOR word, hword_part, hword\n\tWITH hungarian_stem;", "title": "initdb \u751f\u6210\u7684\u5b9a\u4e49", "paragraphs": ["\u6839\u636e\u6b64\u7248\u672c\u7684 Snowball \u8bed\u8a00\u5217\u8868\u548c SQL \u6a21\u677f\u751f\u6210\u3002"]}], "description_zh": "\u5168\u6587\u641c\u7d22\u914d\u7f6e hungarian\u3002", "description_zh_html": "<p>\u5168\u6587\u641c\u7d22\u914d\u7f6e hungarian\u3002</p><dl><dt>\u89e3\u6790\u5668</dt><dd><code>default</code></dd><dt>\u914d\u7f6e</dt><dd><code>hungarian</code></dd></dl><h3>\u8bcd\u5143\u4e0e\u8bcd\u5178\u6620\u5c04</h3><table><tr><th>\u8bcd\u5143\u7c7b\u578b</th><th>\u987a\u5e8f</th><th>\u8bcd\u5178</th></tr><tr><td><code>email</code></td><td><code>1</code></td><td><code>simple</code></td></tr><tr><td><code>url</code></td><td><code>1</code></td><td><code>simple</code></td></tr><tr><td><code>url_path</code></td><td><code>1</code></td><td><code>simple</code></td></tr><tr><td><code>host</code></td><td><code>1</code></td><td><code>simple</code></td></tr><tr><td><code>file</code></td><td><code>1</code></td><td><code>simple</code></td></tr><tr><td><code>version</code></td><td><code>1</code></td><td><code>simple</code></td></tr><tr><td><code>sfloat</code></td><td><code>1</code></td><td><code>simple</code></td></tr><tr><td><code>float</code></td><td><code>1</code></td><td><code>simple</code></td></tr><tr><td><code>int</code></td><td><code>1</code></td><td><code>simple</code></td></tr><tr><td><code>uint</code></td><td><code>1</code></td><td><code>simple</code></td></tr><tr><td><code>numword</code></td><td><code>1</code></td><td><code>simple</code></td></tr><tr><td><code>hword_numpart</code></td><td><code>1</code></td><td><code>simple</code></td></tr><tr><td><code>numhword</code></td><td><code>1</code></td><td><code>simple</code></td></tr><tr><td><code>asciiword</code></td><td><code>1</code></td><td><code>hungarian_stem</code></td></tr><tr><td><code>hword_asciipart</code></td><td><code>1</code></td><td><code>hungarian_stem</code></td></tr><tr><td><code>asciihword</code></td><td><code>1</code></td><td><code>hungarian_stem</code></td></tr><tr><td><code>word</code></td><td><code>1</code></td><td><code>hungarian_stem</code></td></tr><tr><td><code>hword_part</code></td><td><code>1</code></td><td><code>hungarian_stem</code></td></tr><tr><td><code>hword</code></td><td><code>1</code></td><td><code>hungarian_stem</code></td></tr></table><h3>\u540c\u7248\u672c\u4e2d\u6587\u624b\u518c\u8282\u9009</h3><p>\n    \u4e00\u4e2a\u6587\u672c\u68c0\u7d22\u914d\u7f6e\u6307\u5b9a\u4e86\u5c06\u4e00\u4e2a\u6587\u6863\u8f6c\u6362\u6210\u4e00\u4e2a <code class=\"type\">tsvector</code> \u6240\u9700\u7684\u6240\u6709\u9009\u9879\uff1a\u7528\u4e8e\u628a\u6587\u672c\u5206\u89e3\u6210\u8bcd\u5143\u7684\u89e3\u6790\u5668\uff0c\u4ee5\u53ca\u7528\u4e8e\u5c06\u6bcf\u4e00\u4e2a\u8bcd\u5143\u8f6c\u6362\u6210\u8bcd\u4f4d\u7684\u8bcd\u5178\u3002\u6bcf\u4e00\u6b21 <code class=\"function\">to_tsvector</code> \u6216 <code class=\"function\">to_tsquery</code> \u7684\u8c03\u7528\u90fd\u9700\u8981\u4e00\u4e2a\u6587\u672c\u68c0\u7d22\u914d\u7f6e\u6765\u6267\u884c\u5176\u5904\u7406\u3002\u914d\u7f6e\u53c2\u6570 <a class=\"xref\" href=\"/zh/docs/12/runtime-config-client.html#GUC-DEFAULT-TEXT-SEARCH-CONFIG\">default_text_search_config</a> \u6307\u5b9a\u4e86\u9ed8\u8ba4\u914d\u7f6e\u7684\u540d\u79f0\uff0c\u5982\u679c\u7701\u7565\u4e86\u663e\u5f0f\u7684\u914d\u7f6e\u53c2\u6570\uff0c\u6587\u672c\u68c0\u7d22\u51fd\u6570\u5c06\u4f1a\u4f7f\u7528\u5b83\u3002\u5b83\u53ef\u4ee5\u5728 <code class=\"filename\">postgresql.conf</code> \u4e2d\u8bbe\u7f6e\uff0c\u6216\u8005\u4f7f\u7528 <code class=\"command\">SET</code> \u547d\u4ee4\u4e3a\u4e00\u4e2a\u5355\u72ec\u7684\u4f1a\u8bdd\u8bbe\u7f6e\u3002\n   </p><p>\n    \u6709\u4e00\u4e9b\u9884\u5b9a\u4e49\u7684\u6587\u672c\u68c0\u7d22\u914d\u7f6e\u53ef\u7528\uff0c\u5e76\u4e14\u4f60\u53ef\u4ee5\u5bb9\u6613\u5730\u521b\u5efa\u81ea\u5b9a\u4e49\u7684\u914d\u7f6e\u3002\u4e3a\u4e86\u4fbf\u4e8e\u7ba1\u7406\u6587\u672c\u68c0\u7d22\u5bf9\u8c61\uff0c\u53ef\u4ee5\u4f7f\u7528\u4e00\u7ec4 <acronym class=\"acronym\">SQL</acronym> \u547d\u4ee4\uff0c\u5e76\u4e14\u6709\u591a\u4e2a <span class=\"application\">psql</span> \u547d\u4ee4\u53ef\u4ee5\u663e\u793a\u6709\u5173\u6587\u672c\u68c0\u7d22\u5bf9\u8c61\uff08<a class=\"xref\" href=\"/zh/docs/12/textsearch-psql.html\">\u7b2c\u00a012.10\u00a0\u8282</a>\uff09\u7684\u4fe1\u606f\u3002\n   </p><p>\n    \u4f5c\u4e3a\u4e00\u4e2a\u793a\u4f8b\uff0c\u6211\u4eec\u5c06\u521b\u5efa\u4e00\u4e2a\u914d\u7f6e <code class=\"literal\">pg</code>\uff0c\u4ece\u590d\u5236\u5185\u7f6e\u7684 <code class=\"literal\">english</code> \u914d\u7f6e\u5f00\u59cb\uff1a\n\n</p><p>\n    \u6211\u4eec\u5c06\u4f7f\u7528\u4e00\u4e2a PostgreSQL \u76f8\u5173\u7684\u540c\u4e49\u8bcd\u5217\u8868\uff0c\u5e76\u5c06\u5b83\u5b58\u50a8\u5728 <code class=\"filename\">$SHAREDIR/tsearch_data/pg_dict.syn</code> \u4e2d\u3002\u6587\u4ef6\u5185\u5bb9\u770b\u8d77\u6765\u50cf\uff1a\n\n</p><p><a href=\"/zh/docs/12/textsearch-configuration.html\">\u67e5\u770b\u5b8c\u6574\u4e2d\u6587\u624b\u518c\u4e0e\u4e0a\u4e0b\u6587</a>\u3002</p>"}, "summary": "\u5168\u6587\u641c\u7d22\u914d\u7f6e hungarian\u3002", "version": "12", "link_map": {"/zh/docs/12/textsearch-psql.html": "/docs/12/textsearch-psql.html", "/zh/docs/12/textsearch-configuration.html": "/docs/12/textsearch-configuration.html", "/zh/docs/12/runtime-config-client.html#GUC-DEFAULT-TEXT-SEARCH-CONFIG": "/docs/12/runtime-config-client.html#GUC-DEFAULT-TEXT-SEARCH-CONFIG"}, "body_html": "<p>\u5168\u6587\u641c\u7d22\u914d\u7f6e hungarian\u3002</p><dl><dt>\u89e3\u6790\u5668</dt><dd><code>default</code></dd><dt>\u914d\u7f6e</dt><dd><code>hungarian</code></dd></dl><h3>\u8bcd\u5143\u4e0e\u8bcd\u5178\u6620\u5c04</h3><table><tr><th>\u8bcd\u5143\u7c7b\u578b</th><th>\u987a\u5e8f</th><th>\u8bcd\u5178</th></tr><tr><td><code>email</code></td><td><code>1</code></td><td><code>simple</code></td></tr><tr><td><code>url</code></td><td><code>1</code></td><td><code>simple</code></td></tr><tr><td><code>url_path</code></td><td><code>1</code></td><td><code>simple</code></td></tr><tr><td><code>host</code></td><td><code>1</code></td><td><code>simple</code></td></tr><tr><td><code>file</code></td><td><code>1</code></td><td><code>simple</code></td></tr><tr><td><code>version</code></td><td><code>1</code></td><td><code>simple</code></td></tr><tr><td><code>sfloat</code></td><td><code>1</code></td><td><code>simple</code></td></tr><tr><td><code>float</code></td><td><code>1</code></td><td><code>simple</code></td></tr><tr><td><code>int</code></td><td><code>1</code></td><td><code>simple</code></td></tr><tr><td><code>uint</code></td><td><code>1</code></td><td><code>simple</code></td></tr><tr><td><code>numword</code></td><td><code>1</code></td><td><code>simple</code></td></tr><tr><td><code>hword_numpart</code></td><td><code>1</code></td><td><code>simple</code></td></tr><tr><td><code>numhword</code></td><td><code>1</code></td><td><code>simple</code></td></tr><tr><td><code>asciiword</code></td><td><code>1</code></td><td><code>hungarian_stem</code></td></tr><tr><td><code>hword_asciipart</code></td><td><code>1</code></td><td><code>hungarian_stem</code></td></tr><tr><td><code>asciihword</code></td><td><code>1</code></td><td><code>hungarian_stem</code></td></tr><tr><td><code>word</code></td><td><code>1</code></td><td><code>hungarian_stem</code></td></tr><tr><td><code>hword_part</code></td><td><code>1</code></td><td><code>hungarian_stem</code></td></tr><tr><td><code>hword</code></td><td><code>1</code></td><td><code>hungarian_stem</code></td></tr></table><h3>\u540c\u7248\u672c\u4e2d\u6587\u624b\u518c\u8282\u9009</h3><p>\n    \u4e00\u4e2a\u6587\u672c\u68c0\u7d22\u914d\u7f6e\u6307\u5b9a\u4e86\u5c06\u4e00\u4e2a\u6587\u6863\u8f6c\u6362\u6210\u4e00\u4e2a <code>tsvector</code> \u6240\u9700\u7684\u6240\u6709\u9009\u9879\uff1a\u7528\u4e8e\u628a\u6587\u672c\u5206\u89e3\u6210\u8bcd\u5143\u7684\u89e3\u6790\u5668\uff0c\u4ee5\u53ca\u7528\u4e8e\u5c06\u6bcf\u4e00\u4e2a\u8bcd\u5143\u8f6c\u6362\u6210\u8bcd\u4f4d\u7684\u8bcd\u5178\u3002\u6bcf\u4e00\u6b21 <code>to_tsvector</code> \u6216 <code>to_tsquery</code> \u7684\u8c03\u7528\u90fd\u9700\u8981\u4e00\u4e2a\u6587\u672c\u68c0\u7d22\u914d\u7f6e\u6765\u6267\u884c\u5176\u5904\u7406\u3002\u914d\u7f6e\u53c2\u6570 <a href=\"/zh/docs/12/runtime-config-client.html#GUC-DEFAULT-TEXT-SEARCH-CONFIG\" rel=\"nofollow\">default_text_search_config</a> \u6307\u5b9a\u4e86\u9ed8\u8ba4\u914d\u7f6e\u7684\u540d\u79f0\uff0c\u5982\u679c\u7701\u7565\u4e86\u663e\u5f0f\u7684\u914d\u7f6e\u53c2\u6570\uff0c\u6587\u672c\u68c0\u7d22\u51fd\u6570\u5c06\u4f1a\u4f7f\u7528\u5b83\u3002\u5b83\u53ef\u4ee5\u5728 <code>postgresql.conf</code> \u4e2d\u8bbe\u7f6e\uff0c\u6216\u8005\u4f7f\u7528 <code>SET</code> \u547d\u4ee4\u4e3a\u4e00\u4e2a\u5355\u72ec\u7684\u4f1a\u8bdd\u8bbe\u7f6e\u3002\n   </p><p>\n    \u6709\u4e00\u4e9b\u9884\u5b9a\u4e49\u7684\u6587\u672c\u68c0\u7d22\u914d\u7f6e\u53ef\u7528\uff0c\u5e76\u4e14\u4f60\u53ef\u4ee5\u5bb9\u6613\u5730\u521b\u5efa\u81ea\u5b9a\u4e49\u7684\u914d\u7f6e\u3002\u4e3a\u4e86\u4fbf\u4e8e\u7ba1\u7406\u6587\u672c\u68c0\u7d22\u5bf9\u8c61\uff0c\u53ef\u4ee5\u4f7f\u7528\u4e00\u7ec4 <acronym>SQL</acronym> \u547d\u4ee4\uff0c\u5e76\u4e14\u6709\u591a\u4e2a <span>psql</span> \u547d\u4ee4\u53ef\u4ee5\u663e\u793a\u6709\u5173\u6587\u672c\u68c0\u7d22\u5bf9\u8c61\uff08<a href=\"/zh/docs/12/textsearch-psql.html\" rel=\"nofollow\">\u7b2c\u00a012.10\u00a0\u8282</a>\uff09\u7684\u4fe1\u606f\u3002\n   </p><p>\n    \u4f5c\u4e3a\u4e00\u4e2a\u793a\u4f8b\uff0c\u6211\u4eec\u5c06\u521b\u5efa\u4e00\u4e2a\u914d\u7f6e <code>pg</code>\uff0c\u4ece\u590d\u5236\u5185\u7f6e\u7684 <code>english</code> \u914d\u7f6e\u5f00\u59cb\uff1a\n\n</p><p>\n    \u6211\u4eec\u5c06\u4f7f\u7528\u4e00\u4e2a PostgreSQL \u76f8\u5173\u7684\u540c\u4e49\u8bcd\u5217\u8868\uff0c\u5e76\u5c06\u5b83\u5b58\u50a8\u5728 <code>$SHAREDIR/tsearch_data/pg_dict.syn</code> \u4e2d\u3002\u6587\u4ef6\u5185\u5bb9\u770b\u8d77\u6765\u50cf\uff1a\n\n</p><p><a href=\"/zh/docs/12/textsearch-configuration.html\" rel=\"nofollow\">\u67e5\u770b\u5b8c\u6574\u4e2d\u6587\u624b\u518c\u4e0e\u4e0a\u4e0b\u6587</a>\u3002</p>", "body_sha256": "ecce42ed3cf97a7d91a9a22a3bb123ff93cdb07e7cdb60f67d230629e08aa533", "content_hash": "4ba6e6372dd76f00c83beeeaf6e4f897040000c1caa0763b5b0abf0684a4aa68", "source_database": "center", "source_revision": "8df3c0474782589d3c6f374b5133b1bd14d168086edbc13c6e72e67dd4527a3b"}, "signature": "", "tables_zh": [{"key": "mappings", "rows": [{"token": "email", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-simple/?v=12", "text": "simple"}}, {"token": "url", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-simple/?v=12", "text": "simple"}}, {"token": "url_path", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-simple/?v=12", "text": "simple"}}, {"token": "host", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-simple/?v=12", "text": "simple"}}, {"token": "file", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-simple/?v=12", "text": "simple"}}, {"token": "version", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-simple/?v=12", "text": "simple"}}, {"token": "sfloat", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-simple/?v=12", "text": "simple"}}, {"token": "float", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-simple/?v=12", "text": "simple"}}, {"token": "int", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-simple/?v=12", "text": "simple"}}, {"token": "uint", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-simple/?v=12", "text": "simple"}}, {"token": "numword", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-simple/?v=12", "text": "simple"}}, {"token": "hword_numpart", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-simple/?v=12", "text": "simple"}}, {"token": "numhword", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-simple/?v=12", "text": "simple"}}, {"token": "asciiword", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-hungarian_stem/?v=12", "text": "hungarian_stem"}}, {"token": "hword_asciipart", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-hungarian_stem/?v=12", "text": "hungarian_stem"}}, {"token": "asciihword", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-hungarian_stem/?v=12", "text": "hungarian_stem"}}, {"token": "word", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-hungarian_stem/?v=12", "text": "hungarian_stem"}}, {"token": "hword_part", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-hungarian_stem/?v=12", "text": "hungarian_stem"}}, {"token": "hword", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-hungarian_stem/?v=12", "text": "hungarian_stem"}}], "title": "\u8bcd\u5143\u5230\u8bcd\u5178\u7684\u6620\u5c04", "columns": [{"key": "token", "label": "\u8bcd\u5143\u7c7b\u578b"}, {"key": "sequence", "label": "\u987a\u5e8f"}, {"key": "dictionary", "label": "\u8bcd\u5178"}]}], "attributes": {"parser": "default", "configuration": "hungarian"}, "description": ["\u5168\u6587\u641c\u7d22\u914d\u7f6e hungarian\u3002"], "manual_html": "", "manual_path": "/docs/12/textsearch-configuration.html", "sections_zh": [{"code": "/*\n * text search configuration for hungarian language\n *\n * Copyright (c) 2007-2019, PostgreSQL Global Development Group\n *\n * src/backend/snowball/snowball.sql.in\n *\n * hungarian and certain other macros are replaced for each language;\n * see the Makefile for details.\n *\n * Note: this file is read in single-user -j mode, which means that the\n * command terminator is semicolon-newline-newline; whenever the backend\n * sees that, it stops and executes what it's got.  If you write a lot of\n * statements without empty lines between, they'll all get quoted to you\n * in any error message about one of them, so don't do that.  Also, you\n * cannot write a semicolon immediately followed by an empty line in a\n * string literal (including a function body!) or a multiline comment.\n */\n\nCREATE TEXT SEARCH DICTIONARY hungarian_stem\n\t(TEMPLATE = snowball, Language = hungarian , StopWords=hungarian);\n\nCOMMENT ON TEXT SEARCH DICTIONARY hungarian_stem IS 'snowball stemmer for hungarian language';\n\nCREATE TEXT SEARCH CONFIGURATION hungarian\n\t(PARSER = default);\n\nCOMMENT ON TEXT SEARCH CONFIGURATION hungarian IS 'configuration for hungarian language';\n\nALTER TEXT SEARCH CONFIGURATION hungarian ADD MAPPING\n\tFOR email, url, url_path, host, file, version,\n\t    sfloat, float, int, uint,\n\t    numword, hword_numpart, numhword\n\tWITH simple;\n\nALTER TEXT SEARCH CONFIGURATION hungarian ADD MAPPING\n    FOR asciiword, hword_asciipart, asciihword\n\tWITH hungarian_stem;\n\nALTER TEXT SEARCH CONFIGURATION hungarian ADD MAPPING\n    FOR word, hword_part, hword\n\tWITH hungarian_stem;", "title": "initdb \u751f\u6210\u7684\u5b9a\u4e49", "paragraphs": ["\u6839\u636e\u6b64\u7248\u672c\u7684 Snowball \u8bed\u8a00\u5217\u8868\u548c SQL \u6a21\u677f\u751f\u6210\u3002"]}], "localization": {"status": "complete", "sources": [{"url": "/docs/12/catalog-pg-amproc.html", "method": "same-major semantic node", "sha256": "9d8ce1261bffa2ccde2943293454bc86a7ab9f059b498df7669b72edea43c58b", "language": "zh", "matched_nodes": ["#CATALOG-PG-AMPROC/p[5]/span[2]/span[0]"]}, {"url": "/docs/12/textsearch-configuration.html", "method": "same-major semantic node", "sha256": "0e39ea8760ed35e26e812e8f695386de5260b77723377c3bf034b793bdb51dd7", "language": "zh", "matched_nodes": ["#TEXTSEARCH-CONFIGURATION/div[0]", "#TEXTSEARCH-CONFIGURATION/p[11]", "#TEXTSEARCH-CONFIGURATION/p[13]", "#TEXTSEARCH-CONFIGURATION/p[15]", "#TEXTSEARCH-CONFIGURATION/p[17]", "#TEXTSEARCH-CONFIGURATION/p[1]", "#TEXTSEARCH-CONFIGURATION/p[2]", "#TEXTSEARCH-CONFIGURATION/p[3]", "#TEXTSEARCH-CONFIGURATION/p[5]", "#TEXTSEARCH-CONFIGURATION/p[7]", "#TEXTSEARCH-CONFIGURATION/p[9]"]}], "language": "zh", "original_text": {"/versions/12/description/0": "Text search configuration hungarian.", "/versions/12/facts/0/label": "Configuration", "/versions/12/facts/1/label": "Parser", "/versions/12/facts/1/value": "default", "/versions/12/tables/0/title": "Token-to-dictionary mappings", "/versions/12/related/0/label": "default parser", "/versions/12/sections/0/title": "Generated initdb definition", "/versions/12/sections/0/paragraphs/0": "Generated from this release\u2019s Snowball language list and SQL template.", "/versions/12/tables/0/columns/0/label": "Token type", "/versions/12/tables/0/columns/1/label": "Order", "/versions/12/tables/0/columns/2/label": "Dictionary"}, "fallback_fields": [], "source_language": "en", "original_snapshot_sha256": "270c3573ff696446037c6fbdd0584b9dbbac1710ec7e8f0f549eafdc43a61b84", "canonical_center_text_hash": "4ba6e6372dd76f00c83beeeaf6e4f897040000c1caa0763b5b0abf0684a4aa68"}, "description_zh": "\u5168\u6587\u641c\u7d22\u914d\u7f6e hungarian\u3002", "comparison_data": {"parser": "default", "mappings": [{"token": "asciihword", "sequence": "1", "dictionary": "hungarian_stem"}, {"token": "asciiword", "sequence": "1", "dictionary": "hungarian_stem"}, {"token": "email", "sequence": "1", "dictionary": "simple"}, {"token": "file", "sequence": "1", "dictionary": "simple"}, {"token": "float", "sequence": "1", "dictionary": "simple"}, {"token": "host", "sequence": "1", "dictionary": "simple"}, {"token": "hword", "sequence": "1", "dictionary": "hungarian_stem"}, {"token": "hword_asciipart", "sequence": "1", "dictionary": "hungarian_stem"}, {"token": "hword_numpart", "sequence": "1", "dictionary": "simple"}, {"token": "hword_part", "sequence": "1", "dictionary": "hungarian_stem"}, {"token": "int", "sequence": "1", "dictionary": "simple"}, {"token": "numhword", "sequence": "1", "dictionary": "simple"}, {"token": "numword", "sequence": "1", "dictionary": "simple"}, {"token": "sfloat", "sequence": "1", "dictionary": "simple"}, {"token": "uint", "sequence": "1", "dictionary": "simple"}, {"token": "url", "sequence": "1", "dictionary": "simple"}, {"token": "url_path", "sequence": "1", "dictionary": "simple"}, {"token": "version", "sequence": "1", "dictionary": "simple"}, {"token": "word", "sequence": "1", "dictionary": "hungarian_stem"}]}, "comparison_hash": "4b14c26ff2f416b9bc0128f68a56146e71b77907078eeac0cbd0dfaf2af246dd", "manual_language": "zh", "description_zh_html": "<p>\u5168\u6587\u641c\u7d22\u914d\u7f6e hungarian\u3002</p><dl><dt>\u89e3\u6790\u5668</dt><dd><code>default</code></dd><dt>\u914d\u7f6e</dt><dd><code>hungarian</code></dd></dl><h3>\u8bcd\u5143\u4e0e\u8bcd\u5178\u6620\u5c04</h3><table><tr><th>\u8bcd\u5143\u7c7b\u578b</th><th>\u987a\u5e8f</th><th>\u8bcd\u5178</th></tr><tr><td><code>email</code></td><td><code>1</code></td><td><code>simple</code></td></tr><tr><td><code>url</code></td><td><code>1</code></td><td><code>simple</code></td></tr><tr><td><code>url_path</code></td><td><code>1</code></td><td><code>simple</code></td></tr><tr><td><code>host</code></td><td><code>1</code></td><td><code>simple</code></td></tr><tr><td><code>file</code></td><td><code>1</code></td><td><code>simple</code></td></tr><tr><td><code>version</code></td><td><code>1</code></td><td><code>simple</code></td></tr><tr><td><code>sfloat</code></td><td><code>1</code></td><td><code>simple</code></td></tr><tr><td><code>float</code></td><td><code>1</code></td><td><code>simple</code></td></tr><tr><td><code>int</code></td><td><code>1</code></td><td><code>simple</code></td></tr><tr><td><code>uint</code></td><td><code>1</code></td><td><code>simple</code></td></tr><tr><td><code>numword</code></td><td><code>1</code></td><td><code>simple</code></td></tr><tr><td><code>hword_numpart</code></td><td><code>1</code></td><td><code>simple</code></td></tr><tr><td><code>numhword</code></td><td><code>1</code></td><td><code>simple</code></td></tr><tr><td><code>asciiword</code></td><td><code>1</code></td><td><code>hungarian_stem</code></td></tr><tr><td><code>hword_asciipart</code></td><td><code>1</code></td><td><code>hungarian_stem</code></td></tr><tr><td><code>asciihword</code></td><td><code>1</code></td><td><code>hungarian_stem</code></td></tr><tr><td><code>word</code></td><td><code>1</code></td><td><code>hungarian_stem</code></td></tr><tr><td><code>hword_part</code></td><td><code>1</code></td><td><code>hungarian_stem</code></td></tr><tr><td><code>hword</code></td><td><code>1</code></td><td><code>hungarian_stem</code></td></tr></table><h3>\u540c\u7248\u672c\u4e2d\u6587\u624b\u518c\u8282\u9009</h3><p>\n    \u4e00\u4e2a\u6587\u672c\u68c0\u7d22\u914d\u7f6e\u6307\u5b9a\u4e86\u5c06\u4e00\u4e2a\u6587\u6863\u8f6c\u6362\u6210\u4e00\u4e2a <code>tsvector</code> \u6240\u9700\u7684\u6240\u6709\u9009\u9879\uff1a\u7528\u4e8e\u628a\u6587\u672c\u5206\u89e3\u6210\u8bcd\u5143\u7684\u89e3\u6790\u5668\uff0c\u4ee5\u53ca\u7528\u4e8e\u5c06\u6bcf\u4e00\u4e2a\u8bcd\u5143\u8f6c\u6362\u6210\u8bcd\u4f4d\u7684\u8bcd\u5178\u3002\u6bcf\u4e00\u6b21 <code>to_tsvector</code> \u6216 <code>to_tsquery</code> \u7684\u8c03\u7528\u90fd\u9700\u8981\u4e00\u4e2a\u6587\u672c\u68c0\u7d22\u914d\u7f6e\u6765\u6267\u884c\u5176\u5904\u7406\u3002\u914d\u7f6e\u53c2\u6570 <a href=\"/zh/docs/12/runtime-config-client.html#GUC-DEFAULT-TEXT-SEARCH-CONFIG\" rel=\"nofollow\">default_text_search_config</a> \u6307\u5b9a\u4e86\u9ed8\u8ba4\u914d\u7f6e\u7684\u540d\u79f0\uff0c\u5982\u679c\u7701\u7565\u4e86\u663e\u5f0f\u7684\u914d\u7f6e\u53c2\u6570\uff0c\u6587\u672c\u68c0\u7d22\u51fd\u6570\u5c06\u4f1a\u4f7f\u7528\u5b83\u3002\u5b83\u53ef\u4ee5\u5728 <code>postgresql.conf</code> \u4e2d\u8bbe\u7f6e\uff0c\u6216\u8005\u4f7f\u7528 <code>SET</code> \u547d\u4ee4\u4e3a\u4e00\u4e2a\u5355\u72ec\u7684\u4f1a\u8bdd\u8bbe\u7f6e\u3002\n   </p><p>\n    \u6709\u4e00\u4e9b\u9884\u5b9a\u4e49\u7684\u6587\u672c\u68c0\u7d22\u914d\u7f6e\u53ef\u7528\uff0c\u5e76\u4e14\u4f60\u53ef\u4ee5\u5bb9\u6613\u5730\u521b\u5efa\u81ea\u5b9a\u4e49\u7684\u914d\u7f6e\u3002\u4e3a\u4e86\u4fbf\u4e8e\u7ba1\u7406\u6587\u672c\u68c0\u7d22\u5bf9\u8c61\uff0c\u53ef\u4ee5\u4f7f\u7528\u4e00\u7ec4 <acronym>SQL</acronym> \u547d\u4ee4\uff0c\u5e76\u4e14\u6709\u591a\u4e2a <span>psql</span> \u547d\u4ee4\u53ef\u4ee5\u663e\u793a\u6709\u5173\u6587\u672c\u68c0\u7d22\u5bf9\u8c61\uff08<a href=\"/zh/docs/12/textsearch-psql.html\" rel=\"nofollow\">\u7b2c\u00a012.10\u00a0\u8282</a>\uff09\u7684\u4fe1\u606f\u3002\n   </p><p>\n    \u4f5c\u4e3a\u4e00\u4e2a\u793a\u4f8b\uff0c\u6211\u4eec\u5c06\u521b\u5efa\u4e00\u4e2a\u914d\u7f6e <code>pg</code>\uff0c\u4ece\u590d\u5236\u5185\u7f6e\u7684 <code>english</code> \u914d\u7f6e\u5f00\u59cb\uff1a\n\n</p><p>\n    \u6211\u4eec\u5c06\u4f7f\u7528\u4e00\u4e2a PostgreSQL \u76f8\u5173\u7684\u540c\u4e49\u8bcd\u5217\u8868\uff0c\u5e76\u5c06\u5b83\u5b58\u50a8\u5728 <code>$SHAREDIR/tsearch_data/pg_dict.syn</code> \u4e2d\u3002\u6587\u4ef6\u5185\u5bb9\u770b\u8d77\u6765\u50cf\uff1a\n\n</p><p><a href=\"/zh/docs/12/textsearch-configuration.html\" rel=\"nofollow\">\u67e5\u770b\u5b8c\u6574\u4e2d\u6587\u624b\u518c\u4e0e\u4e0a\u4e0b\u6587</a>\u3002</p>"}, "13": {"facts": [{"label": "\u914d\u7f6e", "value": "hungarian"}, {"label": "\u89e3\u6790\u5668", "value": "\u9ed8\u8ba4"}], "tables": [{"key": "mappings", "rows": [{"token": "email", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-simple/?v=13", "text": "simple"}}, {"token": "url", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-simple/?v=13", "text": "simple"}}, {"token": "url_path", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-simple/?v=13", "text": "simple"}}, {"token": "host", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-simple/?v=13", "text": "simple"}}, {"token": "file", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-simple/?v=13", "text": "simple"}}, {"token": "version", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-simple/?v=13", "text": "simple"}}, {"token": "sfloat", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-simple/?v=13", "text": "simple"}}, {"token": "float", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-simple/?v=13", "text": "simple"}}, {"token": "int", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-simple/?v=13", "text": "simple"}}, {"token": "uint", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-simple/?v=13", "text": "simple"}}, {"token": "numword", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-simple/?v=13", "text": "simple"}}, {"token": "hword_numpart", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-simple/?v=13", "text": "simple"}}, {"token": "numhword", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-simple/?v=13", "text": "simple"}}, {"token": "asciiword", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-hungarian_stem/?v=13", "text": "hungarian_stem"}}, {"token": "hword_asciipart", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-hungarian_stem/?v=13", "text": "hungarian_stem"}}, {"token": "asciihword", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-hungarian_stem/?v=13", "text": "hungarian_stem"}}, {"token": "word", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-hungarian_stem/?v=13", "text": "hungarian_stem"}}, {"token": "hword_part", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-hungarian_stem/?v=13", "text": "hungarian_stem"}}, {"token": "hword", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-hungarian_stem/?v=13", "text": "hungarian_stem"}}], "title": "\u8bcd\u5143\u5230\u8bcd\u5178\u7684\u6620\u5c04", "columns": [{"key": "token", "label": "\u8bcd\u5143\u7c7b\u578b"}, {"key": "sequence", "label": "\u987a\u5e8f"}, {"key": "dictionary", "label": "\u8bcd\u5178"}]}], "aliases": [], "related": [{"url": "/wiki/fts/parser-default/?v=13", "label": "\u9ed8\u8ba4\u89e3\u6790\u5668"}], "release": {"ref": "https://ftp.postgresql.org/pub/source/v13.23/postgresql-13.23.tar.bz2", "label": "13.23", "major": "13", "channel": "historical", "revision": "6ec3c82726af92b7dec873fa1cdf881eca92a4219787dfad05acb6b10e041fd6", "source_sha256": "6ec3c82726af92b7dec873fa1cdf881eca92a4219787dfad05acb6b10e041fd6", "catalog_fingerprint": "c7015c845255c9d721c547c8ab9ef37825d332588c9691d982e6906b7d571002"}, "sources": [{"url": "https://ftp.postgresql.org/pub/source/v13.23/postgresql-13.23.tar.bz2", "label": "Matching PostgreSQL source archive", "sha256": "6ec3c82726af92b7dec873fa1cdf881eca92a4219787dfad05acb6b10e041fd6"}, {"url": "/docs/13/textsearch-configuration.html", "path": "textsearch-configuration.html", "label": "PostgreSQL 13 English manual", "sha256": "6dce07f2bdf0a61fbc512906c346a890d4ec6841c2792cda28aed00018306c33"}], "zh_from": {"kind": "same-version-chinese-manual-with-source-derived-structured-summary", "manual": {"url": "/zh/docs/13/textsearch-configuration.html", "anchor": "", "locale": "zh-Hans", "version": "13", "build_id": 66, "page_key": "textsearch-configuration.html", "extraction": "concept-introduction", "source_hash": "fd1d6392b79ab83964319cfc4ba2d4de8e19e0a88e57870219e9aaa126fb47d9", "fragment_sha256": "65ae659b49931d33f8bac08e70881b67b33a029320d0bb73d6cfde5e7f50b6b8", "source_revision": "unknown:rendered-translation-baseline", "translation_revision": "snapshot:sha256:a13a825c39f0268ef1cfe9137e283e38d0da73b2d7894f0733c7b26372a4f6a4", "translated_from_revision": null}, "body_sha256": "4d726490b9c1780ffc9c05764f9b967f0989cce7fe8c2015c45bb7bad02b40a4", "runtime_rerun": false, "authored_translation": "source-derived-structured-summary", "source_facts_revision": "6ec3c82726af92b7dec873fa1cdf881eca92a4219787dfad05acb6b10e041fd6"}, "facts_zh": [{"label": "\u914d\u7f6e", "value": "hungarian"}, {"label": "\u89e3\u6790\u5668", "value": "\u9ed8\u8ba4"}], "mappings": [{"token": "email", "sequence": "1", "dictionary": "simple"}, {"token": "url", "sequence": "1", "dictionary": "simple"}, {"token": "url_path", "sequence": "1", "dictionary": "simple"}, {"token": "host", "sequence": "1", "dictionary": "simple"}, {"token": "file", "sequence": "1", "dictionary": "simple"}, {"token": "version", "sequence": "1", "dictionary": "simple"}, {"token": "sfloat", "sequence": "1", "dictionary": "simple"}, {"token": "float", "sequence": "1", "dictionary": "simple"}, {"token": "int", "sequence": "1", "dictionary": "simple"}, {"token": "uint", "sequence": "1", "dictionary": "simple"}, {"token": "numword", "sequence": "1", "dictionary": "simple"}, {"token": "hword_numpart", "sequence": "1", "dictionary": "simple"}, {"token": "numhword", "sequence": "1", "dictionary": "simple"}, {"token": "asciiword", "sequence": "1", "dictionary": "hungarian_stem"}, {"token": "hword_asciipart", "sequence": "1", "dictionary": "hungarian_stem"}, {"token": "asciihword", "sequence": "1", "dictionary": "hungarian_stem"}, {"token": "word", "sequence": "1", "dictionary": "hungarian_stem"}, {"token": "hword_part", "sequence": "1", "dictionary": "hungarian_stem"}, {"token": "hword", "sequence": "1", "dictionary": "hungarian_stem"}], "sections": [{"code": "/*\n * text search configuration for hungarian language\n *\n * Copyright (c) 2007-2020, PostgreSQL Global Development Group\n *\n * src/backend/snowball/snowball.sql.in\n *\n * hungarian and certain other macros are replaced for each language;\n * see the Makefile for details.\n *\n * Note: this file is read in single-user -j mode, which means that the\n * command terminator is semicolon-newline-newline; whenever the backend\n * sees that, it stops and executes what it's got.  If you write a lot of\n * statements without empty lines between, they'll all get quoted to you\n * in any error message about one of them, so don't do that.  Also, you\n * cannot write a semicolon immediately followed by an empty line in a\n * string literal (including a function body!) or a multiline comment.\n */\n\nCREATE TEXT SEARCH DICTIONARY hungarian_stem\n\t(TEMPLATE = snowball, Language = hungarian , StopWords=hungarian);\n\nCOMMENT ON TEXT SEARCH DICTIONARY hungarian_stem IS 'snowball stemmer for hungarian language';\n\nCREATE TEXT SEARCH CONFIGURATION hungarian\n\t(PARSER = default);\n\nCOMMENT ON TEXT SEARCH CONFIGURATION hungarian IS 'configuration for hungarian language';\n\nALTER TEXT SEARCH CONFIGURATION hungarian ADD MAPPING\n\tFOR email, url, url_path, host, file, version,\n\t    sfloat, float, int, uint,\n\t    numword, hword_numpart, numhword\n\tWITH simple;\n\nALTER TEXT SEARCH CONFIGURATION hungarian ADD MAPPING\n    FOR asciiword, hword_asciipart, asciihword\n\tWITH hungarian_stem;\n\nALTER TEXT SEARCH CONFIGURATION hungarian ADD MAPPING\n    FOR word, hword_part, hword\n\tWITH hungarian_stem;", "title": "initdb \u751f\u6210\u7684\u5b9a\u4e49", "paragraphs": ["\u6839\u636e\u6b64\u7248\u672c\u7684 Snowball \u8bed\u8a00\u5217\u8868\u548c SQL \u6a21\u677f\u751f\u6210\u3002"]}], "center_zh": {"title": "hungarian", "locale": "zh-Hans", "source": {"key": "configuration-hungarian", "locale": "zh-Hans", "version": "13", "text_hash": "ff4d15ce99464b14e5fa3fb2a119515664e272770d74a1d98eab4d8cd3562ee2", "collection": "fts", "dataset_hash": "7c31b524dfe136022d39a6ae8dcfac6b3bbd5f8fdaf422536599981252aff0c9", "source_database": "center", "source_revision": "6ec3c82726af92b7dec873fa1cdf881eca92a4219787dfad05acb6b10e041fd6"}, "payload": {"facts": [{"label": "\u914d\u7f6e", "value": "hungarian"}, {"label": "\u89e3\u6790\u5668", "value": "\u9ed8\u8ba4"}], "tables": [{"key": "mappings", "rows": [{"token": "email", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-simple/?v=13", "text": "simple"}}, {"token": "url", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-simple/?v=13", "text": "simple"}}, {"token": "url_path", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-simple/?v=13", "text": "simple"}}, {"token": "host", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-simple/?v=13", "text": "simple"}}, {"token": "file", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-simple/?v=13", "text": "simple"}}, {"token": "version", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-simple/?v=13", "text": "simple"}}, {"token": "sfloat", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-simple/?v=13", "text": "simple"}}, {"token": "float", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-simple/?v=13", "text": "simple"}}, {"token": "int", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-simple/?v=13", "text": "simple"}}, {"token": "uint", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-simple/?v=13", "text": "simple"}}, {"token": "numword", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-simple/?v=13", "text": "simple"}}, {"token": "hword_numpart", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-simple/?v=13", "text": "simple"}}, {"token": "numhword", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-simple/?v=13", "text": "simple"}}, {"token": "asciiword", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-hungarian_stem/?v=13", "text": "hungarian_stem"}}, {"token": "hword_asciipart", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-hungarian_stem/?v=13", "text": "hungarian_stem"}}, {"token": "asciihword", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-hungarian_stem/?v=13", "text": "hungarian_stem"}}, {"token": "word", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-hungarian_stem/?v=13", "text": "hungarian_stem"}}, {"token": "hword_part", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-hungarian_stem/?v=13", "text": "hungarian_stem"}}, {"token": "hword", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-hungarian_stem/?v=13", "text": "hungarian_stem"}}], "title": "\u8bcd\u5143\u5230\u8bcd\u5178\u7684\u6620\u5c04", "columns": [{"key": "token", "label": "\u8bcd\u5143\u7c7b\u578b"}, {"key": "sequence", "label": "\u987a\u5e8f"}, {"key": "dictionary", "label": "\u8bcd\u5178"}]}], "zh_from": {"kind": "same-version-chinese-manual-with-source-derived-structured-summary", "manual": {"url": "/zh/docs/13/textsearch-configuration.html", "anchor": "", "locale": "zh-Hans", "version": "13", "build_id": 66, "page_key": "textsearch-configuration.html", "extraction": "concept-introduction", "source_hash": "fd1d6392b79ab83964319cfc4ba2d4de8e19e0a88e57870219e9aaa126fb47d9", "fragment_sha256": "65ae659b49931d33f8bac08e70881b67b33a029320d0bb73d6cfde5e7f50b6b8", "source_revision": "unknown:rendered-translation-baseline", "translation_revision": "snapshot:sha256:a13a825c39f0268ef1cfe9137e283e38d0da73b2d7894f0733c7b26372a4f6a4", "translated_from_revision": null}, "body_sha256": "4d726490b9c1780ffc9c05764f9b967f0989cce7fe8c2015c45bb7bad02b40a4", "runtime_rerun": false, "authored_translation": "source-derived-structured-summary", "source_facts_revision": "6ec3c82726af92b7dec873fa1cdf881eca92a4219787dfad05acb6b10e041fd6"}, "sections": [{"code": "/*\n * text search configuration for hungarian language\n *\n * Copyright (c) 2007-2020, PostgreSQL Global Development Group\n *\n * src/backend/snowball/snowball.sql.in\n *\n * hungarian and certain other macros are replaced for each language;\n * see the Makefile for details.\n *\n * Note: this file is read in single-user -j mode, which means that the\n * command terminator is semicolon-newline-newline; whenever the backend\n * sees that, it stops and executes what it's got.  If you write a lot of\n * statements without empty lines between, they'll all get quoted to you\n * in any error message about one of them, so don't do that.  Also, you\n * cannot write a semicolon immediately followed by an empty line in a\n * string literal (including a function body!) or a multiline comment.\n */\n\nCREATE TEXT SEARCH DICTIONARY hungarian_stem\n\t(TEMPLATE = snowball, Language = hungarian , StopWords=hungarian);\n\nCOMMENT ON TEXT SEARCH DICTIONARY hungarian_stem IS 'snowball stemmer for hungarian language';\n\nCREATE TEXT SEARCH CONFIGURATION hungarian\n\t(PARSER = default);\n\nCOMMENT ON TEXT SEARCH CONFIGURATION hungarian IS 'configuration for hungarian language';\n\nALTER TEXT SEARCH CONFIGURATION hungarian ADD MAPPING\n\tFOR email, url, url_path, host, file, version,\n\t    sfloat, float, int, uint,\n\t    numword, hword_numpart, numhword\n\tWITH simple;\n\nALTER TEXT SEARCH CONFIGURATION hungarian ADD MAPPING\n    FOR asciiword, hword_asciipart, asciihword\n\tWITH hungarian_stem;\n\nALTER TEXT SEARCH CONFIGURATION hungarian ADD MAPPING\n    FOR word, hword_part, hword\n\tWITH hungarian_stem;", "title": "initdb \u751f\u6210\u7684\u5b9a\u4e49", "paragraphs": ["\u6839\u636e\u6b64\u7248\u672c\u7684 Snowball \u8bed\u8a00\u5217\u8868\u548c SQL \u6a21\u677f\u751f\u6210\u3002"]}], "description_zh": "\u5168\u6587\u641c\u7d22\u914d\u7f6e hungarian\u3002", "description_zh_html": "<p>\u5168\u6587\u641c\u7d22\u914d\u7f6e hungarian\u3002</p><dl><dt>\u89e3\u6790\u5668</dt><dd><code>default</code></dd><dt>\u914d\u7f6e</dt><dd><code>hungarian</code></dd></dl><h3>\u8bcd\u5143\u4e0e\u8bcd\u5178\u6620\u5c04</h3><table><tr><th>\u8bcd\u5143\u7c7b\u578b</th><th>\u987a\u5e8f</th><th>\u8bcd\u5178</th></tr><tr><td><code>email</code></td><td><code>1</code></td><td><code>simple</code></td></tr><tr><td><code>url</code></td><td><code>1</code></td><td><code>simple</code></td></tr><tr><td><code>url_path</code></td><td><code>1</code></td><td><code>simple</code></td></tr><tr><td><code>host</code></td><td><code>1</code></td><td><code>simple</code></td></tr><tr><td><code>file</code></td><td><code>1</code></td><td><code>simple</code></td></tr><tr><td><code>version</code></td><td><code>1</code></td><td><code>simple</code></td></tr><tr><td><code>sfloat</code></td><td><code>1</code></td><td><code>simple</code></td></tr><tr><td><code>float</code></td><td><code>1</code></td><td><code>simple</code></td></tr><tr><td><code>int</code></td><td><code>1</code></td><td><code>simple</code></td></tr><tr><td><code>uint</code></td><td><code>1</code></td><td><code>simple</code></td></tr><tr><td><code>numword</code></td><td><code>1</code></td><td><code>simple</code></td></tr><tr><td><code>hword_numpart</code></td><td><code>1</code></td><td><code>simple</code></td></tr><tr><td><code>numhword</code></td><td><code>1</code></td><td><code>simple</code></td></tr><tr><td><code>asciiword</code></td><td><code>1</code></td><td><code>hungarian_stem</code></td></tr><tr><td><code>hword_asciipart</code></td><td><code>1</code></td><td><code>hungarian_stem</code></td></tr><tr><td><code>asciihword</code></td><td><code>1</code></td><td><code>hungarian_stem</code></td></tr><tr><td><code>word</code></td><td><code>1</code></td><td><code>hungarian_stem</code></td></tr><tr><td><code>hword_part</code></td><td><code>1</code></td><td><code>hungarian_stem</code></td></tr><tr><td><code>hword</code></td><td><code>1</code></td><td><code>hungarian_stem</code></td></tr></table><h3>\u540c\u7248\u672c\u4e2d\u6587\u624b\u518c\u8282\u9009</h3><p>\n    \u4e00\u4e2a\u6587\u672c\u68c0\u7d22\u914d\u7f6e\u6307\u5b9a\u4e86\u5c06\u4e00\u4e2a\u6587\u6863\u8f6c\u6362\u6210\u4e00\u4e2a <code class=\"type\">tsvector</code> \u6240\u9700\u7684\u6240\u6709\u9009\u9879\uff1a\u7528\u4e8e\u628a\u6587\u672c\u5206\u89e3\u6210\u8bcd\u5143\u7684\u89e3\u6790\u5668\uff0c\u4ee5\u53ca\u7528\u4e8e\u5c06\u6bcf\u4e00\u4e2a\u8bcd\u5143\u8f6c\u6362\u6210\u8bcd\u4f4d\u7684\u8bcd\u5178\u3002\u6bcf\u4e00\u6b21 <code class=\"function\">to_tsvector</code> \u6216 <code class=\"function\">to_tsquery</code> \u7684\u8c03\u7528\u90fd\u9700\u8981\u4e00\u4e2a\u6587\u672c\u68c0\u7d22\u914d\u7f6e\u6765\u6267\u884c\u5176\u5904\u7406\u3002\u914d\u7f6e\u53c2\u6570 <a class=\"xref\" href=\"/zh/docs/13/runtime-config-client.html#GUC-DEFAULT-TEXT-SEARCH-CONFIG\">default_text_search_config</a> \u6307\u5b9a\u4e86\u9ed8\u8ba4\u914d\u7f6e\u7684\u540d\u79f0\uff0c\u5982\u679c\u7701\u7565\u4e86\u663e\u5f0f\u7684\u914d\u7f6e\u53c2\u6570\uff0c\u6587\u672c\u68c0\u7d22\u51fd\u6570\u5c06\u4f1a\u4f7f\u7528\u5b83\u3002\u5b83\u53ef\u4ee5\u5728 <code class=\"filename\">postgresql.conf</code> \u4e2d\u8bbe\u7f6e\uff0c\u6216\u8005\u4f7f\u7528 <code class=\"command\">SET</code> \u547d\u4ee4\u4e3a\u4e00\u4e2a\u5355\u72ec\u7684\u4f1a\u8bdd\u8bbe\u7f6e\u3002\n   </p><p>\n    \u6709\u4e00\u4e9b\u9884\u5b9a\u4e49\u7684\u6587\u672c\u68c0\u7d22\u914d\u7f6e\u53ef\u7528\uff0c\u5e76\u4e14\u4f60\u53ef\u4ee5\u5bb9\u6613\u5730\u521b\u5efa\u81ea\u5b9a\u4e49\u7684\u914d\u7f6e\u3002\u4e3a\u4e86\u4fbf\u4e8e\u7ba1\u7406\u6587\u672c\u68c0\u7d22\u5bf9\u8c61\uff0c\u53ef\u4ee5\u4f7f\u7528\u4e00\u7ec4 <acronym class=\"acronym\">SQL</acronym> \u547d\u4ee4\uff0c\u5e76\u4e14\u6709\u591a\u4e2a <span class=\"application\">psql</span> \u547d\u4ee4\u53ef\u4ee5\u663e\u793a\u6709\u5173\u6587\u672c\u68c0\u7d22\u5bf9\u8c61\uff08<a class=\"xref\" href=\"/zh/docs/13/textsearch-psql.html\">\u7b2c\u00a012.10\u00a0\u8282</a>\uff09\u7684\u4fe1\u606f\u3002\n   </p><p>\n    \u4f5c\u4e3a\u4e00\u4e2a\u793a\u4f8b\uff0c\u6211\u4eec\u5c06\u521b\u5efa\u4e00\u4e2a\u914d\u7f6e <code class=\"literal\">pg</code>\uff0c\u4ece\u590d\u5236\u5185\u7f6e\u7684 <code class=\"literal\">english</code> \u914d\u7f6e\u5f00\u59cb\uff1a\n\n</p><p>\n    \u6211\u4eec\u5c06\u4f7f\u7528\u4e00\u4e2a PostgreSQL \u76f8\u5173\u7684\u540c\u4e49\u8bcd\u5217\u8868\uff0c\u5e76\u5c06\u5b83\u5b58\u50a8\u5728 <code class=\"filename\">$SHAREDIR/tsearch_data/pg_dict.syn</code> \u4e2d\u3002\u6587\u4ef6\u5185\u5bb9\u770b\u8d77\u6765\u50cf\uff1a\n\n</p><p><a href=\"/zh/docs/13/textsearch-configuration.html\">\u67e5\u770b\u5b8c\u6574\u4e2d\u6587\u624b\u518c\u4e0e\u4e0a\u4e0b\u6587</a>\u3002</p>"}, "summary": "\u5168\u6587\u641c\u7d22\u914d\u7f6e hungarian\u3002", "version": "13", "link_map": {"/zh/docs/13/textsearch-psql.html": "/docs/13/textsearch-psql.html", "/zh/docs/13/textsearch-configuration.html": "/docs/13/textsearch-configuration.html", "/zh/docs/13/runtime-config-client.html#GUC-DEFAULT-TEXT-SEARCH-CONFIG": "/docs/13/runtime-config-client.html#GUC-DEFAULT-TEXT-SEARCH-CONFIG"}, "body_html": "<p>\u5168\u6587\u641c\u7d22\u914d\u7f6e hungarian\u3002</p><dl><dt>\u89e3\u6790\u5668</dt><dd><code>default</code></dd><dt>\u914d\u7f6e</dt><dd><code>hungarian</code></dd></dl><h3>\u8bcd\u5143\u4e0e\u8bcd\u5178\u6620\u5c04</h3><table><tr><th>\u8bcd\u5143\u7c7b\u578b</th><th>\u987a\u5e8f</th><th>\u8bcd\u5178</th></tr><tr><td><code>email</code></td><td><code>1</code></td><td><code>simple</code></td></tr><tr><td><code>url</code></td><td><code>1</code></td><td><code>simple</code></td></tr><tr><td><code>url_path</code></td><td><code>1</code></td><td><code>simple</code></td></tr><tr><td><code>host</code></td><td><code>1</code></td><td><code>simple</code></td></tr><tr><td><code>file</code></td><td><code>1</code></td><td><code>simple</code></td></tr><tr><td><code>version</code></td><td><code>1</code></td><td><code>simple</code></td></tr><tr><td><code>sfloat</code></td><td><code>1</code></td><td><code>simple</code></td></tr><tr><td><code>float</code></td><td><code>1</code></td><td><code>simple</code></td></tr><tr><td><code>int</code></td><td><code>1</code></td><td><code>simple</code></td></tr><tr><td><code>uint</code></td><td><code>1</code></td><td><code>simple</code></td></tr><tr><td><code>numword</code></td><td><code>1</code></td><td><code>simple</code></td></tr><tr><td><code>hword_numpart</code></td><td><code>1</code></td><td><code>simple</code></td></tr><tr><td><code>numhword</code></td><td><code>1</code></td><td><code>simple</code></td></tr><tr><td><code>asciiword</code></td><td><code>1</code></td><td><code>hungarian_stem</code></td></tr><tr><td><code>hword_asciipart</code></td><td><code>1</code></td><td><code>hungarian_stem</code></td></tr><tr><td><code>asciihword</code></td><td><code>1</code></td><td><code>hungarian_stem</code></td></tr><tr><td><code>word</code></td><td><code>1</code></td><td><code>hungarian_stem</code></td></tr><tr><td><code>hword_part</code></td><td><code>1</code></td><td><code>hungarian_stem</code></td></tr><tr><td><code>hword</code></td><td><code>1</code></td><td><code>hungarian_stem</code></td></tr></table><h3>\u540c\u7248\u672c\u4e2d\u6587\u624b\u518c\u8282\u9009</h3><p>\n    \u4e00\u4e2a\u6587\u672c\u68c0\u7d22\u914d\u7f6e\u6307\u5b9a\u4e86\u5c06\u4e00\u4e2a\u6587\u6863\u8f6c\u6362\u6210\u4e00\u4e2a <code>tsvector</code> \u6240\u9700\u7684\u6240\u6709\u9009\u9879\uff1a\u7528\u4e8e\u628a\u6587\u672c\u5206\u89e3\u6210\u8bcd\u5143\u7684\u89e3\u6790\u5668\uff0c\u4ee5\u53ca\u7528\u4e8e\u5c06\u6bcf\u4e00\u4e2a\u8bcd\u5143\u8f6c\u6362\u6210\u8bcd\u4f4d\u7684\u8bcd\u5178\u3002\u6bcf\u4e00\u6b21 <code>to_tsvector</code> \u6216 <code>to_tsquery</code> \u7684\u8c03\u7528\u90fd\u9700\u8981\u4e00\u4e2a\u6587\u672c\u68c0\u7d22\u914d\u7f6e\u6765\u6267\u884c\u5176\u5904\u7406\u3002\u914d\u7f6e\u53c2\u6570 <a href=\"/zh/docs/13/runtime-config-client.html#GUC-DEFAULT-TEXT-SEARCH-CONFIG\" rel=\"nofollow\">default_text_search_config</a> \u6307\u5b9a\u4e86\u9ed8\u8ba4\u914d\u7f6e\u7684\u540d\u79f0\uff0c\u5982\u679c\u7701\u7565\u4e86\u663e\u5f0f\u7684\u914d\u7f6e\u53c2\u6570\uff0c\u6587\u672c\u68c0\u7d22\u51fd\u6570\u5c06\u4f1a\u4f7f\u7528\u5b83\u3002\u5b83\u53ef\u4ee5\u5728 <code>postgresql.conf</code> \u4e2d\u8bbe\u7f6e\uff0c\u6216\u8005\u4f7f\u7528 <code>SET</code> \u547d\u4ee4\u4e3a\u4e00\u4e2a\u5355\u72ec\u7684\u4f1a\u8bdd\u8bbe\u7f6e\u3002\n   </p><p>\n    \u6709\u4e00\u4e9b\u9884\u5b9a\u4e49\u7684\u6587\u672c\u68c0\u7d22\u914d\u7f6e\u53ef\u7528\uff0c\u5e76\u4e14\u4f60\u53ef\u4ee5\u5bb9\u6613\u5730\u521b\u5efa\u81ea\u5b9a\u4e49\u7684\u914d\u7f6e\u3002\u4e3a\u4e86\u4fbf\u4e8e\u7ba1\u7406\u6587\u672c\u68c0\u7d22\u5bf9\u8c61\uff0c\u53ef\u4ee5\u4f7f\u7528\u4e00\u7ec4 <acronym>SQL</acronym> \u547d\u4ee4\uff0c\u5e76\u4e14\u6709\u591a\u4e2a <span>psql</span> \u547d\u4ee4\u53ef\u4ee5\u663e\u793a\u6709\u5173\u6587\u672c\u68c0\u7d22\u5bf9\u8c61\uff08<a href=\"/zh/docs/13/textsearch-psql.html\" rel=\"nofollow\">\u7b2c\u00a012.10\u00a0\u8282</a>\uff09\u7684\u4fe1\u606f\u3002\n   </p><p>\n    \u4f5c\u4e3a\u4e00\u4e2a\u793a\u4f8b\uff0c\u6211\u4eec\u5c06\u521b\u5efa\u4e00\u4e2a\u914d\u7f6e <code>pg</code>\uff0c\u4ece\u590d\u5236\u5185\u7f6e\u7684 <code>english</code> \u914d\u7f6e\u5f00\u59cb\uff1a\n\n</p><p>\n    \u6211\u4eec\u5c06\u4f7f\u7528\u4e00\u4e2a PostgreSQL \u76f8\u5173\u7684\u540c\u4e49\u8bcd\u5217\u8868\uff0c\u5e76\u5c06\u5b83\u5b58\u50a8\u5728 <code>$SHAREDIR/tsearch_data/pg_dict.syn</code> \u4e2d\u3002\u6587\u4ef6\u5185\u5bb9\u770b\u8d77\u6765\u50cf\uff1a\n\n</p><p><a href=\"/zh/docs/13/textsearch-configuration.html\" rel=\"nofollow\">\u67e5\u770b\u5b8c\u6574\u4e2d\u6587\u624b\u518c\u4e0e\u4e0a\u4e0b\u6587</a>\u3002</p>", "body_sha256": "cac282371be5ccd38911dbe0e03bfcd6d92dcc226dec1b4e73b466e816ea60e8", "content_hash": "ff4d15ce99464b14e5fa3fb2a119515664e272770d74a1d98eab4d8cd3562ee2", "source_database": "center", "source_revision": "6ec3c82726af92b7dec873fa1cdf881eca92a4219787dfad05acb6b10e041fd6"}, "signature": "", "tables_zh": [{"key": "mappings", "rows": [{"token": "email", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-simple/?v=13", "text": "simple"}}, {"token": "url", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-simple/?v=13", "text": "simple"}}, {"token": "url_path", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-simple/?v=13", "text": "simple"}}, {"token": "host", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-simple/?v=13", "text": "simple"}}, {"token": "file", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-simple/?v=13", "text": "simple"}}, {"token": "version", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-simple/?v=13", "text": "simple"}}, {"token": "sfloat", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-simple/?v=13", "text": "simple"}}, {"token": "float", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-simple/?v=13", "text": "simple"}}, {"token": "int", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-simple/?v=13", "text": "simple"}}, {"token": "uint", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-simple/?v=13", "text": "simple"}}, {"token": "numword", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-simple/?v=13", "text": "simple"}}, {"token": "hword_numpart", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-simple/?v=13", "text": "simple"}}, {"token": "numhword", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-simple/?v=13", "text": "simple"}}, {"token": "asciiword", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-hungarian_stem/?v=13", "text": "hungarian_stem"}}, {"token": "hword_asciipart", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-hungarian_stem/?v=13", "text": "hungarian_stem"}}, {"token": "asciihword", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-hungarian_stem/?v=13", "text": "hungarian_stem"}}, {"token": "word", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-hungarian_stem/?v=13", "text": "hungarian_stem"}}, {"token": "hword_part", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-hungarian_stem/?v=13", "text": "hungarian_stem"}}, {"token": "hword", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-hungarian_stem/?v=13", "text": "hungarian_stem"}}], "title": "\u8bcd\u5143\u5230\u8bcd\u5178\u7684\u6620\u5c04", "columns": [{"key": "token", "label": "\u8bcd\u5143\u7c7b\u578b"}, {"key": "sequence", "label": "\u987a\u5e8f"}, {"key": "dictionary", "label": "\u8bcd\u5178"}]}], "attributes": {"parser": "default", "configuration": "hungarian"}, "description": ["\u5168\u6587\u641c\u7d22\u914d\u7f6e hungarian\u3002"], "manual_html": "", "manual_path": "/docs/13/textsearch-configuration.html", "sections_zh": [{"code": "/*\n * text search configuration for hungarian language\n *\n * Copyright (c) 2007-2020, PostgreSQL Global Development Group\n *\n * src/backend/snowball/snowball.sql.in\n *\n * hungarian and certain other macros are replaced for each language;\n * see the Makefile for details.\n *\n * Note: this file is read in single-user -j mode, which means that the\n * command terminator is semicolon-newline-newline; whenever the backend\n * sees that, it stops and executes what it's got.  If you write a lot of\n * statements without empty lines between, they'll all get quoted to you\n * in any error message about one of them, so don't do that.  Also, you\n * cannot write a semicolon immediately followed by an empty line in a\n * string literal (including a function body!) or a multiline comment.\n */\n\nCREATE TEXT SEARCH DICTIONARY hungarian_stem\n\t(TEMPLATE = snowball, Language = hungarian , StopWords=hungarian);\n\nCOMMENT ON TEXT SEARCH DICTIONARY hungarian_stem IS 'snowball stemmer for hungarian language';\n\nCREATE TEXT SEARCH CONFIGURATION hungarian\n\t(PARSER = default);\n\nCOMMENT ON TEXT SEARCH CONFIGURATION hungarian IS 'configuration for hungarian language';\n\nALTER TEXT SEARCH CONFIGURATION hungarian ADD MAPPING\n\tFOR email, url, url_path, host, file, version,\n\t    sfloat, float, int, uint,\n\t    numword, hword_numpart, numhword\n\tWITH simple;\n\nALTER TEXT SEARCH CONFIGURATION hungarian ADD MAPPING\n    FOR asciiword, hword_asciipart, asciihword\n\tWITH hungarian_stem;\n\nALTER TEXT SEARCH CONFIGURATION hungarian ADD MAPPING\n    FOR word, hword_part, hword\n\tWITH hungarian_stem;", "title": "initdb \u751f\u6210\u7684\u5b9a\u4e49", "paragraphs": ["\u6839\u636e\u6b64\u7248\u672c\u7684 Snowball \u8bed\u8a00\u5217\u8868\u548c SQL \u6a21\u677f\u751f\u6210\u3002"]}], "localization": {"status": "complete", "sources": [{"url": "/docs/13/catalog-pg-amproc.html", "method": "same-major semantic node", "sha256": "58733c88e0d5af1fc61cf9c9f4999764248e349d7a2f4185749d44111bf7c2fd", "language": "zh", "matched_nodes": ["#CATALOG-PG-AMPROC/p[5]/span[2]/span[0]"]}, {"url": "/docs/13/textsearch-configuration.html", "method": "same-major semantic node", "sha256": "ffd6cef2d4dfdac0f5ce87234bcd3445b2c6c883dc3ab1eb5fc821a8eab9e664", "language": "zh", "matched_nodes": ["#TEXTSEARCH-CONFIGURATION/div[0]", "#TEXTSEARCH-CONFIGURATION/p[11]", "#TEXTSEARCH-CONFIGURATION/p[13]", "#TEXTSEARCH-CONFIGURATION/p[15]", "#TEXTSEARCH-CONFIGURATION/p[17]", "#TEXTSEARCH-CONFIGURATION/p[1]", "#TEXTSEARCH-CONFIGURATION/p[2]", "#TEXTSEARCH-CONFIGURATION/p[3]", "#TEXTSEARCH-CONFIGURATION/p[5]", "#TEXTSEARCH-CONFIGURATION/p[7]", "#TEXTSEARCH-CONFIGURATION/p[9]"]}], "language": "zh", "original_text": {"/versions/13/description/0": "Text search configuration hungarian.", "/versions/13/facts/0/label": "Configuration", "/versions/13/facts/1/label": "Parser", "/versions/13/facts/1/value": "default", "/versions/13/tables/0/title": "Token-to-dictionary mappings", "/versions/13/related/0/label": "default parser", "/versions/13/sections/0/title": "Generated initdb definition", "/versions/13/sections/0/paragraphs/0": "Generated from this release\u2019s Snowball language list and SQL template.", "/versions/13/tables/0/columns/0/label": "Token type", "/versions/13/tables/0/columns/1/label": "Order", "/versions/13/tables/0/columns/2/label": "Dictionary"}, "fallback_fields": [], "source_language": "en", "original_snapshot_sha256": "046b29c2c953dff37ef4eb8751dc1c1a972d08312d95d8af2f01d15d2be1820b", "canonical_center_text_hash": "ff4d15ce99464b14e5fa3fb2a119515664e272770d74a1d98eab4d8cd3562ee2"}, "description_zh": "\u5168\u6587\u641c\u7d22\u914d\u7f6e hungarian\u3002", "comparison_data": {"parser": "default", "mappings": [{"token": "asciihword", "sequence": "1", "dictionary": "hungarian_stem"}, {"token": "asciiword", "sequence": "1", "dictionary": "hungarian_stem"}, {"token": "email", "sequence": "1", "dictionary": "simple"}, {"token": "file", "sequence": "1", "dictionary": "simple"}, {"token": "float", "sequence": "1", "dictionary": "simple"}, {"token": "host", "sequence": "1", "dictionary": "simple"}, {"token": "hword", "sequence": "1", "dictionary": "hungarian_stem"}, {"token": "hword_asciipart", "sequence": "1", "dictionary": "hungarian_stem"}, {"token": "hword_numpart", "sequence": "1", "dictionary": "simple"}, {"token": "hword_part", "sequence": "1", "dictionary": "hungarian_stem"}, {"token": "int", "sequence": "1", "dictionary": "simple"}, {"token": "numhword", "sequence": "1", "dictionary": "simple"}, {"token": "numword", "sequence": "1", "dictionary": "simple"}, {"token": "sfloat", "sequence": "1", "dictionary": "simple"}, {"token": "uint", "sequence": "1", "dictionary": "simple"}, {"token": "url", "sequence": "1", "dictionary": "simple"}, {"token": "url_path", "sequence": "1", "dictionary": "simple"}, {"token": "version", "sequence": "1", "dictionary": "simple"}, {"token": "word", "sequence": "1", "dictionary": "hungarian_stem"}]}, "comparison_hash": "4b14c26ff2f416b9bc0128f68a56146e71b77907078eeac0cbd0dfaf2af246dd", "manual_language": "zh", "description_zh_html": "<p>\u5168\u6587\u641c\u7d22\u914d\u7f6e hungarian\u3002</p><dl><dt>\u89e3\u6790\u5668</dt><dd><code>default</code></dd><dt>\u914d\u7f6e</dt><dd><code>hungarian</code></dd></dl><h3>\u8bcd\u5143\u4e0e\u8bcd\u5178\u6620\u5c04</h3><table><tr><th>\u8bcd\u5143\u7c7b\u578b</th><th>\u987a\u5e8f</th><th>\u8bcd\u5178</th></tr><tr><td><code>email</code></td><td><code>1</code></td><td><code>simple</code></td></tr><tr><td><code>url</code></td><td><code>1</code></td><td><code>simple</code></td></tr><tr><td><code>url_path</code></td><td><code>1</code></td><td><code>simple</code></td></tr><tr><td><code>host</code></td><td><code>1</code></td><td><code>simple</code></td></tr><tr><td><code>file</code></td><td><code>1</code></td><td><code>simple</code></td></tr><tr><td><code>version</code></td><td><code>1</code></td><td><code>simple</code></td></tr><tr><td><code>sfloat</code></td><td><code>1</code></td><td><code>simple</code></td></tr><tr><td><code>float</code></td><td><code>1</code></td><td><code>simple</code></td></tr><tr><td><code>int</code></td><td><code>1</code></td><td><code>simple</code></td></tr><tr><td><code>uint</code></td><td><code>1</code></td><td><code>simple</code></td></tr><tr><td><code>numword</code></td><td><code>1</code></td><td><code>simple</code></td></tr><tr><td><code>hword_numpart</code></td><td><code>1</code></td><td><code>simple</code></td></tr><tr><td><code>numhword</code></td><td><code>1</code></td><td><code>simple</code></td></tr><tr><td><code>asciiword</code></td><td><code>1</code></td><td><code>hungarian_stem</code></td></tr><tr><td><code>hword_asciipart</code></td><td><code>1</code></td><td><code>hungarian_stem</code></td></tr><tr><td><code>asciihword</code></td><td><code>1</code></td><td><code>hungarian_stem</code></td></tr><tr><td><code>word</code></td><td><code>1</code></td><td><code>hungarian_stem</code></td></tr><tr><td><code>hword_part</code></td><td><code>1</code></td><td><code>hungarian_stem</code></td></tr><tr><td><code>hword</code></td><td><code>1</code></td><td><code>hungarian_stem</code></td></tr></table><h3>\u540c\u7248\u672c\u4e2d\u6587\u624b\u518c\u8282\u9009</h3><p>\n    \u4e00\u4e2a\u6587\u672c\u68c0\u7d22\u914d\u7f6e\u6307\u5b9a\u4e86\u5c06\u4e00\u4e2a\u6587\u6863\u8f6c\u6362\u6210\u4e00\u4e2a <code>tsvector</code> \u6240\u9700\u7684\u6240\u6709\u9009\u9879\uff1a\u7528\u4e8e\u628a\u6587\u672c\u5206\u89e3\u6210\u8bcd\u5143\u7684\u89e3\u6790\u5668\uff0c\u4ee5\u53ca\u7528\u4e8e\u5c06\u6bcf\u4e00\u4e2a\u8bcd\u5143\u8f6c\u6362\u6210\u8bcd\u4f4d\u7684\u8bcd\u5178\u3002\u6bcf\u4e00\u6b21 <code>to_tsvector</code> \u6216 <code>to_tsquery</code> \u7684\u8c03\u7528\u90fd\u9700\u8981\u4e00\u4e2a\u6587\u672c\u68c0\u7d22\u914d\u7f6e\u6765\u6267\u884c\u5176\u5904\u7406\u3002\u914d\u7f6e\u53c2\u6570 <a href=\"/zh/docs/13/runtime-config-client.html#GUC-DEFAULT-TEXT-SEARCH-CONFIG\" rel=\"nofollow\">default_text_search_config</a> \u6307\u5b9a\u4e86\u9ed8\u8ba4\u914d\u7f6e\u7684\u540d\u79f0\uff0c\u5982\u679c\u7701\u7565\u4e86\u663e\u5f0f\u7684\u914d\u7f6e\u53c2\u6570\uff0c\u6587\u672c\u68c0\u7d22\u51fd\u6570\u5c06\u4f1a\u4f7f\u7528\u5b83\u3002\u5b83\u53ef\u4ee5\u5728 <code>postgresql.conf</code> \u4e2d\u8bbe\u7f6e\uff0c\u6216\u8005\u4f7f\u7528 <code>SET</code> \u547d\u4ee4\u4e3a\u4e00\u4e2a\u5355\u72ec\u7684\u4f1a\u8bdd\u8bbe\u7f6e\u3002\n   </p><p>\n    \u6709\u4e00\u4e9b\u9884\u5b9a\u4e49\u7684\u6587\u672c\u68c0\u7d22\u914d\u7f6e\u53ef\u7528\uff0c\u5e76\u4e14\u4f60\u53ef\u4ee5\u5bb9\u6613\u5730\u521b\u5efa\u81ea\u5b9a\u4e49\u7684\u914d\u7f6e\u3002\u4e3a\u4e86\u4fbf\u4e8e\u7ba1\u7406\u6587\u672c\u68c0\u7d22\u5bf9\u8c61\uff0c\u53ef\u4ee5\u4f7f\u7528\u4e00\u7ec4 <acronym>SQL</acronym> \u547d\u4ee4\uff0c\u5e76\u4e14\u6709\u591a\u4e2a <span>psql</span> \u547d\u4ee4\u53ef\u4ee5\u663e\u793a\u6709\u5173\u6587\u672c\u68c0\u7d22\u5bf9\u8c61\uff08<a href=\"/zh/docs/13/textsearch-psql.html\" rel=\"nofollow\">\u7b2c\u00a012.10\u00a0\u8282</a>\uff09\u7684\u4fe1\u606f\u3002\n   </p><p>\n    \u4f5c\u4e3a\u4e00\u4e2a\u793a\u4f8b\uff0c\u6211\u4eec\u5c06\u521b\u5efa\u4e00\u4e2a\u914d\u7f6e <code>pg</code>\uff0c\u4ece\u590d\u5236\u5185\u7f6e\u7684 <code>english</code> \u914d\u7f6e\u5f00\u59cb\uff1a\n\n</p><p>\n    \u6211\u4eec\u5c06\u4f7f\u7528\u4e00\u4e2a PostgreSQL \u76f8\u5173\u7684\u540c\u4e49\u8bcd\u5217\u8868\uff0c\u5e76\u5c06\u5b83\u5b58\u50a8\u5728 <code>$SHAREDIR/tsearch_data/pg_dict.syn</code> \u4e2d\u3002\u6587\u4ef6\u5185\u5bb9\u770b\u8d77\u6765\u50cf\uff1a\n\n</p><p><a href=\"/zh/docs/13/textsearch-configuration.html\" rel=\"nofollow\">\u67e5\u770b\u5b8c\u6574\u4e2d\u6587\u624b\u518c\u4e0e\u4e0a\u4e0b\u6587</a>\u3002</p>"}, "14": {"facts": [{"label": "\u914d\u7f6e", "value": "hungarian"}, {"label": "\u89e3\u6790\u5668", "value": "\u9ed8\u8ba4"}], "tables": [{"key": "mappings", "rows": [{"token": "email", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-simple/?v=14", "text": "simple"}}, {"token": "url", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-simple/?v=14", "text": "simple"}}, {"token": "url_path", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-simple/?v=14", "text": "simple"}}, {"token": "host", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-simple/?v=14", "text": "simple"}}, {"token": "file", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-simple/?v=14", "text": "simple"}}, {"token": "version", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-simple/?v=14", "text": "simple"}}, {"token": "sfloat", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-simple/?v=14", "text": "simple"}}, {"token": "float", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-simple/?v=14", "text": "simple"}}, {"token": "int", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-simple/?v=14", "text": "simple"}}, {"token": "uint", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-simple/?v=14", "text": "simple"}}, {"token": "numword", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-simple/?v=14", "text": "simple"}}, {"token": "hword_numpart", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-simple/?v=14", "text": "simple"}}, {"token": "numhword", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-simple/?v=14", "text": "simple"}}, {"token": "asciiword", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-hungarian_stem/?v=14", "text": "hungarian_stem"}}, {"token": "hword_asciipart", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-hungarian_stem/?v=14", "text": "hungarian_stem"}}, {"token": "asciihword", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-hungarian_stem/?v=14", "text": "hungarian_stem"}}, {"token": "word", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-hungarian_stem/?v=14", "text": "hungarian_stem"}}, {"token": "hword_part", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-hungarian_stem/?v=14", "text": "hungarian_stem"}}, {"token": "hword", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-hungarian_stem/?v=14", "text": "hungarian_stem"}}], "title": "\u8bcd\u5143\u5230\u8bcd\u5178\u7684\u6620\u5c04", "columns": [{"key": "token", "label": "\u8bcd\u5143\u7c7b\u578b"}, {"key": "sequence", "label": "\u987a\u5e8f"}, {"key": "dictionary", "label": "\u8bcd\u5178"}]}], "aliases": [], "related": [{"url": "/wiki/fts/parser-default/?v=14", "label": "\u9ed8\u8ba4\u89e3\u6790\u5668"}], "release": {"ref": "https://ftp.postgresql.org/pub/source/v14.24/postgresql-14.24.tar.bz2", "label": "14.24", "major": "14", "channel": "stable", "revision": "a7fa7ed3d558172355f51406097a7bd4f6b473be80f311ef7cda96bf383d8897", "source_sha256": "a7fa7ed3d558172355f51406097a7bd4f6b473be80f311ef7cda96bf383d8897", "catalog_fingerprint": "b272e6a82e4c46efda81c3a6a4cdf7de6a83dfff7f02f226a392fbe9acdd3adb"}, "sources": [{"url": "https://ftp.postgresql.org/pub/source/v14.24/postgresql-14.24.tar.bz2", "label": "Matching PostgreSQL source archive", "sha256": "a7fa7ed3d558172355f51406097a7bd4f6b473be80f311ef7cda96bf383d8897"}, {"url": "/docs/14/textsearch-configuration.html", "path": "textsearch-configuration.html", "label": "PostgreSQL 14 English manual", "sha256": "ddf909a1152235b56c4f2788b34e591e215c1da46d3a759c30b7cd2b9b60c70a"}], "zh_from": {"kind": "same-version-chinese-manual-with-source-derived-structured-summary", "manual": {"url": "/zh/docs/14/textsearch-configuration.html", "anchor": "", "locale": "zh-Hans", "version": "14", "build_id": 99, "page_key": "textsearch-configuration.html", "extraction": "concept-introduction", "source_hash": "160a037501d52b48eef7d5b8033a98f0bcb5c13afc655bf8da542fba6f050945", "fragment_sha256": "28f19b3dc71e250575bcb0bfb82cf61daeb7ff07cc089bfd54528c7c79fcd2f6", "source_revision": "unknown:rendered-translation-baseline", "translation_revision": "git:b1b500221dbe5437cfca004d6b04d3f6e422765d;html-sha256:87e6aa4fd6e1ec85c5f4a6de4f5647cfd9e5de734ca2c266d32b6d6192c662ef", "translated_from_revision": null}, "body_sha256": "16afed3585e701a77a2c62322df80efbaca28202267554cb2a578315d16c1e39", "runtime_rerun": false, "authored_translation": "source-derived-structured-summary", "source_facts_revision": "a7fa7ed3d558172355f51406097a7bd4f6b473be80f311ef7cda96bf383d8897"}, "facts_zh": [{"label": "\u914d\u7f6e", "value": "hungarian"}, {"label": "\u89e3\u6790\u5668", "value": "\u9ed8\u8ba4"}], "mappings": [{"token": "email", "sequence": "1", "dictionary": "simple"}, {"token": "url", "sequence": "1", "dictionary": "simple"}, {"token": "url_path", "sequence": "1", "dictionary": "simple"}, {"token": "host", "sequence": "1", "dictionary": "simple"}, {"token": "file", "sequence": "1", "dictionary": "simple"}, {"token": "version", "sequence": "1", "dictionary": "simple"}, {"token": "sfloat", "sequence": "1", "dictionary": "simple"}, {"token": "float", "sequence": "1", "dictionary": "simple"}, {"token": "int", "sequence": "1", "dictionary": "simple"}, {"token": "uint", "sequence": "1", "dictionary": "simple"}, {"token": "numword", "sequence": "1", "dictionary": "simple"}, {"token": "hword_numpart", "sequence": "1", "dictionary": "simple"}, {"token": "numhword", "sequence": "1", "dictionary": "simple"}, {"token": "asciiword", "sequence": "1", "dictionary": "hungarian_stem"}, {"token": "hword_asciipart", "sequence": "1", "dictionary": "hungarian_stem"}, {"token": "asciihword", "sequence": "1", "dictionary": "hungarian_stem"}, {"token": "word", "sequence": "1", "dictionary": "hungarian_stem"}, {"token": "hword_part", "sequence": "1", "dictionary": "hungarian_stem"}, {"token": "hword", "sequence": "1", "dictionary": "hungarian_stem"}], "sections": [{"code": "/*\n * text search configuration for hungarian language\n *\n * Copyright (c) 2007-2021, PostgreSQL Global Development Group\n *\n * src/backend/snowball/snowball.sql.in\n *\n * hungarian and certain other macros are replaced for each language;\n * see the Makefile for details.\n *\n * Note: this file is read in single-user -j mode, which means that the\n * command terminator is semicolon-newline-newline; whenever the backend\n * sees that, it stops and executes what it's got.  If you write a lot of\n * statements without empty lines between, they'll all get quoted to you\n * in any error message about one of them, so don't do that.  Also, you\n * cannot write a semicolon immediately followed by an empty line in a\n * string literal (including a function body!) or a multiline comment.\n */\n\nCREATE TEXT SEARCH DICTIONARY hungarian_stem\n\t(TEMPLATE = snowball, Language = hungarian , StopWords=hungarian);\n\nCOMMENT ON TEXT SEARCH DICTIONARY hungarian_stem IS 'snowball stemmer for hungarian language';\n\nCREATE TEXT SEARCH CONFIGURATION hungarian\n\t(PARSER = default);\n\nCOMMENT ON TEXT SEARCH CONFIGURATION hungarian IS 'configuration for hungarian language';\n\nALTER TEXT SEARCH CONFIGURATION hungarian ADD MAPPING\n\tFOR email, url, url_path, host, file, version,\n\t    sfloat, float, int, uint,\n\t    numword, hword_numpart, numhword\n\tWITH simple;\n\nALTER TEXT SEARCH CONFIGURATION hungarian ADD MAPPING\n    FOR asciiword, hword_asciipart, asciihword\n\tWITH hungarian_stem;\n\nALTER TEXT SEARCH CONFIGURATION hungarian ADD MAPPING\n    FOR word, hword_part, hword\n\tWITH hungarian_stem;", "title": "initdb \u751f\u6210\u7684\u5b9a\u4e49", "paragraphs": ["\u6839\u636e\u6b64\u7248\u672c\u7684 Snowball \u8bed\u8a00\u5217\u8868\u548c SQL \u6a21\u677f\u751f\u6210\u3002"]}], "center_zh": {"title": "hungarian", "locale": "zh-Hans", "source": {"key": "configuration-hungarian", "locale": "zh-Hans", "version": "14", "text_hash": "4a8b24f6f4660c81179f3b77346546d8abc7aedfaecd441d04d495042690f8a7", "collection": "fts", "dataset_hash": "7c31b524dfe136022d39a6ae8dcfac6b3bbd5f8fdaf422536599981252aff0c9", "source_database": "center", "source_revision": "a7fa7ed3d558172355f51406097a7bd4f6b473be80f311ef7cda96bf383d8897"}, "payload": {"facts": [{"label": "\u914d\u7f6e", "value": "hungarian"}, {"label": "\u89e3\u6790\u5668", "value": "\u9ed8\u8ba4"}], "tables": [{"key": "mappings", "rows": [{"token": "email", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-simple/?v=14", "text": "simple"}}, {"token": "url", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-simple/?v=14", "text": "simple"}}, {"token": "url_path", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-simple/?v=14", "text": "simple"}}, {"token": "host", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-simple/?v=14", "text": "simple"}}, {"token": "file", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-simple/?v=14", "text": "simple"}}, {"token": "version", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-simple/?v=14", "text": "simple"}}, {"token": "sfloat", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-simple/?v=14", "text": "simple"}}, {"token": "float", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-simple/?v=14", "text": "simple"}}, {"token": "int", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-simple/?v=14", "text": "simple"}}, {"token": "uint", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-simple/?v=14", "text": "simple"}}, {"token": "numword", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-simple/?v=14", "text": "simple"}}, {"token": "hword_numpart", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-simple/?v=14", "text": "simple"}}, {"token": "numhword", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-simple/?v=14", "text": "simple"}}, {"token": "asciiword", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-hungarian_stem/?v=14", "text": "hungarian_stem"}}, {"token": "hword_asciipart", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-hungarian_stem/?v=14", "text": "hungarian_stem"}}, {"token": "asciihword", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-hungarian_stem/?v=14", "text": "hungarian_stem"}}, {"token": "word", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-hungarian_stem/?v=14", "text": "hungarian_stem"}}, {"token": "hword_part", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-hungarian_stem/?v=14", "text": "hungarian_stem"}}, {"token": "hword", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-hungarian_stem/?v=14", "text": "hungarian_stem"}}], "title": "\u8bcd\u5143\u5230\u8bcd\u5178\u7684\u6620\u5c04", "columns": [{"key": "token", "label": "\u8bcd\u5143\u7c7b\u578b"}, {"key": "sequence", "label": "\u987a\u5e8f"}, {"key": "dictionary", "label": "\u8bcd\u5178"}]}], "zh_from": {"kind": "same-version-chinese-manual-with-source-derived-structured-summary", "manual": {"url": "/zh/docs/14/textsearch-configuration.html", "anchor": "", "locale": "zh-Hans", "version": "14", "build_id": 99, "page_key": "textsearch-configuration.html", "extraction": "concept-introduction", "source_hash": "160a037501d52b48eef7d5b8033a98f0bcb5c13afc655bf8da542fba6f050945", "fragment_sha256": "28f19b3dc71e250575bcb0bfb82cf61daeb7ff07cc089bfd54528c7c79fcd2f6", "source_revision": "unknown:rendered-translation-baseline", "translation_revision": "git:b1b500221dbe5437cfca004d6b04d3f6e422765d;html-sha256:87e6aa4fd6e1ec85c5f4a6de4f5647cfd9e5de734ca2c266d32b6d6192c662ef", "translated_from_revision": null}, "body_sha256": "16afed3585e701a77a2c62322df80efbaca28202267554cb2a578315d16c1e39", "runtime_rerun": false, "authored_translation": "source-derived-structured-summary", "source_facts_revision": "a7fa7ed3d558172355f51406097a7bd4f6b473be80f311ef7cda96bf383d8897"}, "sections": [{"code": "/*\n * text search configuration for hungarian language\n *\n * Copyright (c) 2007-2021, PostgreSQL Global Development Group\n *\n * src/backend/snowball/snowball.sql.in\n *\n * hungarian and certain other macros are replaced for each language;\n * see the Makefile for details.\n *\n * Note: this file is read in single-user -j mode, which means that the\n * command terminator is semicolon-newline-newline; whenever the backend\n * sees that, it stops and executes what it's got.  If you write a lot of\n * statements without empty lines between, they'll all get quoted to you\n * in any error message about one of them, so don't do that.  Also, you\n * cannot write a semicolon immediately followed by an empty line in a\n * string literal (including a function body!) or a multiline comment.\n */\n\nCREATE TEXT SEARCH DICTIONARY hungarian_stem\n\t(TEMPLATE = snowball, Language = hungarian , StopWords=hungarian);\n\nCOMMENT ON TEXT SEARCH DICTIONARY hungarian_stem IS 'snowball stemmer for hungarian language';\n\nCREATE TEXT SEARCH CONFIGURATION hungarian\n\t(PARSER = default);\n\nCOMMENT ON TEXT SEARCH CONFIGURATION hungarian IS 'configuration for hungarian language';\n\nALTER TEXT SEARCH CONFIGURATION hungarian ADD MAPPING\n\tFOR email, url, url_path, host, file, version,\n\t    sfloat, float, int, uint,\n\t    numword, hword_numpart, numhword\n\tWITH simple;\n\nALTER TEXT SEARCH CONFIGURATION hungarian ADD MAPPING\n    FOR asciiword, hword_asciipart, asciihword\n\tWITH hungarian_stem;\n\nALTER TEXT SEARCH CONFIGURATION hungarian ADD MAPPING\n    FOR word, hword_part, hword\n\tWITH hungarian_stem;", "title": "initdb \u751f\u6210\u7684\u5b9a\u4e49", "paragraphs": ["\u6839\u636e\u6b64\u7248\u672c\u7684 Snowball \u8bed\u8a00\u5217\u8868\u548c SQL \u6a21\u677f\u751f\u6210\u3002"]}], "description_zh": "\u5168\u6587\u641c\u7d22\u914d\u7f6e hungarian\u3002", "description_zh_html": "<p>\u5168\u6587\u641c\u7d22\u914d\u7f6e hungarian\u3002</p><dl><dt>\u89e3\u6790\u5668</dt><dd><code>default</code></dd><dt>\u914d\u7f6e</dt><dd><code>hungarian</code></dd></dl><h3>\u8bcd\u5143\u4e0e\u8bcd\u5178\u6620\u5c04</h3><table><tr><th>\u8bcd\u5143\u7c7b\u578b</th><th>\u987a\u5e8f</th><th>\u8bcd\u5178</th></tr><tr><td><code>email</code></td><td><code>1</code></td><td><code>simple</code></td></tr><tr><td><code>url</code></td><td><code>1</code></td><td><code>simple</code></td></tr><tr><td><code>url_path</code></td><td><code>1</code></td><td><code>simple</code></td></tr><tr><td><code>host</code></td><td><code>1</code></td><td><code>simple</code></td></tr><tr><td><code>file</code></td><td><code>1</code></td><td><code>simple</code></td></tr><tr><td><code>version</code></td><td><code>1</code></td><td><code>simple</code></td></tr><tr><td><code>sfloat</code></td><td><code>1</code></td><td><code>simple</code></td></tr><tr><td><code>float</code></td><td><code>1</code></td><td><code>simple</code></td></tr><tr><td><code>int</code></td><td><code>1</code></td><td><code>simple</code></td></tr><tr><td><code>uint</code></td><td><code>1</code></td><td><code>simple</code></td></tr><tr><td><code>numword</code></td><td><code>1</code></td><td><code>simple</code></td></tr><tr><td><code>hword_numpart</code></td><td><code>1</code></td><td><code>simple</code></td></tr><tr><td><code>numhword</code></td><td><code>1</code></td><td><code>simple</code></td></tr><tr><td><code>asciiword</code></td><td><code>1</code></td><td><code>hungarian_stem</code></td></tr><tr><td><code>hword_asciipart</code></td><td><code>1</code></td><td><code>hungarian_stem</code></td></tr><tr><td><code>asciihword</code></td><td><code>1</code></td><td><code>hungarian_stem</code></td></tr><tr><td><code>word</code></td><td><code>1</code></td><td><code>hungarian_stem</code></td></tr><tr><td><code>hword_part</code></td><td><code>1</code></td><td><code>hungarian_stem</code></td></tr><tr><td><code>hword</code></td><td><code>1</code></td><td><code>hungarian_stem</code></td></tr></table><h3>\u540c\u7248\u672c\u4e2d\u6587\u624b\u518c\u8282\u9009</h3><p>\n    \u4e00\u4e2a\u6587\u672c\u68c0\u7d22\u914d\u7f6e\u6307\u5b9a\u4e86\u5c06\u4e00\u4e2a\u6587\u6863\u8f6c\u6362\u6210\u4e00\u4e2a <code class=\"type\">tsvector</code> \u6240\u9700\u7684\u6240\u6709\u9009\u9879\uff1a\u7528\u4e8e\u628a\u6587\u672c\u5206\u89e3\u6210\u8bcd\u5143\u7684\u89e3\u6790\u5668\uff0c\u4ee5\u53ca\u7528\u4e8e\u5c06\u6bcf\u4e00\u4e2a\u8bcd\u5143\u8f6c\u6362\u6210\u8bcd\u4f4d\u7684\u8bcd\u5178\u3002\u6bcf\u4e00\u6b21 <code class=\"function\">to_tsvector</code> \u6216 <code class=\"function\">to_tsquery</code> \u7684\u8c03\u7528\u90fd\u9700\u8981\u4e00\u4e2a\u6587\u672c\u68c0\u7d22\u914d\u7f6e\u6765\u6267\u884c\u5176\u5904\u7406\u3002\u914d\u7f6e\u53c2\u6570 <a class=\"xref\" href=\"/zh/docs/14/runtime-config-client.html#GUC-DEFAULT-TEXT-SEARCH-CONFIG\">default_text_search_config</a> \u6307\u5b9a\u4e86\u9ed8\u8ba4\u914d\u7f6e\u7684\u540d\u79f0\uff0c\u5982\u679c\u7701\u7565\u4e86\u663e\u5f0f\u7684\u914d\u7f6e\u53c2\u6570\uff0c\u6587\u672c\u68c0\u7d22\u51fd\u6570\u5c06\u4f1a\u4f7f\u7528\u5b83\u3002\u5b83\u53ef\u4ee5\u5728 <code class=\"filename\">postgresql.conf</code> \u4e2d\u8bbe\u7f6e\uff0c\u6216\u8005\u4f7f\u7528 <code class=\"command\">SET</code> \u547d\u4ee4\u4e3a\u4e00\u4e2a\u5355\u72ec\u7684\u4f1a\u8bdd\u8bbe\u7f6e\u3002\n   </p><p>\n    \u6709\u4e00\u4e9b\u9884\u5b9a\u4e49\u7684\u6587\u672c\u68c0\u7d22\u914d\u7f6e\u53ef\u7528\uff0c\u5e76\u4e14\u4f60\u53ef\u4ee5\u5bb9\u6613\u5730\u521b\u5efa\u81ea\u5b9a\u4e49\u7684\u914d\u7f6e\u3002\u4e3a\u4e86\u4fbf\u4e8e\u7ba1\u7406\u6587\u672c\u68c0\u7d22\u5bf9\u8c61\uff0c\u53ef\u4ee5\u4f7f\u7528\u4e00\u7ec4 <acronym class=\"acronym\">SQL</acronym> \u547d\u4ee4\uff0c\u5e76\u4e14\u6709\u591a\u4e2a <span class=\"application\">psql</span> \u547d\u4ee4\u53ef\u4ee5\u663e\u793a\u6709\u5173\u6587\u672c\u68c0\u7d22\u5bf9\u8c61\uff08<a class=\"xref\" href=\"/zh/docs/14/textsearch-psql.html\">\u7b2c\u00a012.10\u00a0\u8282</a>\uff09\u7684\u4fe1\u606f\u3002\n   </p><p>\n    \u4f5c\u4e3a\u4e00\u4e2a\u793a\u4f8b\uff0c\u6211\u4eec\u5c06\u521b\u5efa\u4e00\u4e2a\u914d\u7f6e <code class=\"literal\">pg</code>\uff0c\u4ece\u590d\u5236\u5185\u7f6e\u7684 <code class=\"literal\">english</code> \u914d\u7f6e\u5f00\u59cb\uff1a\n\n</p><p>\n    \u6211\u4eec\u5c06\u4f7f\u7528\u4e00\u4e2a PostgreSQL \u76f8\u5173\u7684\u540c\u4e49\u8bcd\u5217\u8868\uff0c\u5e76\u5c06\u5b83\u5b58\u50a8\u5728 <code class=\"filename\">$SHAREDIR/tsearch_data/pg_dict.syn</code> \u4e2d\u3002\u6587\u4ef6\u5185\u5bb9\u770b\u8d77\u6765\u50cf\uff1a\n\n</p><p><a href=\"/zh/docs/14/textsearch-configuration.html\">\u67e5\u770b\u5b8c\u6574\u4e2d\u6587\u624b\u518c\u4e0e\u4e0a\u4e0b\u6587</a>\u3002</p>"}, "summary": "\u5168\u6587\u641c\u7d22\u914d\u7f6e hungarian\u3002", "version": "14", "link_map": {"/zh/docs/14/textsearch-psql.html": "/docs/14/textsearch-psql.html", "/zh/docs/14/textsearch-configuration.html": "/docs/14/textsearch-configuration.html", "/zh/docs/14/runtime-config-client.html#GUC-DEFAULT-TEXT-SEARCH-CONFIG": "/docs/14/runtime-config-client.html#GUC-DEFAULT-TEXT-SEARCH-CONFIG"}, "body_html": "<p>\u5168\u6587\u641c\u7d22\u914d\u7f6e hungarian\u3002</p><dl><dt>\u89e3\u6790\u5668</dt><dd><code>default</code></dd><dt>\u914d\u7f6e</dt><dd><code>hungarian</code></dd></dl><h3>\u8bcd\u5143\u4e0e\u8bcd\u5178\u6620\u5c04</h3><table><tr><th>\u8bcd\u5143\u7c7b\u578b</th><th>\u987a\u5e8f</th><th>\u8bcd\u5178</th></tr><tr><td><code>email</code></td><td><code>1</code></td><td><code>simple</code></td></tr><tr><td><code>url</code></td><td><code>1</code></td><td><code>simple</code></td></tr><tr><td><code>url_path</code></td><td><code>1</code></td><td><code>simple</code></td></tr><tr><td><code>host</code></td><td><code>1</code></td><td><code>simple</code></td></tr><tr><td><code>file</code></td><td><code>1</code></td><td><code>simple</code></td></tr><tr><td><code>version</code></td><td><code>1</code></td><td><code>simple</code></td></tr><tr><td><code>sfloat</code></td><td><code>1</code></td><td><code>simple</code></td></tr><tr><td><code>float</code></td><td><code>1</code></td><td><code>simple</code></td></tr><tr><td><code>int</code></td><td><code>1</code></td><td><code>simple</code></td></tr><tr><td><code>uint</code></td><td><code>1</code></td><td><code>simple</code></td></tr><tr><td><code>numword</code></td><td><code>1</code></td><td><code>simple</code></td></tr><tr><td><code>hword_numpart</code></td><td><code>1</code></td><td><code>simple</code></td></tr><tr><td><code>numhword</code></td><td><code>1</code></td><td><code>simple</code></td></tr><tr><td><code>asciiword</code></td><td><code>1</code></td><td><code>hungarian_stem</code></td></tr><tr><td><code>hword_asciipart</code></td><td><code>1</code></td><td><code>hungarian_stem</code></td></tr><tr><td><code>asciihword</code></td><td><code>1</code></td><td><code>hungarian_stem</code></td></tr><tr><td><code>word</code></td><td><code>1</code></td><td><code>hungarian_stem</code></td></tr><tr><td><code>hword_part</code></td><td><code>1</code></td><td><code>hungarian_stem</code></td></tr><tr><td><code>hword</code></td><td><code>1</code></td><td><code>hungarian_stem</code></td></tr></table><h3>\u540c\u7248\u672c\u4e2d\u6587\u624b\u518c\u8282\u9009</h3><p>\n    \u4e00\u4e2a\u6587\u672c\u68c0\u7d22\u914d\u7f6e\u6307\u5b9a\u4e86\u5c06\u4e00\u4e2a\u6587\u6863\u8f6c\u6362\u6210\u4e00\u4e2a <code>tsvector</code> \u6240\u9700\u7684\u6240\u6709\u9009\u9879\uff1a\u7528\u4e8e\u628a\u6587\u672c\u5206\u89e3\u6210\u8bcd\u5143\u7684\u89e3\u6790\u5668\uff0c\u4ee5\u53ca\u7528\u4e8e\u5c06\u6bcf\u4e00\u4e2a\u8bcd\u5143\u8f6c\u6362\u6210\u8bcd\u4f4d\u7684\u8bcd\u5178\u3002\u6bcf\u4e00\u6b21 <code>to_tsvector</code> \u6216 <code>to_tsquery</code> \u7684\u8c03\u7528\u90fd\u9700\u8981\u4e00\u4e2a\u6587\u672c\u68c0\u7d22\u914d\u7f6e\u6765\u6267\u884c\u5176\u5904\u7406\u3002\u914d\u7f6e\u53c2\u6570 <a href=\"/zh/docs/14/runtime-config-client.html#GUC-DEFAULT-TEXT-SEARCH-CONFIG\" rel=\"nofollow\">default_text_search_config</a> \u6307\u5b9a\u4e86\u9ed8\u8ba4\u914d\u7f6e\u7684\u540d\u79f0\uff0c\u5982\u679c\u7701\u7565\u4e86\u663e\u5f0f\u7684\u914d\u7f6e\u53c2\u6570\uff0c\u6587\u672c\u68c0\u7d22\u51fd\u6570\u5c06\u4f1a\u4f7f\u7528\u5b83\u3002\u5b83\u53ef\u4ee5\u5728 <code>postgresql.conf</code> \u4e2d\u8bbe\u7f6e\uff0c\u6216\u8005\u4f7f\u7528 <code>SET</code> \u547d\u4ee4\u4e3a\u4e00\u4e2a\u5355\u72ec\u7684\u4f1a\u8bdd\u8bbe\u7f6e\u3002\n   </p><p>\n    \u6709\u4e00\u4e9b\u9884\u5b9a\u4e49\u7684\u6587\u672c\u68c0\u7d22\u914d\u7f6e\u53ef\u7528\uff0c\u5e76\u4e14\u4f60\u53ef\u4ee5\u5bb9\u6613\u5730\u521b\u5efa\u81ea\u5b9a\u4e49\u7684\u914d\u7f6e\u3002\u4e3a\u4e86\u4fbf\u4e8e\u7ba1\u7406\u6587\u672c\u68c0\u7d22\u5bf9\u8c61\uff0c\u53ef\u4ee5\u4f7f\u7528\u4e00\u7ec4 <acronym>SQL</acronym> \u547d\u4ee4\uff0c\u5e76\u4e14\u6709\u591a\u4e2a <span>psql</span> \u547d\u4ee4\u53ef\u4ee5\u663e\u793a\u6709\u5173\u6587\u672c\u68c0\u7d22\u5bf9\u8c61\uff08<a href=\"/zh/docs/14/textsearch-psql.html\" rel=\"nofollow\">\u7b2c\u00a012.10\u00a0\u8282</a>\uff09\u7684\u4fe1\u606f\u3002\n   </p><p>\n    \u4f5c\u4e3a\u4e00\u4e2a\u793a\u4f8b\uff0c\u6211\u4eec\u5c06\u521b\u5efa\u4e00\u4e2a\u914d\u7f6e <code>pg</code>\uff0c\u4ece\u590d\u5236\u5185\u7f6e\u7684 <code>english</code> \u914d\u7f6e\u5f00\u59cb\uff1a\n\n</p><p>\n    \u6211\u4eec\u5c06\u4f7f\u7528\u4e00\u4e2a PostgreSQL \u76f8\u5173\u7684\u540c\u4e49\u8bcd\u5217\u8868\uff0c\u5e76\u5c06\u5b83\u5b58\u50a8\u5728 <code>$SHAREDIR/tsearch_data/pg_dict.syn</code> \u4e2d\u3002\u6587\u4ef6\u5185\u5bb9\u770b\u8d77\u6765\u50cf\uff1a\n\n</p><p><a href=\"/zh/docs/14/textsearch-configuration.html\" rel=\"nofollow\">\u67e5\u770b\u5b8c\u6574\u4e2d\u6587\u624b\u518c\u4e0e\u4e0a\u4e0b\u6587</a>\u3002</p>", "body_sha256": "9d2ab28b21f656808620974dea6db113e0b503649172462e4f3c20d5006bd0dc", "content_hash": "4a8b24f6f4660c81179f3b77346546d8abc7aedfaecd441d04d495042690f8a7", "source_database": "center", "source_revision": "a7fa7ed3d558172355f51406097a7bd4f6b473be80f311ef7cda96bf383d8897"}, "signature": "", "tables_zh": [{"key": "mappings", "rows": [{"token": "email", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-simple/?v=14", "text": "simple"}}, {"token": "url", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-simple/?v=14", "text": "simple"}}, {"token": "url_path", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-simple/?v=14", "text": "simple"}}, {"token": "host", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-simple/?v=14", "text": "simple"}}, {"token": "file", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-simple/?v=14", "text": "simple"}}, {"token": "version", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-simple/?v=14", "text": "simple"}}, {"token": "sfloat", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-simple/?v=14", "text": "simple"}}, {"token": "float", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-simple/?v=14", "text": "simple"}}, {"token": "int", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-simple/?v=14", "text": "simple"}}, {"token": "uint", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-simple/?v=14", "text": "simple"}}, {"token": "numword", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-simple/?v=14", "text": "simple"}}, {"token": "hword_numpart", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-simple/?v=14", "text": "simple"}}, {"token": "numhword", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-simple/?v=14", "text": "simple"}}, {"token": "asciiword", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-hungarian_stem/?v=14", "text": "hungarian_stem"}}, {"token": "hword_asciipart", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-hungarian_stem/?v=14", "text": "hungarian_stem"}}, {"token": "asciihword", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-hungarian_stem/?v=14", "text": "hungarian_stem"}}, {"token": "word", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-hungarian_stem/?v=14", "text": "hungarian_stem"}}, {"token": "hword_part", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-hungarian_stem/?v=14", "text": "hungarian_stem"}}, {"token": "hword", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-hungarian_stem/?v=14", "text": "hungarian_stem"}}], "title": "\u8bcd\u5143\u5230\u8bcd\u5178\u7684\u6620\u5c04", "columns": [{"key": "token", "label": "\u8bcd\u5143\u7c7b\u578b"}, {"key": "sequence", "label": "\u987a\u5e8f"}, {"key": "dictionary", "label": "\u8bcd\u5178"}]}], "attributes": {"parser": "default", "configuration": "hungarian"}, "description": ["\u5168\u6587\u641c\u7d22\u914d\u7f6e hungarian\u3002"], "manual_html": "", "manual_path": "/docs/14/textsearch-configuration.html", "sections_zh": [{"code": "/*\n * text search configuration for hungarian language\n *\n * Copyright (c) 2007-2021, PostgreSQL Global Development Group\n *\n * src/backend/snowball/snowball.sql.in\n *\n * hungarian and certain other macros are replaced for each language;\n * see the Makefile for details.\n *\n * Note: this file is read in single-user -j mode, which means that the\n * command terminator is semicolon-newline-newline; whenever the backend\n * sees that, it stops and executes what it's got.  If you write a lot of\n * statements without empty lines between, they'll all get quoted to you\n * in any error message about one of them, so don't do that.  Also, you\n * cannot write a semicolon immediately followed by an empty line in a\n * string literal (including a function body!) or a multiline comment.\n */\n\nCREATE TEXT SEARCH DICTIONARY hungarian_stem\n\t(TEMPLATE = snowball, Language = hungarian , StopWords=hungarian);\n\nCOMMENT ON TEXT SEARCH DICTIONARY hungarian_stem IS 'snowball stemmer for hungarian language';\n\nCREATE TEXT SEARCH CONFIGURATION hungarian\n\t(PARSER = default);\n\nCOMMENT ON TEXT SEARCH CONFIGURATION hungarian IS 'configuration for hungarian language';\n\nALTER TEXT SEARCH CONFIGURATION hungarian ADD MAPPING\n\tFOR email, url, url_path, host, file, version,\n\t    sfloat, float, int, uint,\n\t    numword, hword_numpart, numhword\n\tWITH simple;\n\nALTER TEXT SEARCH CONFIGURATION hungarian ADD MAPPING\n    FOR asciiword, hword_asciipart, asciihword\n\tWITH hungarian_stem;\n\nALTER TEXT SEARCH CONFIGURATION hungarian ADD MAPPING\n    FOR word, hword_part, hword\n\tWITH hungarian_stem;", "title": "initdb \u751f\u6210\u7684\u5b9a\u4e49", "paragraphs": ["\u6839\u636e\u6b64\u7248\u672c\u7684 Snowball \u8bed\u8a00\u5217\u8868\u548c SQL \u6a21\u677f\u751f\u6210\u3002"]}], "localization": {"status": "complete", "sources": [{"url": "/docs/14/catalog-pg-amproc.html", "method": "same-major semantic node", "sha256": "f0d7f7da0196ae7e641535d9d2a7b7b98025241be584b2806d3a5d72e187b93e", "language": "zh", "matched_nodes": ["#CATALOG-PG-AMPROC/p[5]/span[2]/span[0]"]}, {"url": "/docs/14/textsearch-configuration.html", "method": "same-major semantic node", "sha256": "1b8592ffeb65b92f0130b75cc6976ab40e07d3ccba69494cf64a5fd685c24733", "language": "zh", "matched_nodes": ["#TEXTSEARCH-CONFIGURATION/div[0]", "#TEXTSEARCH-CONFIGURATION/p[11]", "#TEXTSEARCH-CONFIGURATION/p[13]", "#TEXTSEARCH-CONFIGURATION/p[15]", "#TEXTSEARCH-CONFIGURATION/p[17]", "#TEXTSEARCH-CONFIGURATION/p[1]", "#TEXTSEARCH-CONFIGURATION/p[2]", "#TEXTSEARCH-CONFIGURATION/p[3]", "#TEXTSEARCH-CONFIGURATION/p[5]", "#TEXTSEARCH-CONFIGURATION/p[7]", "#TEXTSEARCH-CONFIGURATION/p[9]"]}], "language": "zh", "original_text": {"/versions/14/description/0": "Text search configuration hungarian.", "/versions/14/facts/0/label": "Configuration", "/versions/14/facts/1/label": "Parser", "/versions/14/facts/1/value": "default", "/versions/14/tables/0/title": "Token-to-dictionary mappings", "/versions/14/related/0/label": "default parser", "/versions/14/sections/0/title": "Generated initdb definition", "/versions/14/sections/0/paragraphs/0": "Generated from this release\u2019s Snowball language list and SQL template.", "/versions/14/tables/0/columns/0/label": "Token type", "/versions/14/tables/0/columns/1/label": "Order", "/versions/14/tables/0/columns/2/label": "Dictionary"}, "fallback_fields": [], "source_language": "en", "original_snapshot_sha256": "69070d3b6757222adee227776b44afa7778d3cd95e9a02bd8e5c7b95b61deb16", "canonical_center_text_hash": "4a8b24f6f4660c81179f3b77346546d8abc7aedfaecd441d04d495042690f8a7"}, "description_zh": "\u5168\u6587\u641c\u7d22\u914d\u7f6e hungarian\u3002", "comparison_data": {"parser": "default", "mappings": [{"token": "asciihword", "sequence": "1", "dictionary": "hungarian_stem"}, {"token": "asciiword", "sequence": "1", "dictionary": "hungarian_stem"}, {"token": "email", "sequence": "1", "dictionary": "simple"}, {"token": "file", "sequence": "1", "dictionary": "simple"}, {"token": "float", "sequence": "1", "dictionary": "simple"}, {"token": "host", "sequence": "1", "dictionary": "simple"}, {"token": "hword", "sequence": "1", "dictionary": "hungarian_stem"}, {"token": "hword_asciipart", "sequence": "1", "dictionary": "hungarian_stem"}, {"token": "hword_numpart", "sequence": "1", "dictionary": "simple"}, {"token": "hword_part", "sequence": "1", "dictionary": "hungarian_stem"}, {"token": "int", "sequence": "1", "dictionary": "simple"}, {"token": "numhword", "sequence": "1", "dictionary": "simple"}, {"token": "numword", "sequence": "1", "dictionary": "simple"}, {"token": "sfloat", "sequence": "1", "dictionary": "simple"}, {"token": "uint", "sequence": "1", "dictionary": "simple"}, {"token": "url", "sequence": "1", "dictionary": "simple"}, {"token": "url_path", "sequence": "1", "dictionary": "simple"}, {"token": "version", "sequence": "1", "dictionary": "simple"}, {"token": "word", "sequence": "1", "dictionary": "hungarian_stem"}]}, "comparison_hash": "4b14c26ff2f416b9bc0128f68a56146e71b77907078eeac0cbd0dfaf2af246dd", "manual_language": "zh", "description_zh_html": "<p>\u5168\u6587\u641c\u7d22\u914d\u7f6e hungarian\u3002</p><dl><dt>\u89e3\u6790\u5668</dt><dd><code>default</code></dd><dt>\u914d\u7f6e</dt><dd><code>hungarian</code></dd></dl><h3>\u8bcd\u5143\u4e0e\u8bcd\u5178\u6620\u5c04</h3><table><tr><th>\u8bcd\u5143\u7c7b\u578b</th><th>\u987a\u5e8f</th><th>\u8bcd\u5178</th></tr><tr><td><code>email</code></td><td><code>1</code></td><td><code>simple</code></td></tr><tr><td><code>url</code></td><td><code>1</code></td><td><code>simple</code></td></tr><tr><td><code>url_path</code></td><td><code>1</code></td><td><code>simple</code></td></tr><tr><td><code>host</code></td><td><code>1</code></td><td><code>simple</code></td></tr><tr><td><code>file</code></td><td><code>1</code></td><td><code>simple</code></td></tr><tr><td><code>version</code></td><td><code>1</code></td><td><code>simple</code></td></tr><tr><td><code>sfloat</code></td><td><code>1</code></td><td><code>simple</code></td></tr><tr><td><code>float</code></td><td><code>1</code></td><td><code>simple</code></td></tr><tr><td><code>int</code></td><td><code>1</code></td><td><code>simple</code></td></tr><tr><td><code>uint</code></td><td><code>1</code></td><td><code>simple</code></td></tr><tr><td><code>numword</code></td><td><code>1</code></td><td><code>simple</code></td></tr><tr><td><code>hword_numpart</code></td><td><code>1</code></td><td><code>simple</code></td></tr><tr><td><code>numhword</code></td><td><code>1</code></td><td><code>simple</code></td></tr><tr><td><code>asciiword</code></td><td><code>1</code></td><td><code>hungarian_stem</code></td></tr><tr><td><code>hword_asciipart</code></td><td><code>1</code></td><td><code>hungarian_stem</code></td></tr><tr><td><code>asciihword</code></td><td><code>1</code></td><td><code>hungarian_stem</code></td></tr><tr><td><code>word</code></td><td><code>1</code></td><td><code>hungarian_stem</code></td></tr><tr><td><code>hword_part</code></td><td><code>1</code></td><td><code>hungarian_stem</code></td></tr><tr><td><code>hword</code></td><td><code>1</code></td><td><code>hungarian_stem</code></td></tr></table><h3>\u540c\u7248\u672c\u4e2d\u6587\u624b\u518c\u8282\u9009</h3><p>\n    \u4e00\u4e2a\u6587\u672c\u68c0\u7d22\u914d\u7f6e\u6307\u5b9a\u4e86\u5c06\u4e00\u4e2a\u6587\u6863\u8f6c\u6362\u6210\u4e00\u4e2a <code>tsvector</code> \u6240\u9700\u7684\u6240\u6709\u9009\u9879\uff1a\u7528\u4e8e\u628a\u6587\u672c\u5206\u89e3\u6210\u8bcd\u5143\u7684\u89e3\u6790\u5668\uff0c\u4ee5\u53ca\u7528\u4e8e\u5c06\u6bcf\u4e00\u4e2a\u8bcd\u5143\u8f6c\u6362\u6210\u8bcd\u4f4d\u7684\u8bcd\u5178\u3002\u6bcf\u4e00\u6b21 <code>to_tsvector</code> \u6216 <code>to_tsquery</code> \u7684\u8c03\u7528\u90fd\u9700\u8981\u4e00\u4e2a\u6587\u672c\u68c0\u7d22\u914d\u7f6e\u6765\u6267\u884c\u5176\u5904\u7406\u3002\u914d\u7f6e\u53c2\u6570 <a href=\"/zh/docs/14/runtime-config-client.html#GUC-DEFAULT-TEXT-SEARCH-CONFIG\" rel=\"nofollow\">default_text_search_config</a> \u6307\u5b9a\u4e86\u9ed8\u8ba4\u914d\u7f6e\u7684\u540d\u79f0\uff0c\u5982\u679c\u7701\u7565\u4e86\u663e\u5f0f\u7684\u914d\u7f6e\u53c2\u6570\uff0c\u6587\u672c\u68c0\u7d22\u51fd\u6570\u5c06\u4f1a\u4f7f\u7528\u5b83\u3002\u5b83\u53ef\u4ee5\u5728 <code>postgresql.conf</code> \u4e2d\u8bbe\u7f6e\uff0c\u6216\u8005\u4f7f\u7528 <code>SET</code> \u547d\u4ee4\u4e3a\u4e00\u4e2a\u5355\u72ec\u7684\u4f1a\u8bdd\u8bbe\u7f6e\u3002\n   </p><p>\n    \u6709\u4e00\u4e9b\u9884\u5b9a\u4e49\u7684\u6587\u672c\u68c0\u7d22\u914d\u7f6e\u53ef\u7528\uff0c\u5e76\u4e14\u4f60\u53ef\u4ee5\u5bb9\u6613\u5730\u521b\u5efa\u81ea\u5b9a\u4e49\u7684\u914d\u7f6e\u3002\u4e3a\u4e86\u4fbf\u4e8e\u7ba1\u7406\u6587\u672c\u68c0\u7d22\u5bf9\u8c61\uff0c\u53ef\u4ee5\u4f7f\u7528\u4e00\u7ec4 <acronym>SQL</acronym> \u547d\u4ee4\uff0c\u5e76\u4e14\u6709\u591a\u4e2a <span>psql</span> \u547d\u4ee4\u53ef\u4ee5\u663e\u793a\u6709\u5173\u6587\u672c\u68c0\u7d22\u5bf9\u8c61\uff08<a href=\"/zh/docs/14/textsearch-psql.html\" rel=\"nofollow\">\u7b2c\u00a012.10\u00a0\u8282</a>\uff09\u7684\u4fe1\u606f\u3002\n   </p><p>\n    \u4f5c\u4e3a\u4e00\u4e2a\u793a\u4f8b\uff0c\u6211\u4eec\u5c06\u521b\u5efa\u4e00\u4e2a\u914d\u7f6e <code>pg</code>\uff0c\u4ece\u590d\u5236\u5185\u7f6e\u7684 <code>english</code> \u914d\u7f6e\u5f00\u59cb\uff1a\n\n</p><p>\n    \u6211\u4eec\u5c06\u4f7f\u7528\u4e00\u4e2a PostgreSQL \u76f8\u5173\u7684\u540c\u4e49\u8bcd\u5217\u8868\uff0c\u5e76\u5c06\u5b83\u5b58\u50a8\u5728 <code>$SHAREDIR/tsearch_data/pg_dict.syn</code> \u4e2d\u3002\u6587\u4ef6\u5185\u5bb9\u770b\u8d77\u6765\u50cf\uff1a\n\n</p><p><a href=\"/zh/docs/14/textsearch-configuration.html\" rel=\"nofollow\">\u67e5\u770b\u5b8c\u6574\u4e2d\u6587\u624b\u518c\u4e0e\u4e0a\u4e0b\u6587</a>\u3002</p>"}, "15": {"facts": [{"label": "\u914d\u7f6e", "value": "hungarian"}, {"label": "\u89e3\u6790\u5668", "value": "\u9ed8\u8ba4"}], "tables": [{"key": "mappings", "rows": [{"token": "email", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-simple/?v=15", "text": "simple"}}, {"token": "url", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-simple/?v=15", "text": "simple"}}, {"token": "url_path", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-simple/?v=15", "text": "simple"}}, {"token": "host", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-simple/?v=15", "text": "simple"}}, {"token": "file", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-simple/?v=15", "text": "simple"}}, {"token": "version", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-simple/?v=15", "text": "simple"}}, {"token": "sfloat", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-simple/?v=15", "text": "simple"}}, {"token": "float", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-simple/?v=15", "text": "simple"}}, {"token": "int", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-simple/?v=15", "text": "simple"}}, {"token": "uint", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-simple/?v=15", "text": "simple"}}, {"token": "numword", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-simple/?v=15", "text": "simple"}}, {"token": "hword_numpart", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-simple/?v=15", "text": "simple"}}, {"token": "numhword", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-simple/?v=15", "text": "simple"}}, {"token": "asciiword", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-hungarian_stem/?v=15", "text": "hungarian_stem"}}, {"token": "hword_asciipart", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-hungarian_stem/?v=15", "text": "hungarian_stem"}}, {"token": "asciihword", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-hungarian_stem/?v=15", "text": "hungarian_stem"}}, {"token": "word", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-hungarian_stem/?v=15", "text": "hungarian_stem"}}, {"token": "hword_part", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-hungarian_stem/?v=15", "text": "hungarian_stem"}}, {"token": "hword", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-hungarian_stem/?v=15", "text": "hungarian_stem"}}], "title": "\u8bcd\u5143\u5230\u8bcd\u5178\u7684\u6620\u5c04", "columns": [{"key": "token", "label": "\u8bcd\u5143\u7c7b\u578b"}, {"key": "sequence", "label": "\u987a\u5e8f"}, {"key": "dictionary", "label": "\u8bcd\u5178"}]}], "aliases": [], "related": [{"url": "/wiki/fts/parser-default/?v=15", "label": "\u9ed8\u8ba4\u89e3\u6790\u5668"}], "release": {"ref": "https://ftp.postgresql.org/pub/source/v15.19/postgresql-15.19.tar.bz2", "label": "15.19", "major": "15", "channel": "stable", "revision": "e1a64a87a46b825b88c082e4518161a47aab53c45694964f8ba1df28f7859f89", "source_sha256": "e1a64a87a46b825b88c082e4518161a47aab53c45694964f8ba1df28f7859f89", "catalog_fingerprint": "fefe3c425147a86defada190c9b0663cfe02caa1724f5dede93e46457572252d"}, "sources": [{"url": "https://ftp.postgresql.org/pub/source/v15.19/postgresql-15.19.tar.bz2", "label": "Matching PostgreSQL source archive", "sha256": "e1a64a87a46b825b88c082e4518161a47aab53c45694964f8ba1df28f7859f89"}, {"url": "/docs/15/textsearch-configuration.html", "path": "textsearch-configuration.html", "label": "PostgreSQL 15 English manual", "sha256": "1a2f4d4b9c2e47e293d13b928b8420747c30283265e51c822308ace5735a043d"}], "zh_from": {"kind": "same-version-chinese-manual-with-source-derived-structured-summary", "manual": {"url": "/zh/docs/15/textsearch-configuration.html", "anchor": "", "locale": "zh-Hans", "version": "15", "build_id": 101, "page_key": "textsearch-configuration.html", "extraction": "concept-introduction", "source_hash": "7ab47bce30b32df641641a23a01f0b729699d9fe6013b68576870d3df3228217", "fragment_sha256": "28a7b92c52c25c38300e9039366f3025306e2e3cb54d325471c6591c54bc29b8", "source_revision": "unknown:rendered-translation-baseline", "translation_revision": "git:b1b500221dbe5437cfca004d6b04d3f6e422765d;html-sha256:6bce1a2df9170cb1146a1411c5547190856638221a6539e618ee1016c9f493ad", "translated_from_revision": null}, "body_sha256": "bf45a1a7d9ef8963502c3920325d8751f201cc342ab8cd58add517c646b8ba1a", "runtime_rerun": false, "authored_translation": "source-derived-structured-summary", "source_facts_revision": "e1a64a87a46b825b88c082e4518161a47aab53c45694964f8ba1df28f7859f89"}, "facts_zh": [{"label": "\u914d\u7f6e", "value": "hungarian"}, {"label": "\u89e3\u6790\u5668", "value": "\u9ed8\u8ba4"}], "mappings": [{"token": "email", "sequence": "1", "dictionary": "simple"}, {"token": "url", "sequence": "1", "dictionary": "simple"}, {"token": "url_path", "sequence": "1", "dictionary": "simple"}, {"token": "host", "sequence": "1", "dictionary": "simple"}, {"token": "file", "sequence": "1", "dictionary": "simple"}, {"token": "version", "sequence": "1", "dictionary": "simple"}, {"token": "sfloat", "sequence": "1", "dictionary": "simple"}, {"token": "float", "sequence": "1", "dictionary": "simple"}, {"token": "int", "sequence": "1", "dictionary": "simple"}, {"token": "uint", "sequence": "1", "dictionary": "simple"}, {"token": "numword", "sequence": "1", "dictionary": "simple"}, {"token": "hword_numpart", "sequence": "1", "dictionary": "simple"}, {"token": "numhword", "sequence": "1", "dictionary": "simple"}, {"token": "asciiword", "sequence": "1", "dictionary": "hungarian_stem"}, {"token": "hword_asciipart", "sequence": "1", "dictionary": "hungarian_stem"}, {"token": "asciihword", "sequence": "1", "dictionary": "hungarian_stem"}, {"token": "word", "sequence": "1", "dictionary": "hungarian_stem"}, {"token": "hword_part", "sequence": "1", "dictionary": "hungarian_stem"}, {"token": "hword", "sequence": "1", "dictionary": "hungarian_stem"}], "sections": [{"code": "/*\n * text search configuration for hungarian language\n *\n * Copyright (c) 2007-2022, PostgreSQL Global Development Group\n *\n * src/backend/snowball/snowball.sql.in\n *\n * hungarian and certain other macros are replaced for each language;\n * see the Makefile for details.\n *\n * Note: this file is read in single-user -j mode, which means that the\n * command terminator is semicolon-newline-newline; whenever the backend\n * sees that, it stops and executes what it's got.  If you write a lot of\n * statements without empty lines between, they'll all get quoted to you\n * in any error message about one of them, so don't do that.  Also, you\n * cannot write a semicolon immediately followed by an empty line in a\n * string literal (including a function body!) or a multiline comment.\n */\n\nCREATE TEXT SEARCH DICTIONARY hungarian_stem\n\t(TEMPLATE = snowball, Language = hungarian , StopWords=hungarian);\n\nCOMMENT ON TEXT SEARCH DICTIONARY hungarian_stem IS 'snowball stemmer for hungarian language';\n\nCREATE TEXT SEARCH CONFIGURATION hungarian\n\t(PARSER = default);\n\nCOMMENT ON TEXT SEARCH CONFIGURATION hungarian IS 'configuration for hungarian language';\n\nALTER TEXT SEARCH CONFIGURATION hungarian ADD MAPPING\n\tFOR email, url, url_path, host, file, version,\n\t    sfloat, float, int, uint,\n\t    numword, hword_numpart, numhword\n\tWITH simple;\n\nALTER TEXT SEARCH CONFIGURATION hungarian ADD MAPPING\n    FOR asciiword, hword_asciipart, asciihword\n\tWITH hungarian_stem;\n\nALTER TEXT SEARCH CONFIGURATION hungarian ADD MAPPING\n    FOR word, hword_part, hword\n\tWITH hungarian_stem;", "title": "initdb \u751f\u6210\u7684\u5b9a\u4e49", "paragraphs": ["\u6839\u636e\u6b64\u7248\u672c\u7684 Snowball \u8bed\u8a00\u5217\u8868\u548c SQL \u6a21\u677f\u751f\u6210\u3002"]}], "center_zh": {"title": "hungarian", "locale": "zh-Hans", "source": {"key": "configuration-hungarian", "locale": "zh-Hans", "version": "15", "text_hash": "8d062b1f6bdc677614933b33998bd90e8a2124fd1ae7f1a94c628fc8752966f0", "collection": "fts", "dataset_hash": "7c31b524dfe136022d39a6ae8dcfac6b3bbd5f8fdaf422536599981252aff0c9", "source_database": "center", "source_revision": "e1a64a87a46b825b88c082e4518161a47aab53c45694964f8ba1df28f7859f89"}, "payload": {"facts": [{"label": "\u914d\u7f6e", "value": "hungarian"}, {"label": "\u89e3\u6790\u5668", "value": "\u9ed8\u8ba4"}], "tables": [{"key": "mappings", "rows": [{"token": "email", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-simple/?v=15", "text": "simple"}}, {"token": "url", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-simple/?v=15", "text": "simple"}}, {"token": "url_path", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-simple/?v=15", "text": "simple"}}, {"token": "host", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-simple/?v=15", "text": "simple"}}, {"token": "file", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-simple/?v=15", "text": "simple"}}, {"token": "version", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-simple/?v=15", "text": "simple"}}, {"token": "sfloat", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-simple/?v=15", "text": "simple"}}, {"token": "float", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-simple/?v=15", "text": "simple"}}, {"token": "int", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-simple/?v=15", "text": "simple"}}, {"token": "uint", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-simple/?v=15", "text": "simple"}}, {"token": "numword", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-simple/?v=15", "text": "simple"}}, {"token": "hword_numpart", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-simple/?v=15", "text": "simple"}}, {"token": "numhword", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-simple/?v=15", "text": "simple"}}, {"token": "asciiword", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-hungarian_stem/?v=15", "text": "hungarian_stem"}}, {"token": "hword_asciipart", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-hungarian_stem/?v=15", "text": "hungarian_stem"}}, {"token": "asciihword", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-hungarian_stem/?v=15", "text": "hungarian_stem"}}, {"token": "word", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-hungarian_stem/?v=15", "text": "hungarian_stem"}}, {"token": "hword_part", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-hungarian_stem/?v=15", "text": "hungarian_stem"}}, {"token": "hword", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-hungarian_stem/?v=15", "text": "hungarian_stem"}}], "title": "\u8bcd\u5143\u5230\u8bcd\u5178\u7684\u6620\u5c04", "columns": [{"key": "token", "label": "\u8bcd\u5143\u7c7b\u578b"}, {"key": "sequence", "label": "\u987a\u5e8f"}, {"key": "dictionary", "label": "\u8bcd\u5178"}]}], "zh_from": {"kind": "same-version-chinese-manual-with-source-derived-structured-summary", "manual": {"url": "/zh/docs/15/textsearch-configuration.html", "anchor": "", "locale": "zh-Hans", "version": "15", "build_id": 101, "page_key": "textsearch-configuration.html", "extraction": "concept-introduction", "source_hash": "7ab47bce30b32df641641a23a01f0b729699d9fe6013b68576870d3df3228217", "fragment_sha256": "28a7b92c52c25c38300e9039366f3025306e2e3cb54d325471c6591c54bc29b8", "source_revision": "unknown:rendered-translation-baseline", "translation_revision": "git:b1b500221dbe5437cfca004d6b04d3f6e422765d;html-sha256:6bce1a2df9170cb1146a1411c5547190856638221a6539e618ee1016c9f493ad", "translated_from_revision": null}, "body_sha256": "bf45a1a7d9ef8963502c3920325d8751f201cc342ab8cd58add517c646b8ba1a", "runtime_rerun": false, "authored_translation": "source-derived-structured-summary", "source_facts_revision": "e1a64a87a46b825b88c082e4518161a47aab53c45694964f8ba1df28f7859f89"}, "sections": [{"code": "/*\n * text search configuration for hungarian language\n *\n * Copyright (c) 2007-2022, PostgreSQL Global Development Group\n *\n * src/backend/snowball/snowball.sql.in\n *\n * hungarian and certain other macros are replaced for each language;\n * see the Makefile for details.\n *\n * Note: this file is read in single-user -j mode, which means that the\n * command terminator is semicolon-newline-newline; whenever the backend\n * sees that, it stops and executes what it's got.  If you write a lot of\n * statements without empty lines between, they'll all get quoted to you\n * in any error message about one of them, so don't do that.  Also, you\n * cannot write a semicolon immediately followed by an empty line in a\n * string literal (including a function body!) or a multiline comment.\n */\n\nCREATE TEXT SEARCH DICTIONARY hungarian_stem\n\t(TEMPLATE = snowball, Language = hungarian , StopWords=hungarian);\n\nCOMMENT ON TEXT SEARCH DICTIONARY hungarian_stem IS 'snowball stemmer for hungarian language';\n\nCREATE TEXT SEARCH CONFIGURATION hungarian\n\t(PARSER = default);\n\nCOMMENT ON TEXT SEARCH CONFIGURATION hungarian IS 'configuration for hungarian language';\n\nALTER TEXT SEARCH CONFIGURATION hungarian ADD MAPPING\n\tFOR email, url, url_path, host, file, version,\n\t    sfloat, float, int, uint,\n\t    numword, hword_numpart, numhword\n\tWITH simple;\n\nALTER TEXT SEARCH CONFIGURATION hungarian ADD MAPPING\n    FOR asciiword, hword_asciipart, asciihword\n\tWITH hungarian_stem;\n\nALTER TEXT SEARCH CONFIGURATION hungarian ADD MAPPING\n    FOR word, hword_part, hword\n\tWITH hungarian_stem;", "title": "initdb \u751f\u6210\u7684\u5b9a\u4e49", "paragraphs": ["\u6839\u636e\u6b64\u7248\u672c\u7684 Snowball \u8bed\u8a00\u5217\u8868\u548c SQL \u6a21\u677f\u751f\u6210\u3002"]}], "description_zh": "\u5168\u6587\u641c\u7d22\u914d\u7f6e hungarian\u3002", "description_zh_html": "<p>\u5168\u6587\u641c\u7d22\u914d\u7f6e hungarian\u3002</p><dl><dt>\u89e3\u6790\u5668</dt><dd><code>default</code></dd><dt>\u914d\u7f6e</dt><dd><code>hungarian</code></dd></dl><h3>\u8bcd\u5143\u4e0e\u8bcd\u5178\u6620\u5c04</h3><table><tr><th>\u8bcd\u5143\u7c7b\u578b</th><th>\u987a\u5e8f</th><th>\u8bcd\u5178</th></tr><tr><td><code>email</code></td><td><code>1</code></td><td><code>simple</code></td></tr><tr><td><code>url</code></td><td><code>1</code></td><td><code>simple</code></td></tr><tr><td><code>url_path</code></td><td><code>1</code></td><td><code>simple</code></td></tr><tr><td><code>host</code></td><td><code>1</code></td><td><code>simple</code></td></tr><tr><td><code>file</code></td><td><code>1</code></td><td><code>simple</code></td></tr><tr><td><code>version</code></td><td><code>1</code></td><td><code>simple</code></td></tr><tr><td><code>sfloat</code></td><td><code>1</code></td><td><code>simple</code></td></tr><tr><td><code>float</code></td><td><code>1</code></td><td><code>simple</code></td></tr><tr><td><code>int</code></td><td><code>1</code></td><td><code>simple</code></td></tr><tr><td><code>uint</code></td><td><code>1</code></td><td><code>simple</code></td></tr><tr><td><code>numword</code></td><td><code>1</code></td><td><code>simple</code></td></tr><tr><td><code>hword_numpart</code></td><td><code>1</code></td><td><code>simple</code></td></tr><tr><td><code>numhword</code></td><td><code>1</code></td><td><code>simple</code></td></tr><tr><td><code>asciiword</code></td><td><code>1</code></td><td><code>hungarian_stem</code></td></tr><tr><td><code>hword_asciipart</code></td><td><code>1</code></td><td><code>hungarian_stem</code></td></tr><tr><td><code>asciihword</code></td><td><code>1</code></td><td><code>hungarian_stem</code></td></tr><tr><td><code>word</code></td><td><code>1</code></td><td><code>hungarian_stem</code></td></tr><tr><td><code>hword_part</code></td><td><code>1</code></td><td><code>hungarian_stem</code></td></tr><tr><td><code>hword</code></td><td><code>1</code></td><td><code>hungarian_stem</code></td></tr></table><h3>\u540c\u7248\u672c\u4e2d\u6587\u624b\u518c\u8282\u9009</h3><p>\n    \u4e00\u4e2a\u6587\u672c\u68c0\u7d22\u914d\u7f6e\u6307\u5b9a\u4e86\u5c06\u4e00\u4e2a\u6587\u6863\u8f6c\u6362\u6210\u4e00\u4e2a <code class=\"type\">tsvector</code> \u6240\u9700\u7684\u6240\u6709\u9009\u9879\uff1a\u7528\u4e8e\u628a\u6587\u672c\u5206\u89e3\u6210\u8bcd\u5143\u7684\u89e3\u6790\u5668\uff0c\u4ee5\u53ca\u7528\u4e8e\u5c06\u6bcf\u4e00\u4e2a\u8bcd\u5143\u8f6c\u6362\u6210\u8bcd\u4f4d\u7684\u8bcd\u5178\u3002\u6bcf\u4e00\u6b21 <code class=\"function\">to_tsvector</code> \u6216 <code class=\"function\">to_tsquery</code> \u7684\u8c03\u7528\u90fd\u9700\u8981\u4e00\u4e2a\u6587\u672c\u68c0\u7d22\u914d\u7f6e\u6765\u6267\u884c\u5176\u5904\u7406\u3002\u914d\u7f6e\u53c2\u6570 <a class=\"xref\" href=\"/zh/docs/15/runtime-config-client.html#GUC-DEFAULT-TEXT-SEARCH-CONFIG\">default_text_search_config</a> \u6307\u5b9a\u4e86\u9ed8\u8ba4\u914d\u7f6e\u7684\u540d\u79f0\uff0c\u5982\u679c\u7701\u7565\u4e86\u663e\u5f0f\u7684\u914d\u7f6e\u53c2\u6570\uff0c\u6587\u672c\u68c0\u7d22\u51fd\u6570\u5c06\u4f1a\u4f7f\u7528\u5b83\u3002\u5b83\u53ef\u4ee5\u5728 <code class=\"filename\">postgresql.conf</code> \u4e2d\u8bbe\u7f6e\uff0c\u6216\u8005\u4f7f\u7528 <code class=\"command\">SET</code> \u547d\u4ee4\u4e3a\u4e00\u4e2a\u5355\u72ec\u7684\u4f1a\u8bdd\u8bbe\u7f6e\u3002\n   </p><p>\n    \u6709\u4e00\u4e9b\u9884\u5b9a\u4e49\u7684\u6587\u672c\u68c0\u7d22\u914d\u7f6e\u53ef\u7528\uff0c\u5e76\u4e14\u4f60\u53ef\u4ee5\u5bb9\u6613\u5730\u521b\u5efa\u81ea\u5b9a\u4e49\u7684\u914d\u7f6e\u3002\u4e3a\u4e86\u4fbf\u4e8e\u7ba1\u7406\u6587\u672c\u68c0\u7d22\u5bf9\u8c61\uff0c\u53ef\u4ee5\u4f7f\u7528\u4e00\u7ec4 <acronym class=\"acronym\">SQL</acronym> \u547d\u4ee4\uff0c\u5e76\u4e14\u6709\u591a\u4e2a <span class=\"application\">psql</span> \u547d\u4ee4\u53ef\u4ee5\u663e\u793a\u6709\u5173\u6587\u672c\u68c0\u7d22\u5bf9\u8c61\uff08<a class=\"xref\" href=\"/zh/docs/15/textsearch-psql.html\">\u7b2c\u00a012.10\u00a0\u8282</a>\uff09\u7684\u4fe1\u606f\u3002\n   </p><p>\n    \u4f5c\u4e3a\u4e00\u4e2a\u793a\u4f8b\uff0c\u6211\u4eec\u5c06\u521b\u5efa\u4e00\u4e2a\u914d\u7f6e <code class=\"literal\">pg</code>\uff0c\u4ece\u590d\u5236\u5185\u7f6e\u7684 <code class=\"literal\">english</code> \u914d\u7f6e\u5f00\u59cb\uff1a\n\n</p><p>\n    \u6211\u4eec\u5c06\u4f7f\u7528\u4e00\u4e2a PostgreSQL \u76f8\u5173\u7684\u540c\u4e49\u8bcd\u5217\u8868\uff0c\u5e76\u5c06\u5b83\u5b58\u50a8\u5728 <code class=\"filename\">$SHAREDIR/tsearch_data/pg_dict.syn</code> \u4e2d\u3002\u6587\u4ef6\u5185\u5bb9\u770b\u8d77\u6765\u50cf\uff1a\n\n</p><p><a href=\"/zh/docs/15/textsearch-configuration.html\">\u67e5\u770b\u5b8c\u6574\u4e2d\u6587\u624b\u518c\u4e0e\u4e0a\u4e0b\u6587</a>\u3002</p>"}, "summary": "\u5168\u6587\u641c\u7d22\u914d\u7f6e hungarian\u3002", "version": "15", "link_map": {"/zh/docs/15/textsearch-psql.html": "/docs/15/textsearch-psql.html", "/zh/docs/15/textsearch-configuration.html": "/docs/15/textsearch-configuration.html", "/zh/docs/15/runtime-config-client.html#GUC-DEFAULT-TEXT-SEARCH-CONFIG": "/docs/15/runtime-config-client.html#GUC-DEFAULT-TEXT-SEARCH-CONFIG"}, "body_html": "<p>\u5168\u6587\u641c\u7d22\u914d\u7f6e hungarian\u3002</p><dl><dt>\u89e3\u6790\u5668</dt><dd><code>default</code></dd><dt>\u914d\u7f6e</dt><dd><code>hungarian</code></dd></dl><h3>\u8bcd\u5143\u4e0e\u8bcd\u5178\u6620\u5c04</h3><table><tr><th>\u8bcd\u5143\u7c7b\u578b</th><th>\u987a\u5e8f</th><th>\u8bcd\u5178</th></tr><tr><td><code>email</code></td><td><code>1</code></td><td><code>simple</code></td></tr><tr><td><code>url</code></td><td><code>1</code></td><td><code>simple</code></td></tr><tr><td><code>url_path</code></td><td><code>1</code></td><td><code>simple</code></td></tr><tr><td><code>host</code></td><td><code>1</code></td><td><code>simple</code></td></tr><tr><td><code>file</code></td><td><code>1</code></td><td><code>simple</code></td></tr><tr><td><code>version</code></td><td><code>1</code></td><td><code>simple</code></td></tr><tr><td><code>sfloat</code></td><td><code>1</code></td><td><code>simple</code></td></tr><tr><td><code>float</code></td><td><code>1</code></td><td><code>simple</code></td></tr><tr><td><code>int</code></td><td><code>1</code></td><td><code>simple</code></td></tr><tr><td><code>uint</code></td><td><code>1</code></td><td><code>simple</code></td></tr><tr><td><code>numword</code></td><td><code>1</code></td><td><code>simple</code></td></tr><tr><td><code>hword_numpart</code></td><td><code>1</code></td><td><code>simple</code></td></tr><tr><td><code>numhword</code></td><td><code>1</code></td><td><code>simple</code></td></tr><tr><td><code>asciiword</code></td><td><code>1</code></td><td><code>hungarian_stem</code></td></tr><tr><td><code>hword_asciipart</code></td><td><code>1</code></td><td><code>hungarian_stem</code></td></tr><tr><td><code>asciihword</code></td><td><code>1</code></td><td><code>hungarian_stem</code></td></tr><tr><td><code>word</code></td><td><code>1</code></td><td><code>hungarian_stem</code></td></tr><tr><td><code>hword_part</code></td><td><code>1</code></td><td><code>hungarian_stem</code></td></tr><tr><td><code>hword</code></td><td><code>1</code></td><td><code>hungarian_stem</code></td></tr></table><h3>\u540c\u7248\u672c\u4e2d\u6587\u624b\u518c\u8282\u9009</h3><p>\n    \u4e00\u4e2a\u6587\u672c\u68c0\u7d22\u914d\u7f6e\u6307\u5b9a\u4e86\u5c06\u4e00\u4e2a\u6587\u6863\u8f6c\u6362\u6210\u4e00\u4e2a <code>tsvector</code> \u6240\u9700\u7684\u6240\u6709\u9009\u9879\uff1a\u7528\u4e8e\u628a\u6587\u672c\u5206\u89e3\u6210\u8bcd\u5143\u7684\u89e3\u6790\u5668\uff0c\u4ee5\u53ca\u7528\u4e8e\u5c06\u6bcf\u4e00\u4e2a\u8bcd\u5143\u8f6c\u6362\u6210\u8bcd\u4f4d\u7684\u8bcd\u5178\u3002\u6bcf\u4e00\u6b21 <code>to_tsvector</code> \u6216 <code>to_tsquery</code> \u7684\u8c03\u7528\u90fd\u9700\u8981\u4e00\u4e2a\u6587\u672c\u68c0\u7d22\u914d\u7f6e\u6765\u6267\u884c\u5176\u5904\u7406\u3002\u914d\u7f6e\u53c2\u6570 <a href=\"/zh/docs/15/runtime-config-client.html#GUC-DEFAULT-TEXT-SEARCH-CONFIG\" rel=\"nofollow\">default_text_search_config</a> \u6307\u5b9a\u4e86\u9ed8\u8ba4\u914d\u7f6e\u7684\u540d\u79f0\uff0c\u5982\u679c\u7701\u7565\u4e86\u663e\u5f0f\u7684\u914d\u7f6e\u53c2\u6570\uff0c\u6587\u672c\u68c0\u7d22\u51fd\u6570\u5c06\u4f1a\u4f7f\u7528\u5b83\u3002\u5b83\u53ef\u4ee5\u5728 <code>postgresql.conf</code> \u4e2d\u8bbe\u7f6e\uff0c\u6216\u8005\u4f7f\u7528 <code>SET</code> \u547d\u4ee4\u4e3a\u4e00\u4e2a\u5355\u72ec\u7684\u4f1a\u8bdd\u8bbe\u7f6e\u3002\n   </p><p>\n    \u6709\u4e00\u4e9b\u9884\u5b9a\u4e49\u7684\u6587\u672c\u68c0\u7d22\u914d\u7f6e\u53ef\u7528\uff0c\u5e76\u4e14\u4f60\u53ef\u4ee5\u5bb9\u6613\u5730\u521b\u5efa\u81ea\u5b9a\u4e49\u7684\u914d\u7f6e\u3002\u4e3a\u4e86\u4fbf\u4e8e\u7ba1\u7406\u6587\u672c\u68c0\u7d22\u5bf9\u8c61\uff0c\u53ef\u4ee5\u4f7f\u7528\u4e00\u7ec4 <acronym>SQL</acronym> \u547d\u4ee4\uff0c\u5e76\u4e14\u6709\u591a\u4e2a <span>psql</span> \u547d\u4ee4\u53ef\u4ee5\u663e\u793a\u6709\u5173\u6587\u672c\u68c0\u7d22\u5bf9\u8c61\uff08<a href=\"/zh/docs/15/textsearch-psql.html\" rel=\"nofollow\">\u7b2c\u00a012.10\u00a0\u8282</a>\uff09\u7684\u4fe1\u606f\u3002\n   </p><p>\n    \u4f5c\u4e3a\u4e00\u4e2a\u793a\u4f8b\uff0c\u6211\u4eec\u5c06\u521b\u5efa\u4e00\u4e2a\u914d\u7f6e <code>pg</code>\uff0c\u4ece\u590d\u5236\u5185\u7f6e\u7684 <code>english</code> \u914d\u7f6e\u5f00\u59cb\uff1a\n\n</p><p>\n    \u6211\u4eec\u5c06\u4f7f\u7528\u4e00\u4e2a PostgreSQL \u76f8\u5173\u7684\u540c\u4e49\u8bcd\u5217\u8868\uff0c\u5e76\u5c06\u5b83\u5b58\u50a8\u5728 <code>$SHAREDIR/tsearch_data/pg_dict.syn</code> \u4e2d\u3002\u6587\u4ef6\u5185\u5bb9\u770b\u8d77\u6765\u50cf\uff1a\n\n</p><p><a href=\"/zh/docs/15/textsearch-configuration.html\" rel=\"nofollow\">\u67e5\u770b\u5b8c\u6574\u4e2d\u6587\u624b\u518c\u4e0e\u4e0a\u4e0b\u6587</a>\u3002</p>", "body_sha256": "cca86279fb91b3382c44ed28033f6300a6b59d7ad05573e535d368040d981eee", "content_hash": "8d062b1f6bdc677614933b33998bd90e8a2124fd1ae7f1a94c628fc8752966f0", "source_database": "center", "source_revision": "e1a64a87a46b825b88c082e4518161a47aab53c45694964f8ba1df28f7859f89"}, "signature": "", "tables_zh": [{"key": "mappings", "rows": [{"token": "email", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-simple/?v=15", "text": "simple"}}, {"token": "url", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-simple/?v=15", "text": "simple"}}, {"token": "url_path", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-simple/?v=15", "text": "simple"}}, {"token": "host", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-simple/?v=15", "text": "simple"}}, {"token": "file", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-simple/?v=15", "text": "simple"}}, {"token": "version", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-simple/?v=15", "text": "simple"}}, {"token": "sfloat", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-simple/?v=15", "text": "simple"}}, {"token": "float", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-simple/?v=15", "text": "simple"}}, {"token": "int", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-simple/?v=15", "text": "simple"}}, {"token": "uint", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-simple/?v=15", "text": "simple"}}, {"token": "numword", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-simple/?v=15", "text": "simple"}}, {"token": "hword_numpart", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-simple/?v=15", "text": "simple"}}, {"token": "numhword", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-simple/?v=15", "text": "simple"}}, {"token": "asciiword", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-hungarian_stem/?v=15", "text": "hungarian_stem"}}, {"token": "hword_asciipart", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-hungarian_stem/?v=15", "text": "hungarian_stem"}}, {"token": "asciihword", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-hungarian_stem/?v=15", "text": "hungarian_stem"}}, {"token": "word", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-hungarian_stem/?v=15", "text": "hungarian_stem"}}, {"token": "hword_part", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-hungarian_stem/?v=15", "text": "hungarian_stem"}}, {"token": "hword", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-hungarian_stem/?v=15", "text": "hungarian_stem"}}], "title": "\u8bcd\u5143\u5230\u8bcd\u5178\u7684\u6620\u5c04", "columns": [{"key": "token", "label": "\u8bcd\u5143\u7c7b\u578b"}, {"key": "sequence", "label": "\u987a\u5e8f"}, {"key": "dictionary", "label": "\u8bcd\u5178"}]}], "attributes": {"parser": "default", "configuration": "hungarian"}, "description": ["\u5168\u6587\u641c\u7d22\u914d\u7f6e hungarian\u3002"], "manual_html": "", "manual_path": "/docs/15/textsearch-configuration.html", "sections_zh": [{"code": "/*\n * text search configuration for hungarian language\n *\n * Copyright (c) 2007-2022, PostgreSQL Global Development Group\n *\n * src/backend/snowball/snowball.sql.in\n *\n * hungarian and certain other macros are replaced for each language;\n * see the Makefile for details.\n *\n * Note: this file is read in single-user -j mode, which means that the\n * command terminator is semicolon-newline-newline; whenever the backend\n * sees that, it stops and executes what it's got.  If you write a lot of\n * statements without empty lines between, they'll all get quoted to you\n * in any error message about one of them, so don't do that.  Also, you\n * cannot write a semicolon immediately followed by an empty line in a\n * string literal (including a function body!) or a multiline comment.\n */\n\nCREATE TEXT SEARCH DICTIONARY hungarian_stem\n\t(TEMPLATE = snowball, Language = hungarian , StopWords=hungarian);\n\nCOMMENT ON TEXT SEARCH DICTIONARY hungarian_stem IS 'snowball stemmer for hungarian language';\n\nCREATE TEXT SEARCH CONFIGURATION hungarian\n\t(PARSER = default);\n\nCOMMENT ON TEXT SEARCH CONFIGURATION hungarian IS 'configuration for hungarian language';\n\nALTER TEXT SEARCH CONFIGURATION hungarian ADD MAPPING\n\tFOR email, url, url_path, host, file, version,\n\t    sfloat, float, int, uint,\n\t    numword, hword_numpart, numhword\n\tWITH simple;\n\nALTER TEXT SEARCH CONFIGURATION hungarian ADD MAPPING\n    FOR asciiword, hword_asciipart, asciihword\n\tWITH hungarian_stem;\n\nALTER TEXT SEARCH CONFIGURATION hungarian ADD MAPPING\n    FOR word, hword_part, hword\n\tWITH hungarian_stem;", "title": "initdb \u751f\u6210\u7684\u5b9a\u4e49", "paragraphs": ["\u6839\u636e\u6b64\u7248\u672c\u7684 Snowball \u8bed\u8a00\u5217\u8868\u548c SQL \u6a21\u677f\u751f\u6210\u3002"]}], "localization": {"status": "complete", "sources": [{"url": "/docs/15/catalog-pg-amproc.html", "method": "same-major semantic node", "sha256": "2af091c97e844db68e9fae9841e7d23dba65cd9121b0d4b18c2a7f0f2adc0426", "language": "zh", "matched_nodes": ["#CATALOG-PG-AMPROC/p[5]/span[2]/span[0]"]}, {"url": "/docs/15/textsearch-configuration.html", "method": "same-major semantic node", "sha256": "eb5fb68fe786414c9c2ae9d1de56e12cc67d9b3d1ba9fe4f2eb87aaad2330394", "language": "zh", "matched_nodes": ["#TEXTSEARCH-CONFIGURATION/div[0]", "#TEXTSEARCH-CONFIGURATION/p[11]", "#TEXTSEARCH-CONFIGURATION/p[13]", "#TEXTSEARCH-CONFIGURATION/p[15]", "#TEXTSEARCH-CONFIGURATION/p[17]", "#TEXTSEARCH-CONFIGURATION/p[1]", "#TEXTSEARCH-CONFIGURATION/p[2]", "#TEXTSEARCH-CONFIGURATION/p[3]", "#TEXTSEARCH-CONFIGURATION/p[5]", "#TEXTSEARCH-CONFIGURATION/p[7]", "#TEXTSEARCH-CONFIGURATION/p[9]"]}], "language": "zh", "original_text": {"/versions/15/description/0": "Text search configuration hungarian.", "/versions/15/facts/0/label": "Configuration", "/versions/15/facts/1/label": "Parser", "/versions/15/facts/1/value": "default", "/versions/15/tables/0/title": "Token-to-dictionary mappings", "/versions/15/related/0/label": "default parser", "/versions/15/sections/0/title": "Generated initdb definition", "/versions/15/sections/0/paragraphs/0": "Generated from this release\u2019s Snowball language list and SQL template.", "/versions/15/tables/0/columns/0/label": "Token type", "/versions/15/tables/0/columns/1/label": "Order", "/versions/15/tables/0/columns/2/label": "Dictionary"}, "fallback_fields": [], "source_language": "en", "original_snapshot_sha256": "e5eb5a8b80385365c3726b8704d07e315a240af269815c4a7a1f04009e2d5c59", "canonical_center_text_hash": "8d062b1f6bdc677614933b33998bd90e8a2124fd1ae7f1a94c628fc8752966f0"}, "description_zh": "\u5168\u6587\u641c\u7d22\u914d\u7f6e hungarian\u3002", "comparison_data": {"parser": "default", "mappings": [{"token": "asciihword", "sequence": "1", "dictionary": "hungarian_stem"}, {"token": "asciiword", "sequence": "1", "dictionary": "hungarian_stem"}, {"token": "email", "sequence": "1", "dictionary": "simple"}, {"token": "file", "sequence": "1", "dictionary": "simple"}, {"token": "float", "sequence": "1", "dictionary": "simple"}, {"token": "host", "sequence": "1", "dictionary": "simple"}, {"token": "hword", "sequence": "1", "dictionary": "hungarian_stem"}, {"token": "hword_asciipart", "sequence": "1", "dictionary": "hungarian_stem"}, {"token": "hword_numpart", "sequence": "1", "dictionary": "simple"}, {"token": "hword_part", "sequence": "1", "dictionary": "hungarian_stem"}, {"token": "int", "sequence": "1", "dictionary": "simple"}, {"token": "numhword", "sequence": "1", "dictionary": "simple"}, {"token": "numword", "sequence": "1", "dictionary": "simple"}, {"token": "sfloat", "sequence": "1", "dictionary": "simple"}, {"token": "uint", "sequence": "1", "dictionary": "simple"}, {"token": "url", "sequence": "1", "dictionary": "simple"}, {"token": "url_path", "sequence": "1", "dictionary": "simple"}, {"token": "version", "sequence": "1", "dictionary": "simple"}, {"token": "word", "sequence": "1", "dictionary": "hungarian_stem"}]}, "comparison_hash": "4b14c26ff2f416b9bc0128f68a56146e71b77907078eeac0cbd0dfaf2af246dd", "manual_language": "zh", "description_zh_html": "<p>\u5168\u6587\u641c\u7d22\u914d\u7f6e hungarian\u3002</p><dl><dt>\u89e3\u6790\u5668</dt><dd><code>default</code></dd><dt>\u914d\u7f6e</dt><dd><code>hungarian</code></dd></dl><h3>\u8bcd\u5143\u4e0e\u8bcd\u5178\u6620\u5c04</h3><table><tr><th>\u8bcd\u5143\u7c7b\u578b</th><th>\u987a\u5e8f</th><th>\u8bcd\u5178</th></tr><tr><td><code>email</code></td><td><code>1</code></td><td><code>simple</code></td></tr><tr><td><code>url</code></td><td><code>1</code></td><td><code>simple</code></td></tr><tr><td><code>url_path</code></td><td><code>1</code></td><td><code>simple</code></td></tr><tr><td><code>host</code></td><td><code>1</code></td><td><code>simple</code></td></tr><tr><td><code>file</code></td><td><code>1</code></td><td><code>simple</code></td></tr><tr><td><code>version</code></td><td><code>1</code></td><td><code>simple</code></td></tr><tr><td><code>sfloat</code></td><td><code>1</code></td><td><code>simple</code></td></tr><tr><td><code>float</code></td><td><code>1</code></td><td><code>simple</code></td></tr><tr><td><code>int</code></td><td><code>1</code></td><td><code>simple</code></td></tr><tr><td><code>uint</code></td><td><code>1</code></td><td><code>simple</code></td></tr><tr><td><code>numword</code></td><td><code>1</code></td><td><code>simple</code></td></tr><tr><td><code>hword_numpart</code></td><td><code>1</code></td><td><code>simple</code></td></tr><tr><td><code>numhword</code></td><td><code>1</code></td><td><code>simple</code></td></tr><tr><td><code>asciiword</code></td><td><code>1</code></td><td><code>hungarian_stem</code></td></tr><tr><td><code>hword_asciipart</code></td><td><code>1</code></td><td><code>hungarian_stem</code></td></tr><tr><td><code>asciihword</code></td><td><code>1</code></td><td><code>hungarian_stem</code></td></tr><tr><td><code>word</code></td><td><code>1</code></td><td><code>hungarian_stem</code></td></tr><tr><td><code>hword_part</code></td><td><code>1</code></td><td><code>hungarian_stem</code></td></tr><tr><td><code>hword</code></td><td><code>1</code></td><td><code>hungarian_stem</code></td></tr></table><h3>\u540c\u7248\u672c\u4e2d\u6587\u624b\u518c\u8282\u9009</h3><p>\n    \u4e00\u4e2a\u6587\u672c\u68c0\u7d22\u914d\u7f6e\u6307\u5b9a\u4e86\u5c06\u4e00\u4e2a\u6587\u6863\u8f6c\u6362\u6210\u4e00\u4e2a <code>tsvector</code> \u6240\u9700\u7684\u6240\u6709\u9009\u9879\uff1a\u7528\u4e8e\u628a\u6587\u672c\u5206\u89e3\u6210\u8bcd\u5143\u7684\u89e3\u6790\u5668\uff0c\u4ee5\u53ca\u7528\u4e8e\u5c06\u6bcf\u4e00\u4e2a\u8bcd\u5143\u8f6c\u6362\u6210\u8bcd\u4f4d\u7684\u8bcd\u5178\u3002\u6bcf\u4e00\u6b21 <code>to_tsvector</code> \u6216 <code>to_tsquery</code> \u7684\u8c03\u7528\u90fd\u9700\u8981\u4e00\u4e2a\u6587\u672c\u68c0\u7d22\u914d\u7f6e\u6765\u6267\u884c\u5176\u5904\u7406\u3002\u914d\u7f6e\u53c2\u6570 <a href=\"/zh/docs/15/runtime-config-client.html#GUC-DEFAULT-TEXT-SEARCH-CONFIG\" rel=\"nofollow\">default_text_search_config</a> \u6307\u5b9a\u4e86\u9ed8\u8ba4\u914d\u7f6e\u7684\u540d\u79f0\uff0c\u5982\u679c\u7701\u7565\u4e86\u663e\u5f0f\u7684\u914d\u7f6e\u53c2\u6570\uff0c\u6587\u672c\u68c0\u7d22\u51fd\u6570\u5c06\u4f1a\u4f7f\u7528\u5b83\u3002\u5b83\u53ef\u4ee5\u5728 <code>postgresql.conf</code> \u4e2d\u8bbe\u7f6e\uff0c\u6216\u8005\u4f7f\u7528 <code>SET</code> \u547d\u4ee4\u4e3a\u4e00\u4e2a\u5355\u72ec\u7684\u4f1a\u8bdd\u8bbe\u7f6e\u3002\n   </p><p>\n    \u6709\u4e00\u4e9b\u9884\u5b9a\u4e49\u7684\u6587\u672c\u68c0\u7d22\u914d\u7f6e\u53ef\u7528\uff0c\u5e76\u4e14\u4f60\u53ef\u4ee5\u5bb9\u6613\u5730\u521b\u5efa\u81ea\u5b9a\u4e49\u7684\u914d\u7f6e\u3002\u4e3a\u4e86\u4fbf\u4e8e\u7ba1\u7406\u6587\u672c\u68c0\u7d22\u5bf9\u8c61\uff0c\u53ef\u4ee5\u4f7f\u7528\u4e00\u7ec4 <acronym>SQL</acronym> \u547d\u4ee4\uff0c\u5e76\u4e14\u6709\u591a\u4e2a <span>psql</span> \u547d\u4ee4\u53ef\u4ee5\u663e\u793a\u6709\u5173\u6587\u672c\u68c0\u7d22\u5bf9\u8c61\uff08<a href=\"/zh/docs/15/textsearch-psql.html\" rel=\"nofollow\">\u7b2c\u00a012.10\u00a0\u8282</a>\uff09\u7684\u4fe1\u606f\u3002\n   </p><p>\n    \u4f5c\u4e3a\u4e00\u4e2a\u793a\u4f8b\uff0c\u6211\u4eec\u5c06\u521b\u5efa\u4e00\u4e2a\u914d\u7f6e <code>pg</code>\uff0c\u4ece\u590d\u5236\u5185\u7f6e\u7684 <code>english</code> \u914d\u7f6e\u5f00\u59cb\uff1a\n\n</p><p>\n    \u6211\u4eec\u5c06\u4f7f\u7528\u4e00\u4e2a PostgreSQL \u76f8\u5173\u7684\u540c\u4e49\u8bcd\u5217\u8868\uff0c\u5e76\u5c06\u5b83\u5b58\u50a8\u5728 <code>$SHAREDIR/tsearch_data/pg_dict.syn</code> \u4e2d\u3002\u6587\u4ef6\u5185\u5bb9\u770b\u8d77\u6765\u50cf\uff1a\n\n</p><p><a href=\"/zh/docs/15/textsearch-configuration.html\" rel=\"nofollow\">\u67e5\u770b\u5b8c\u6574\u4e2d\u6587\u624b\u518c\u4e0e\u4e0a\u4e0b\u6587</a>\u3002</p>"}, "16": {"facts": [{"label": "\u914d\u7f6e", "value": "hungarian"}, {"label": "\u89e3\u6790\u5668", "value": "\u9ed8\u8ba4"}], "tables": [{"key": "mappings", "rows": [{"token": "email", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-simple/?v=16", "text": "\u7b80\u5355"}}, {"token": "url", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-simple/?v=16", "text": "\u7b80\u5355"}}, {"token": "url_path", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-simple/?v=16", "text": "\u7b80\u5355"}}, {"token": "host", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-simple/?v=16", "text": "\u7b80\u5355"}}, {"token": "file", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-simple/?v=16", "text": "\u7b80\u5355"}}, {"token": "version", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-simple/?v=16", "text": "\u7b80\u5355"}}, {"token": "sfloat", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-simple/?v=16", "text": "\u7b80\u5355"}}, {"token": "float", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-simple/?v=16", "text": "\u7b80\u5355"}}, {"token": "int", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-simple/?v=16", "text": "\u7b80\u5355"}}, {"token": "uint", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-simple/?v=16", "text": "\u7b80\u5355"}}, {"token": "numword", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-simple/?v=16", "text": "\u7b80\u5355"}}, {"token": "hword_numpart", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-simple/?v=16", "text": "\u7b80\u5355"}}, {"token": "numhword", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-simple/?v=16", "text": "\u7b80\u5355"}}, {"token": "asciiword", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-hungarian_stem/?v=16", "text": "hungarian_stem"}}, {"token": "hword_asciipart", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-hungarian_stem/?v=16", "text": "hungarian_stem"}}, {"token": "asciihword", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-hungarian_stem/?v=16", "text": "hungarian_stem"}}, {"token": "word", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-hungarian_stem/?v=16", "text": "hungarian_stem"}}, {"token": "hword_part", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-hungarian_stem/?v=16", "text": "hungarian_stem"}}, {"token": "hword", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-hungarian_stem/?v=16", "text": "hungarian_stem"}}], "title": "\u8bcd\u5143\u5230\u8bcd\u5178\u7684\u6620\u5c04", "columns": [{"key": "token", "label": "\u8bcd\u5143\u7c7b\u578b"}, {"key": "sequence", "label": "\u987a\u5e8f"}, {"key": "dictionary", "label": "\u8bcd\u5178"}]}], "aliases": [], "related": [{"url": "/wiki/fts/parser-default/?v=16", "label": "\u9ed8\u8ba4\u89e3\u6790\u5668"}], "release": {"ref": "https://ftp.postgresql.org/pub/source/v16.15/postgresql-16.15.tar.bz2", "label": "16.15", "major": "16", "channel": "stable", "revision": "c1575341fa7bd40f5274ea465b34390f4dc64cdd0770af327005caaeb9f6b7ed", "source_sha256": "c1575341fa7bd40f5274ea465b34390f4dc64cdd0770af327005caaeb9f6b7ed", "catalog_fingerprint": "fa133458dc8f52e15083b4f59b7a582e2e378b608d3ac5c53054df458a374e23"}, "sources": [{"url": "https://ftp.postgresql.org/pub/source/v16.15/postgresql-16.15.tar.bz2", "label": "Matching PostgreSQL source archive", "sha256": "c1575341fa7bd40f5274ea465b34390f4dc64cdd0770af327005caaeb9f6b7ed"}, {"url": "/docs/16/textsearch-configuration.html", "path": "textsearch-configuration.html", "label": "PostgreSQL 16 English manual", "sha256": "4a26236464c858040fa8e59710468e61d130391d40ef3c3c54f3257a2992f5b5"}], "zh_from": {"kind": "same-version-chinese-manual-with-source-derived-structured-summary", "manual": {"url": "/zh/docs/16/textsearch-configuration.html", "anchor": "", "locale": "zh-Hans", "version": "16", "build_id": 103, "page_key": "textsearch-configuration.html", "extraction": "concept-introduction", "source_hash": "b54e63923dd6d7023864e8fb1fdad19a810930a189fe9b9cbfb1ed491e986064", "fragment_sha256": "efe1620f4cad42cea0a04cfc332ee1c4af7d3843fd6e6189dffbd64b4ae614c7", "source_revision": "unknown:rendered-translation-baseline", "translation_revision": "git:b1b500221dbe5437cfca004d6b04d3f6e422765d;html-sha256:80579a071736780f9c4022bb5148e1fb1256f1a33591306af67816e9e9bf3a9b", "translated_from_revision": null}, "body_sha256": "00b664cf5cd262e2901577a248b02b6a2bf39923821f9e87defe4dd7ef6ecdf1", "runtime_rerun": false, "authored_translation": "source-derived-structured-summary", "source_facts_revision": "c1575341fa7bd40f5274ea465b34390f4dc64cdd0770af327005caaeb9f6b7ed"}, "facts_zh": [{"label": "\u914d\u7f6e", "value": "hungarian"}, {"label": "\u89e3\u6790\u5668", "value": "\u9ed8\u8ba4"}], "mappings": [{"token": "email", "sequence": "1", "dictionary": "simple"}, {"token": "url", "sequence": "1", "dictionary": "simple"}, {"token": "url_path", "sequence": "1", "dictionary": "simple"}, {"token": "host", "sequence": "1", "dictionary": "simple"}, {"token": "file", "sequence": "1", "dictionary": "simple"}, {"token": "version", "sequence": "1", "dictionary": "simple"}, {"token": "sfloat", "sequence": "1", "dictionary": "simple"}, {"token": "float", "sequence": "1", "dictionary": "simple"}, {"token": "int", "sequence": "1", "dictionary": "simple"}, {"token": "uint", "sequence": "1", "dictionary": "simple"}, {"token": "numword", "sequence": "1", "dictionary": "simple"}, {"token": "hword_numpart", "sequence": "1", "dictionary": "simple"}, {"token": "numhword", "sequence": "1", "dictionary": "simple"}, {"token": "asciiword", "sequence": "1", "dictionary": "hungarian_stem"}, {"token": "hword_asciipart", "sequence": "1", "dictionary": "hungarian_stem"}, {"token": "asciihword", "sequence": "1", "dictionary": "hungarian_stem"}, {"token": "word", "sequence": "1", "dictionary": "hungarian_stem"}, {"token": "hword_part", "sequence": "1", "dictionary": "hungarian_stem"}, {"token": "hword", "sequence": "1", "dictionary": "hungarian_stem"}], "sections": [{"code": "/*\n * text search configuration for hungarian language\n *\n * Copyright (c) 2007-2023, PostgreSQL Global Development Group\n *\n * src/backend/snowball/snowball.sql.in\n *\n * hungarian and certain other macros are replaced for each language;\n * see the Makefile for details.\n *\n * Note: this file is read in single-user -j mode, which means that the\n * command terminator is semicolon-newline-newline; whenever the backend\n * sees that, it stops and executes what it's got.  If you write a lot of\n * statements without empty lines between, they'll all get quoted to you\n * in any error message about one of them, so don't do that.  Also, you\n * cannot write a semicolon immediately followed by an empty line in a\n * string literal (including a function body!) or a multiline comment.\n */\n\nCREATE TEXT SEARCH DICTIONARY hungarian_stem\n\t(TEMPLATE = snowball, Language = hungarian , StopWords=hungarian);\n\nCOMMENT ON TEXT SEARCH DICTIONARY hungarian_stem IS 'snowball stemmer for hungarian language';\n\nCREATE TEXT SEARCH CONFIGURATION hungarian\n\t(PARSER = default);\n\nCOMMENT ON TEXT SEARCH CONFIGURATION hungarian IS 'configuration for hungarian language';\n\nALTER TEXT SEARCH CONFIGURATION hungarian ADD MAPPING\n\tFOR email, url, url_path, host, file, version,\n\t    sfloat, float, int, uint,\n\t    numword, hword_numpart, numhword\n\tWITH simple;\n\nALTER TEXT SEARCH CONFIGURATION hungarian ADD MAPPING\n    FOR asciiword, hword_asciipart, asciihword\n\tWITH hungarian_stem;\n\nALTER TEXT SEARCH CONFIGURATION hungarian ADD MAPPING\n    FOR word, hword_part, hword\n\tWITH hungarian_stem;", "title": "initdb \u751f\u6210\u7684\u5b9a\u4e49", "paragraphs": ["\u6839\u636e\u6b64\u7248\u672c\u7684 Snowball \u8bed\u8a00\u5217\u8868\u548c SQL \u6a21\u677f\u751f\u6210\u3002"]}], "center_zh": {"title": "hungarian", "locale": "zh-Hans", "source": {"key": "configuration-hungarian", "locale": "zh-Hans", "version": "16", "text_hash": "da395a301bb86d757a6a1a7e2ad809bb18e104422bf84d65415254bc7fe030a1", "collection": "fts", "dataset_hash": "7c31b524dfe136022d39a6ae8dcfac6b3bbd5f8fdaf422536599981252aff0c9", "source_database": "center", "source_revision": "c1575341fa7bd40f5274ea465b34390f4dc64cdd0770af327005caaeb9f6b7ed"}, "payload": {"facts": [{"label": "\u914d\u7f6e", "value": "hungarian"}, {"label": "\u89e3\u6790\u5668", "value": "\u9ed8\u8ba4"}], "tables": [{"key": "mappings", "rows": [{"token": "email", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-simple/?v=16", "text": "\u7b80\u5355"}}, {"token": "url", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-simple/?v=16", "text": "\u7b80\u5355"}}, {"token": "url_path", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-simple/?v=16", "text": "\u7b80\u5355"}}, {"token": "host", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-simple/?v=16", "text": "\u7b80\u5355"}}, {"token": "file", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-simple/?v=16", "text": "\u7b80\u5355"}}, {"token": "version", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-simple/?v=16", "text": "\u7b80\u5355"}}, {"token": "sfloat", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-simple/?v=16", "text": "\u7b80\u5355"}}, {"token": "float", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-simple/?v=16", "text": "\u7b80\u5355"}}, {"token": "int", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-simple/?v=16", "text": "\u7b80\u5355"}}, {"token": "uint", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-simple/?v=16", "text": "\u7b80\u5355"}}, {"token": "numword", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-simple/?v=16", "text": "\u7b80\u5355"}}, {"token": "hword_numpart", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-simple/?v=16", "text": "\u7b80\u5355"}}, {"token": "numhword", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-simple/?v=16", "text": "\u7b80\u5355"}}, {"token": "asciiword", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-hungarian_stem/?v=16", "text": "hungarian_stem"}}, {"token": "hword_asciipart", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-hungarian_stem/?v=16", "text": "hungarian_stem"}}, {"token": "asciihword", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-hungarian_stem/?v=16", "text": "hungarian_stem"}}, {"token": "word", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-hungarian_stem/?v=16", "text": "hungarian_stem"}}, {"token": "hword_part", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-hungarian_stem/?v=16", "text": "hungarian_stem"}}, {"token": "hword", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-hungarian_stem/?v=16", "text": "hungarian_stem"}}], "title": "\u8bcd\u5143\u5230\u8bcd\u5178\u7684\u6620\u5c04", "columns": [{"key": "token", "label": "\u8bcd\u5143\u7c7b\u578b"}, {"key": "sequence", "label": "\u987a\u5e8f"}, {"key": "dictionary", "label": "\u8bcd\u5178"}]}], "zh_from": {"kind": "same-version-chinese-manual-with-source-derived-structured-summary", "manual": {"url": "/zh/docs/16/textsearch-configuration.html", "anchor": "", "locale": "zh-Hans", "version": "16", "build_id": 103, "page_key": "textsearch-configuration.html", "extraction": "concept-introduction", "source_hash": "b54e63923dd6d7023864e8fb1fdad19a810930a189fe9b9cbfb1ed491e986064", "fragment_sha256": "efe1620f4cad42cea0a04cfc332ee1c4af7d3843fd6e6189dffbd64b4ae614c7", "source_revision": "unknown:rendered-translation-baseline", "translation_revision": "git:b1b500221dbe5437cfca004d6b04d3f6e422765d;html-sha256:80579a071736780f9c4022bb5148e1fb1256f1a33591306af67816e9e9bf3a9b", "translated_from_revision": null}, "body_sha256": "00b664cf5cd262e2901577a248b02b6a2bf39923821f9e87defe4dd7ef6ecdf1", "runtime_rerun": false, "authored_translation": "source-derived-structured-summary", "source_facts_revision": "c1575341fa7bd40f5274ea465b34390f4dc64cdd0770af327005caaeb9f6b7ed"}, "sections": [{"code": "/*\n * text search configuration for hungarian language\n *\n * Copyright (c) 2007-2023, PostgreSQL Global Development Group\n *\n * src/backend/snowball/snowball.sql.in\n *\n * hungarian and certain other macros are replaced for each language;\n * see the Makefile for details.\n *\n * Note: this file is read in single-user -j mode, which means that the\n * command terminator is semicolon-newline-newline; whenever the backend\n * sees that, it stops and executes what it's got.  If you write a lot of\n * statements without empty lines between, they'll all get quoted to you\n * in any error message about one of them, so don't do that.  Also, you\n * cannot write a semicolon immediately followed by an empty line in a\n * string literal (including a function body!) or a multiline comment.\n */\n\nCREATE TEXT SEARCH DICTIONARY hungarian_stem\n\t(TEMPLATE = snowball, Language = hungarian , StopWords=hungarian);\n\nCOMMENT ON TEXT SEARCH DICTIONARY hungarian_stem IS 'snowball stemmer for hungarian language';\n\nCREATE TEXT SEARCH CONFIGURATION hungarian\n\t(PARSER = default);\n\nCOMMENT ON TEXT SEARCH CONFIGURATION hungarian IS 'configuration for hungarian language';\n\nALTER TEXT SEARCH CONFIGURATION hungarian ADD MAPPING\n\tFOR email, url, url_path, host, file, version,\n\t    sfloat, float, int, uint,\n\t    numword, hword_numpart, numhword\n\tWITH simple;\n\nALTER TEXT SEARCH CONFIGURATION hungarian ADD MAPPING\n    FOR asciiword, hword_asciipart, asciihword\n\tWITH hungarian_stem;\n\nALTER TEXT SEARCH CONFIGURATION hungarian ADD MAPPING\n    FOR word, hword_part, hword\n\tWITH hungarian_stem;", "title": "initdb \u751f\u6210\u7684\u5b9a\u4e49", "paragraphs": ["\u6839\u636e\u6b64\u7248\u672c\u7684 Snowball \u8bed\u8a00\u5217\u8868\u548c SQL \u6a21\u677f\u751f\u6210\u3002"]}], "description_zh": "\u5168\u6587\u641c\u7d22\u914d\u7f6e hungarian\u3002", "description_zh_html": "<p>\u5168\u6587\u641c\u7d22\u914d\u7f6e hungarian\u3002</p><dl><dt>\u89e3\u6790\u5668</dt><dd><code>default</code></dd><dt>\u914d\u7f6e</dt><dd><code>hungarian</code></dd></dl><h3>\u8bcd\u5143\u4e0e\u8bcd\u5178\u6620\u5c04</h3><table><tr><th>\u8bcd\u5143\u7c7b\u578b</th><th>\u987a\u5e8f</th><th>\u8bcd\u5178</th></tr><tr><td><code>email</code></td><td><code>1</code></td><td><code>simple</code></td></tr><tr><td><code>url</code></td><td><code>1</code></td><td><code>simple</code></td></tr><tr><td><code>url_path</code></td><td><code>1</code></td><td><code>simple</code></td></tr><tr><td><code>host</code></td><td><code>1</code></td><td><code>simple</code></td></tr><tr><td><code>file</code></td><td><code>1</code></td><td><code>simple</code></td></tr><tr><td><code>version</code></td><td><code>1</code></td><td><code>simple</code></td></tr><tr><td><code>sfloat</code></td><td><code>1</code></td><td><code>simple</code></td></tr><tr><td><code>float</code></td><td><code>1</code></td><td><code>simple</code></td></tr><tr><td><code>int</code></td><td><code>1</code></td><td><code>simple</code></td></tr><tr><td><code>uint</code></td><td><code>1</code></td><td><code>simple</code></td></tr><tr><td><code>numword</code></td><td><code>1</code></td><td><code>simple</code></td></tr><tr><td><code>hword_numpart</code></td><td><code>1</code></td><td><code>simple</code></td></tr><tr><td><code>numhword</code></td><td><code>1</code></td><td><code>simple</code></td></tr><tr><td><code>asciiword</code></td><td><code>1</code></td><td><code>hungarian_stem</code></td></tr><tr><td><code>hword_asciipart</code></td><td><code>1</code></td><td><code>hungarian_stem</code></td></tr><tr><td><code>asciihword</code></td><td><code>1</code></td><td><code>hungarian_stem</code></td></tr><tr><td><code>word</code></td><td><code>1</code></td><td><code>hungarian_stem</code></td></tr><tr><td><code>hword_part</code></td><td><code>1</code></td><td><code>hungarian_stem</code></td></tr><tr><td><code>hword</code></td><td><code>1</code></td><td><code>hungarian_stem</code></td></tr></table><h3>\u540c\u7248\u672c\u4e2d\u6587\u624b\u518c\u8282\u9009</h3><p>\n    \u4e00\u4e2a\u6587\u672c\u68c0\u7d22\u914d\u7f6e\u6307\u5b9a\u4e86\u5c06\u4e00\u4e2a\u6587\u6863\u8f6c\u6362\u6210\u4e00\u4e2a <code class=\"type\">tsvector</code> \u6240\u9700\u7684\u6240\u6709\u9009\u9879\uff1a\u7528\u4e8e\u628a\u6587\u672c\u5206\u89e3\u6210\u8bcd\u5143\u7684\u89e3\u6790\u5668\uff0c\u4ee5\u53ca\u7528\u4e8e\u5c06\u6bcf\u4e00\u4e2a\u8bcd\u5143\u8f6c\u6362\u6210\u8bcd\u4f4d\u7684\u8bcd\u5178\u3002\u6bcf\u4e00\u6b21 <code class=\"function\">to_tsvector</code> \u6216 <code class=\"function\">to_tsquery</code> \u7684\u8c03\u7528\u90fd\u9700\u8981\u4e00\u4e2a\u6587\u672c\u68c0\u7d22\u914d\u7f6e\u6765\u6267\u884c\u5176\u5904\u7406\u3002\u914d\u7f6e\u53c2\u6570 <a class=\"xref\" href=\"/zh/docs/16/runtime-config-client.html#GUC-DEFAULT-TEXT-SEARCH-CONFIG\">default_text_search_config</a> \u6307\u5b9a\u4e86\u9ed8\u8ba4\u914d\u7f6e\u7684\u540d\u79f0\uff0c\u5982\u679c\u7701\u7565\u4e86\u663e\u5f0f\u7684\u914d\u7f6e\u53c2\u6570\uff0c\u6587\u672c\u68c0\u7d22\u51fd\u6570\u5c06\u4f1a\u4f7f\u7528\u5b83\u3002\u5b83\u53ef\u4ee5\u5728 <code class=\"filename\">postgresql.conf</code> \u4e2d\u8bbe\u7f6e\uff0c\u6216\u8005\u4f7f\u7528 <code class=\"command\">SET</code> \u547d\u4ee4\u4e3a\u4e00\u4e2a\u5355\u72ec\u7684\u4f1a\u8bdd\u8bbe\u7f6e\u3002\n   </p><p>\n    \u6709\u4e00\u4e9b\u9884\u5b9a\u4e49\u7684\u6587\u672c\u68c0\u7d22\u914d\u7f6e\u53ef\u7528\uff0c\u5e76\u4e14\u4f60\u53ef\u4ee5\u5bb9\u6613\u5730\u521b\u5efa\u81ea\u5b9a\u4e49\u7684\u914d\u7f6e\u3002\u4e3a\u4e86\u4fbf\u4e8e\u7ba1\u7406\u6587\u672c\u68c0\u7d22\u5bf9\u8c61\uff0c\u53ef\u4ee5\u4f7f\u7528\u4e00\u7ec4 <acronym class=\"acronym\">SQL</acronym> \u547d\u4ee4\uff0c\u5e76\u4e14\u6709\u591a\u4e2a <span class=\"application\">psql</span> \u547d\u4ee4\u53ef\u4ee5\u663e\u793a\u6709\u5173\u6587\u672c\u68c0\u7d22\u5bf9\u8c61\uff08<a class=\"xref\" href=\"/zh/docs/16/textsearch-psql.html\">\u7b2c\u00a012.10\u00a0\u8282</a>\uff09\u7684\u4fe1\u606f\u3002\n   </p><p>\n    \u4f5c\u4e3a\u4e00\u4e2a\u793a\u4f8b\uff0c\u6211\u4eec\u5c06\u521b\u5efa\u4e00\u4e2a\u914d\u7f6e <code class=\"literal\">pg</code>\uff0c\u4ece\u590d\u5236\u5185\u7f6e\u7684 <code class=\"literal\">english</code> \u914d\u7f6e\u5f00\u59cb\uff1a\n\n</p><p>\n    \u6211\u4eec\u5c06\u4f7f\u7528\u4e00\u4e2a PostgreSQL \u76f8\u5173\u7684\u540c\u4e49\u8bcd\u5217\u8868\uff0c\u5e76\u5c06\u5b83\u5b58\u50a8\u5728 <code class=\"filename\">$SHAREDIR/tsearch_data/pg_dict.syn</code> \u4e2d\u3002\u6587\u4ef6\u5185\u5bb9\u770b\u8d77\u6765\u50cf\uff1a\n\n</p><p><a href=\"/zh/docs/16/textsearch-configuration.html\">\u67e5\u770b\u5b8c\u6574\u4e2d\u6587\u624b\u518c\u4e0e\u4e0a\u4e0b\u6587</a>\u3002</p>"}, "summary": "\u5168\u6587\u641c\u7d22\u914d\u7f6e hungarian\u3002", "version": "16", "link_map": {"/zh/docs/16/textsearch-psql.html": "/docs/16/textsearch-psql.html", "/zh/docs/16/textsearch-configuration.html": "/docs/16/textsearch-configuration.html", "/zh/docs/16/runtime-config-client.html#GUC-DEFAULT-TEXT-SEARCH-CONFIG": "/docs/16/runtime-config-client.html#GUC-DEFAULT-TEXT-SEARCH-CONFIG"}, "body_html": "<p>\u5168\u6587\u641c\u7d22\u914d\u7f6e hungarian\u3002</p><dl><dt>\u89e3\u6790\u5668</dt><dd><code>default</code></dd><dt>\u914d\u7f6e</dt><dd><code>hungarian</code></dd></dl><h3>\u8bcd\u5143\u4e0e\u8bcd\u5178\u6620\u5c04</h3><table><tr><th>\u8bcd\u5143\u7c7b\u578b</th><th>\u987a\u5e8f</th><th>\u8bcd\u5178</th></tr><tr><td><code>email</code></td><td><code>1</code></td><td><code>simple</code></td></tr><tr><td><code>url</code></td><td><code>1</code></td><td><code>simple</code></td></tr><tr><td><code>url_path</code></td><td><code>1</code></td><td><code>simple</code></td></tr><tr><td><code>host</code></td><td><code>1</code></td><td><code>simple</code></td></tr><tr><td><code>file</code></td><td><code>1</code></td><td><code>simple</code></td></tr><tr><td><code>version</code></td><td><code>1</code></td><td><code>simple</code></td></tr><tr><td><code>sfloat</code></td><td><code>1</code></td><td><code>simple</code></td></tr><tr><td><code>float</code></td><td><code>1</code></td><td><code>simple</code></td></tr><tr><td><code>int</code></td><td><code>1</code></td><td><code>simple</code></td></tr><tr><td><code>uint</code></td><td><code>1</code></td><td><code>simple</code></td></tr><tr><td><code>numword</code></td><td><code>1</code></td><td><code>simple</code></td></tr><tr><td><code>hword_numpart</code></td><td><code>1</code></td><td><code>simple</code></td></tr><tr><td><code>numhword</code></td><td><code>1</code></td><td><code>simple</code></td></tr><tr><td><code>asciiword</code></td><td><code>1</code></td><td><code>hungarian_stem</code></td></tr><tr><td><code>hword_asciipart</code></td><td><code>1</code></td><td><code>hungarian_stem</code></td></tr><tr><td><code>asciihword</code></td><td><code>1</code></td><td><code>hungarian_stem</code></td></tr><tr><td><code>word</code></td><td><code>1</code></td><td><code>hungarian_stem</code></td></tr><tr><td><code>hword_part</code></td><td><code>1</code></td><td><code>hungarian_stem</code></td></tr><tr><td><code>hword</code></td><td><code>1</code></td><td><code>hungarian_stem</code></td></tr></table><h3>\u540c\u7248\u672c\u4e2d\u6587\u624b\u518c\u8282\u9009</h3><p>\n    \u4e00\u4e2a\u6587\u672c\u68c0\u7d22\u914d\u7f6e\u6307\u5b9a\u4e86\u5c06\u4e00\u4e2a\u6587\u6863\u8f6c\u6362\u6210\u4e00\u4e2a <code>tsvector</code> \u6240\u9700\u7684\u6240\u6709\u9009\u9879\uff1a\u7528\u4e8e\u628a\u6587\u672c\u5206\u89e3\u6210\u8bcd\u5143\u7684\u89e3\u6790\u5668\uff0c\u4ee5\u53ca\u7528\u4e8e\u5c06\u6bcf\u4e00\u4e2a\u8bcd\u5143\u8f6c\u6362\u6210\u8bcd\u4f4d\u7684\u8bcd\u5178\u3002\u6bcf\u4e00\u6b21 <code>to_tsvector</code> \u6216 <code>to_tsquery</code> \u7684\u8c03\u7528\u90fd\u9700\u8981\u4e00\u4e2a\u6587\u672c\u68c0\u7d22\u914d\u7f6e\u6765\u6267\u884c\u5176\u5904\u7406\u3002\u914d\u7f6e\u53c2\u6570 <a href=\"/zh/docs/16/runtime-config-client.html#GUC-DEFAULT-TEXT-SEARCH-CONFIG\" rel=\"nofollow\">default_text_search_config</a> \u6307\u5b9a\u4e86\u9ed8\u8ba4\u914d\u7f6e\u7684\u540d\u79f0\uff0c\u5982\u679c\u7701\u7565\u4e86\u663e\u5f0f\u7684\u914d\u7f6e\u53c2\u6570\uff0c\u6587\u672c\u68c0\u7d22\u51fd\u6570\u5c06\u4f1a\u4f7f\u7528\u5b83\u3002\u5b83\u53ef\u4ee5\u5728 <code>postgresql.conf</code> \u4e2d\u8bbe\u7f6e\uff0c\u6216\u8005\u4f7f\u7528 <code>SET</code> \u547d\u4ee4\u4e3a\u4e00\u4e2a\u5355\u72ec\u7684\u4f1a\u8bdd\u8bbe\u7f6e\u3002\n   </p><p>\n    \u6709\u4e00\u4e9b\u9884\u5b9a\u4e49\u7684\u6587\u672c\u68c0\u7d22\u914d\u7f6e\u53ef\u7528\uff0c\u5e76\u4e14\u4f60\u53ef\u4ee5\u5bb9\u6613\u5730\u521b\u5efa\u81ea\u5b9a\u4e49\u7684\u914d\u7f6e\u3002\u4e3a\u4e86\u4fbf\u4e8e\u7ba1\u7406\u6587\u672c\u68c0\u7d22\u5bf9\u8c61\uff0c\u53ef\u4ee5\u4f7f\u7528\u4e00\u7ec4 <acronym>SQL</acronym> \u547d\u4ee4\uff0c\u5e76\u4e14\u6709\u591a\u4e2a <span>psql</span> \u547d\u4ee4\u53ef\u4ee5\u663e\u793a\u6709\u5173\u6587\u672c\u68c0\u7d22\u5bf9\u8c61\uff08<a href=\"/zh/docs/16/textsearch-psql.html\" rel=\"nofollow\">\u7b2c\u00a012.10\u00a0\u8282</a>\uff09\u7684\u4fe1\u606f\u3002\n   </p><p>\n    \u4f5c\u4e3a\u4e00\u4e2a\u793a\u4f8b\uff0c\u6211\u4eec\u5c06\u521b\u5efa\u4e00\u4e2a\u914d\u7f6e <code>pg</code>\uff0c\u4ece\u590d\u5236\u5185\u7f6e\u7684 <code>english</code> \u914d\u7f6e\u5f00\u59cb\uff1a\n\n</p><p>\n    \u6211\u4eec\u5c06\u4f7f\u7528\u4e00\u4e2a PostgreSQL \u76f8\u5173\u7684\u540c\u4e49\u8bcd\u5217\u8868\uff0c\u5e76\u5c06\u5b83\u5b58\u50a8\u5728 <code>$SHAREDIR/tsearch_data/pg_dict.syn</code> \u4e2d\u3002\u6587\u4ef6\u5185\u5bb9\u770b\u8d77\u6765\u50cf\uff1a\n\n</p><p><a href=\"/zh/docs/16/textsearch-configuration.html\" rel=\"nofollow\">\u67e5\u770b\u5b8c\u6574\u4e2d\u6587\u624b\u518c\u4e0e\u4e0a\u4e0b\u6587</a>\u3002</p>", "body_sha256": "3b088fd1616622c088c0490264805ed4b9aea57b5cb4c084515a9f1606d5d14f", "content_hash": "da395a301bb86d757a6a1a7e2ad809bb18e104422bf84d65415254bc7fe030a1", "source_database": "center", "source_revision": "c1575341fa7bd40f5274ea465b34390f4dc64cdd0770af327005caaeb9f6b7ed"}, "signature": "", "tables_zh": [{"key": "mappings", "rows": [{"token": "email", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-simple/?v=16", "text": "\u7b80\u5355"}}, {"token": "url", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-simple/?v=16", "text": "\u7b80\u5355"}}, {"token": "url_path", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-simple/?v=16", "text": "\u7b80\u5355"}}, {"token": "host", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-simple/?v=16", "text": "\u7b80\u5355"}}, {"token": "file", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-simple/?v=16", "text": "\u7b80\u5355"}}, {"token": "version", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-simple/?v=16", "text": "\u7b80\u5355"}}, {"token": "sfloat", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-simple/?v=16", "text": "\u7b80\u5355"}}, {"token": "float", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-simple/?v=16", "text": "\u7b80\u5355"}}, {"token": "int", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-simple/?v=16", "text": "\u7b80\u5355"}}, {"token": "uint", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-simple/?v=16", "text": "\u7b80\u5355"}}, {"token": "numword", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-simple/?v=16", "text": "\u7b80\u5355"}}, {"token": "hword_numpart", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-simple/?v=16", "text": "\u7b80\u5355"}}, {"token": "numhword", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-simple/?v=16", "text": "\u7b80\u5355"}}, {"token": "asciiword", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-hungarian_stem/?v=16", "text": "hungarian_stem"}}, {"token": "hword_asciipart", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-hungarian_stem/?v=16", "text": "hungarian_stem"}}, {"token": "asciihword", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-hungarian_stem/?v=16", "text": "hungarian_stem"}}, {"token": "word", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-hungarian_stem/?v=16", "text": "hungarian_stem"}}, {"token": "hword_part", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-hungarian_stem/?v=16", "text": "hungarian_stem"}}, {"token": "hword", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-hungarian_stem/?v=16", "text": "hungarian_stem"}}], "title": "\u8bcd\u5143\u5230\u8bcd\u5178\u7684\u6620\u5c04", "columns": [{"key": "token", "label": "\u8bcd\u5143\u7c7b\u578b"}, {"key": "sequence", "label": "\u987a\u5e8f"}, {"key": "dictionary", "label": "\u8bcd\u5178"}]}], "attributes": {"parser": "default", "configuration": "hungarian"}, "description": ["\u5168\u6587\u641c\u7d22\u914d\u7f6e hungarian\u3002"], "manual_html": "", "manual_path": "/docs/16/textsearch-configuration.html", "sections_zh": [{"code": "/*\n * text search configuration for hungarian language\n *\n * Copyright (c) 2007-2023, PostgreSQL Global Development Group\n *\n * src/backend/snowball/snowball.sql.in\n *\n * hungarian and certain other macros are replaced for each language;\n * see the Makefile for details.\n *\n * Note: this file is read in single-user -j mode, which means that the\n * command terminator is semicolon-newline-newline; whenever the backend\n * sees that, it stops and executes what it's got.  If you write a lot of\n * statements without empty lines between, they'll all get quoted to you\n * in any error message about one of them, so don't do that.  Also, you\n * cannot write a semicolon immediately followed by an empty line in a\n * string literal (including a function body!) or a multiline comment.\n */\n\nCREATE TEXT SEARCH DICTIONARY hungarian_stem\n\t(TEMPLATE = snowball, Language = hungarian , StopWords=hungarian);\n\nCOMMENT ON TEXT SEARCH DICTIONARY hungarian_stem IS 'snowball stemmer for hungarian language';\n\nCREATE TEXT SEARCH CONFIGURATION hungarian\n\t(PARSER = default);\n\nCOMMENT ON TEXT SEARCH CONFIGURATION hungarian IS 'configuration for hungarian language';\n\nALTER TEXT SEARCH CONFIGURATION hungarian ADD MAPPING\n\tFOR email, url, url_path, host, file, version,\n\t    sfloat, float, int, uint,\n\t    numword, hword_numpart, numhword\n\tWITH simple;\n\nALTER TEXT SEARCH CONFIGURATION hungarian ADD MAPPING\n    FOR asciiword, hword_asciipart, asciihword\n\tWITH hungarian_stem;\n\nALTER TEXT SEARCH CONFIGURATION hungarian ADD MAPPING\n    FOR word, hword_part, hword\n\tWITH hungarian_stem;", "title": "initdb \u751f\u6210\u7684\u5b9a\u4e49", "paragraphs": ["\u6839\u636e\u6b64\u7248\u672c\u7684 Snowball \u8bed\u8a00\u5217\u8868\u548c SQL \u6a21\u677f\u751f\u6210\u3002"]}], "localization": {"status": "complete", "sources": [{"url": "/docs/16/catalog-pg-amproc.html", "method": "same-major semantic node", "sha256": "bd6afb30bbf4c65c31030954168bc14f2e9c84a294ae7e96be2f04b4dcb20a16", "language": "zh", "matched_nodes": ["#CATALOG-PG-AMPROC/p[5]/span[2]/span[0]"]}, {"url": "/docs/16/textsearch-configuration.html", "method": "same-major semantic node", "sha256": "13c61e1817e090a1103852280b2ef0005c7c7a976aef1674f77dfa9153b9065d", "language": "zh", "matched_nodes": ["#TEXTSEARCH-CONFIGURATION/div[0]", "#TEXTSEARCH-CONFIGURATION/p[11]", "#TEXTSEARCH-CONFIGURATION/p[13]", "#TEXTSEARCH-CONFIGURATION/p[15]", "#TEXTSEARCH-CONFIGURATION/p[17]", "#TEXTSEARCH-CONFIGURATION/p[1]", "#TEXTSEARCH-CONFIGURATION/p[2]", "#TEXTSEARCH-CONFIGURATION/p[3]", "#TEXTSEARCH-CONFIGURATION/p[5]", "#TEXTSEARCH-CONFIGURATION/p[7]", "#TEXTSEARCH-CONFIGURATION/p[9]"]}, {"url": "/docs/16/using-explain.html", "method": "same-major semantic node", "sha256": "a57dce89f2a7bb97c5428853ed29e289ea1527692d8e4b1aa331311048271790", "language": "zh", "matched_nodes": ["#USING-EXPLAIN/div[7]/p[24]/span[0]/span[0]"]}], "language": "zh", "original_text": {"/versions/16/description/0": "Text search configuration hungarian.", "/versions/16/facts/0/label": "Configuration", "/versions/16/facts/1/label": "Parser", "/versions/16/facts/1/value": "default", "/versions/16/tables/0/title": "Token-to-dictionary mappings", "/versions/16/related/0/label": "default parser", "/versions/16/sections/0/title": "Generated initdb definition", "/versions/16/sections/0/paragraphs/0": "Generated from this release\u2019s Snowball language list and SQL template.", "/versions/16/tables/0/columns/0/label": "Token type", "/versions/16/tables/0/columns/1/label": "Order", "/versions/16/tables/0/columns/2/label": "Dictionary", "/versions/16/tables/0/rows/0/dictionary/text": "simple", "/versions/16/tables/0/rows/1/dictionary/text": "simple", "/versions/16/tables/0/rows/2/dictionary/text": "simple", "/versions/16/tables/0/rows/3/dictionary/text": "simple", "/versions/16/tables/0/rows/4/dictionary/text": "simple", "/versions/16/tables/0/rows/5/dictionary/text": "simple", "/versions/16/tables/0/rows/6/dictionary/text": "simple", "/versions/16/tables/0/rows/7/dictionary/text": "simple", "/versions/16/tables/0/rows/8/dictionary/text": "simple", "/versions/16/tables/0/rows/9/dictionary/text": "simple", "/versions/16/tables/0/rows/10/dictionary/text": "simple", "/versions/16/tables/0/rows/11/dictionary/text": "simple", "/versions/16/tables/0/rows/12/dictionary/text": "simple"}, "fallback_fields": [], "source_language": "en", "original_snapshot_sha256": "67aaa49b9e3ce5f191609af35d146b911bfedc65012bc953131cb5233ba22f71", "canonical_center_text_hash": "da395a301bb86d757a6a1a7e2ad809bb18e104422bf84d65415254bc7fe030a1"}, "description_zh": "\u5168\u6587\u641c\u7d22\u914d\u7f6e hungarian\u3002", "comparison_data": {"parser": "default", "mappings": [{"token": "asciihword", "sequence": "1", "dictionary": "hungarian_stem"}, {"token": "asciiword", "sequence": "1", "dictionary": "hungarian_stem"}, {"token": "email", "sequence": "1", "dictionary": "simple"}, {"token": "file", "sequence": "1", "dictionary": "simple"}, {"token": "float", "sequence": "1", "dictionary": "simple"}, {"token": "host", "sequence": "1", "dictionary": "simple"}, {"token": "hword", "sequence": "1", "dictionary": "hungarian_stem"}, {"token": "hword_asciipart", "sequence": "1", "dictionary": "hungarian_stem"}, {"token": "hword_numpart", "sequence": "1", "dictionary": "simple"}, {"token": "hword_part", "sequence": "1", "dictionary": "hungarian_stem"}, {"token": "int", "sequence": "1", "dictionary": "simple"}, {"token": "numhword", "sequence": "1", "dictionary": "simple"}, {"token": "numword", "sequence": "1", "dictionary": "simple"}, {"token": "sfloat", "sequence": "1", "dictionary": "simple"}, {"token": "uint", "sequence": "1", "dictionary": "simple"}, {"token": "url", "sequence": "1", "dictionary": "simple"}, {"token": "url_path", "sequence": "1", "dictionary": "simple"}, {"token": "version", "sequence": "1", "dictionary": "simple"}, {"token": "word", "sequence": "1", "dictionary": "hungarian_stem"}]}, "comparison_hash": "4b14c26ff2f416b9bc0128f68a56146e71b77907078eeac0cbd0dfaf2af246dd", "manual_language": "zh", "description_zh_html": "<p>\u5168\u6587\u641c\u7d22\u914d\u7f6e hungarian\u3002</p><dl><dt>\u89e3\u6790\u5668</dt><dd><code>default</code></dd><dt>\u914d\u7f6e</dt><dd><code>hungarian</code></dd></dl><h3>\u8bcd\u5143\u4e0e\u8bcd\u5178\u6620\u5c04</h3><table><tr><th>\u8bcd\u5143\u7c7b\u578b</th><th>\u987a\u5e8f</th><th>\u8bcd\u5178</th></tr><tr><td><code>email</code></td><td><code>1</code></td><td><code>simple</code></td></tr><tr><td><code>url</code></td><td><code>1</code></td><td><code>simple</code></td></tr><tr><td><code>url_path</code></td><td><code>1</code></td><td><code>simple</code></td></tr><tr><td><code>host</code></td><td><code>1</code></td><td><code>simple</code></td></tr><tr><td><code>file</code></td><td><code>1</code></td><td><code>simple</code></td></tr><tr><td><code>version</code></td><td><code>1</code></td><td><code>simple</code></td></tr><tr><td><code>sfloat</code></td><td><code>1</code></td><td><code>simple</code></td></tr><tr><td><code>float</code></td><td><code>1</code></td><td><code>simple</code></td></tr><tr><td><code>int</code></td><td><code>1</code></td><td><code>simple</code></td></tr><tr><td><code>uint</code></td><td><code>1</code></td><td><code>simple</code></td></tr><tr><td><code>numword</code></td><td><code>1</code></td><td><code>simple</code></td></tr><tr><td><code>hword_numpart</code></td><td><code>1</code></td><td><code>simple</code></td></tr><tr><td><code>numhword</code></td><td><code>1</code></td><td><code>simple</code></td></tr><tr><td><code>asciiword</code></td><td><code>1</code></td><td><code>hungarian_stem</code></td></tr><tr><td><code>hword_asciipart</code></td><td><code>1</code></td><td><code>hungarian_stem</code></td></tr><tr><td><code>asciihword</code></td><td><code>1</code></td><td><code>hungarian_stem</code></td></tr><tr><td><code>word</code></td><td><code>1</code></td><td><code>hungarian_stem</code></td></tr><tr><td><code>hword_part</code></td><td><code>1</code></td><td><code>hungarian_stem</code></td></tr><tr><td><code>hword</code></td><td><code>1</code></td><td><code>hungarian_stem</code></td></tr></table><h3>\u540c\u7248\u672c\u4e2d\u6587\u624b\u518c\u8282\u9009</h3><p>\n    \u4e00\u4e2a\u6587\u672c\u68c0\u7d22\u914d\u7f6e\u6307\u5b9a\u4e86\u5c06\u4e00\u4e2a\u6587\u6863\u8f6c\u6362\u6210\u4e00\u4e2a <code>tsvector</code> \u6240\u9700\u7684\u6240\u6709\u9009\u9879\uff1a\u7528\u4e8e\u628a\u6587\u672c\u5206\u89e3\u6210\u8bcd\u5143\u7684\u89e3\u6790\u5668\uff0c\u4ee5\u53ca\u7528\u4e8e\u5c06\u6bcf\u4e00\u4e2a\u8bcd\u5143\u8f6c\u6362\u6210\u8bcd\u4f4d\u7684\u8bcd\u5178\u3002\u6bcf\u4e00\u6b21 <code>to_tsvector</code> \u6216 <code>to_tsquery</code> \u7684\u8c03\u7528\u90fd\u9700\u8981\u4e00\u4e2a\u6587\u672c\u68c0\u7d22\u914d\u7f6e\u6765\u6267\u884c\u5176\u5904\u7406\u3002\u914d\u7f6e\u53c2\u6570 <a href=\"/zh/docs/16/runtime-config-client.html#GUC-DEFAULT-TEXT-SEARCH-CONFIG\" rel=\"nofollow\">default_text_search_config</a> \u6307\u5b9a\u4e86\u9ed8\u8ba4\u914d\u7f6e\u7684\u540d\u79f0\uff0c\u5982\u679c\u7701\u7565\u4e86\u663e\u5f0f\u7684\u914d\u7f6e\u53c2\u6570\uff0c\u6587\u672c\u68c0\u7d22\u51fd\u6570\u5c06\u4f1a\u4f7f\u7528\u5b83\u3002\u5b83\u53ef\u4ee5\u5728 <code>postgresql.conf</code> \u4e2d\u8bbe\u7f6e\uff0c\u6216\u8005\u4f7f\u7528 <code>SET</code> \u547d\u4ee4\u4e3a\u4e00\u4e2a\u5355\u72ec\u7684\u4f1a\u8bdd\u8bbe\u7f6e\u3002\n   </p><p>\n    \u6709\u4e00\u4e9b\u9884\u5b9a\u4e49\u7684\u6587\u672c\u68c0\u7d22\u914d\u7f6e\u53ef\u7528\uff0c\u5e76\u4e14\u4f60\u53ef\u4ee5\u5bb9\u6613\u5730\u521b\u5efa\u81ea\u5b9a\u4e49\u7684\u914d\u7f6e\u3002\u4e3a\u4e86\u4fbf\u4e8e\u7ba1\u7406\u6587\u672c\u68c0\u7d22\u5bf9\u8c61\uff0c\u53ef\u4ee5\u4f7f\u7528\u4e00\u7ec4 <acronym>SQL</acronym> \u547d\u4ee4\uff0c\u5e76\u4e14\u6709\u591a\u4e2a <span>psql</span> \u547d\u4ee4\u53ef\u4ee5\u663e\u793a\u6709\u5173\u6587\u672c\u68c0\u7d22\u5bf9\u8c61\uff08<a href=\"/zh/docs/16/textsearch-psql.html\" rel=\"nofollow\">\u7b2c\u00a012.10\u00a0\u8282</a>\uff09\u7684\u4fe1\u606f\u3002\n   </p><p>\n    \u4f5c\u4e3a\u4e00\u4e2a\u793a\u4f8b\uff0c\u6211\u4eec\u5c06\u521b\u5efa\u4e00\u4e2a\u914d\u7f6e <code>pg</code>\uff0c\u4ece\u590d\u5236\u5185\u7f6e\u7684 <code>english</code> \u914d\u7f6e\u5f00\u59cb\uff1a\n\n</p><p>\n    \u6211\u4eec\u5c06\u4f7f\u7528\u4e00\u4e2a PostgreSQL \u76f8\u5173\u7684\u540c\u4e49\u8bcd\u5217\u8868\uff0c\u5e76\u5c06\u5b83\u5b58\u50a8\u5728 <code>$SHAREDIR/tsearch_data/pg_dict.syn</code> \u4e2d\u3002\u6587\u4ef6\u5185\u5bb9\u770b\u8d77\u6765\u50cf\uff1a\n\n</p><p><a href=\"/zh/docs/16/textsearch-configuration.html\" rel=\"nofollow\">\u67e5\u770b\u5b8c\u6574\u4e2d\u6587\u624b\u518c\u4e0e\u4e0a\u4e0b\u6587</a>\u3002</p>"}, "17": {"facts": [{"label": "\u914d\u7f6e", "value": "hungarian"}, {"label": "\u89e3\u6790\u5668", "value": "\u9ed8\u8ba4"}], "tables": [{"key": "mappings", "rows": [{"token": "email", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-simple/?v=17", "text": "\u7b80\u5355"}}, {"token": "url", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-simple/?v=17", "text": "\u7b80\u5355"}}, {"token": "url_path", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-simple/?v=17", "text": "\u7b80\u5355"}}, {"token": "host", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-simple/?v=17", "text": "\u7b80\u5355"}}, {"token": "file", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-simple/?v=17", "text": "\u7b80\u5355"}}, {"token": "version", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-simple/?v=17", "text": "\u7b80\u5355"}}, {"token": "sfloat", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-simple/?v=17", "text": "\u7b80\u5355"}}, {"token": "float", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-simple/?v=17", "text": "\u7b80\u5355"}}, {"token": "int", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-simple/?v=17", "text": "\u7b80\u5355"}}, {"token": "uint", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-simple/?v=17", "text": "\u7b80\u5355"}}, {"token": "numword", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-simple/?v=17", "text": "\u7b80\u5355"}}, {"token": "hword_numpart", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-simple/?v=17", "text": "\u7b80\u5355"}}, {"token": "numhword", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-simple/?v=17", "text": "\u7b80\u5355"}}, {"token": "asciiword", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-hungarian_stem/?v=17", "text": "hungarian_stem"}}, {"token": "hword_asciipart", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-hungarian_stem/?v=17", "text": "hungarian_stem"}}, {"token": "asciihword", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-hungarian_stem/?v=17", "text": "hungarian_stem"}}, {"token": "word", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-hungarian_stem/?v=17", "text": "hungarian_stem"}}, {"token": "hword_part", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-hungarian_stem/?v=17", "text": "hungarian_stem"}}, {"token": "hword", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-hungarian_stem/?v=17", "text": "hungarian_stem"}}], "title": "\u8bcd\u5143\u5230\u8bcd\u5178\u7684\u6620\u5c04", "columns": [{"key": "token", "label": "\u8bcd\u5143\u7c7b\u578b"}, {"key": "sequence", "label": "\u987a\u5e8f"}, {"key": "dictionary", "label": "\u8bcd\u5178"}]}], "aliases": [], "related": [{"url": "/wiki/fts/parser-default/?v=17", "label": "\u9ed8\u8ba4\u89e3\u6790\u5668"}], "release": {"ref": "https://ftp.postgresql.org/pub/source/v17.11/postgresql-17.11.tar.bz2", "label": "17.11", "major": "17", "channel": "stable", "revision": "dd27f2b3c59e73ed14aa3324901242bf69a032a6347805f274e6260322d42979", "source_sha256": "dd27f2b3c59e73ed14aa3324901242bf69a032a6347805f274e6260322d42979", "catalog_fingerprint": "4bbe3ac77becd618478f66aec420a533e9017be356c5c1d51a4b17f0fd497c07"}, "sources": [{"url": "https://ftp.postgresql.org/pub/source/v17.11/postgresql-17.11.tar.bz2", "label": "Matching PostgreSQL source archive", "sha256": "dd27f2b3c59e73ed14aa3324901242bf69a032a6347805f274e6260322d42979"}, {"url": "/docs/17/textsearch-configuration.html", "path": "textsearch-configuration.html", "label": "PostgreSQL 17 English manual", "sha256": "0dabf4ac25ebd86f33d1422a40d9c69fd4d1dd9d38e8a960aa2ad22ffce551ff"}], "zh_from": {"kind": "same-version-chinese-manual-with-source-derived-structured-summary", "manual": {"url": "/zh/docs/17/textsearch-configuration.html", "anchor": "", "locale": "zh-Hans", "version": "17", "build_id": 105, "page_key": "textsearch-configuration.html", "extraction": "concept-introduction", "source_hash": "7fbb7d98b13be3bd384d917925cefaeb7479e0a60df39d8d3d8934f396633713", "fragment_sha256": "cecfc49f4b261b3db196d3d90eda68c461833940cebc55c9c22c172dd56fd73e", "source_revision": "unknown:rendered-translation-baseline", "translation_revision": "git:b1b500221dbe5437cfca004d6b04d3f6e422765d;html-sha256:7340767258d21c21b36f373f1fff6bab2be18e0daca13a865129db6105c09efd", "translated_from_revision": null}, "body_sha256": "45495ae7f3158981fe1ae82b811b256fe48f018339d95c3cb4592787961df688", "runtime_rerun": false, "authored_translation": "source-derived-structured-summary", "source_facts_revision": "dd27f2b3c59e73ed14aa3324901242bf69a032a6347805f274e6260322d42979"}, "facts_zh": [{"label": "\u914d\u7f6e", "value": "hungarian"}, {"label": "\u89e3\u6790\u5668", "value": "\u9ed8\u8ba4"}], "mappings": [{"token": "email", "sequence": "1", "dictionary": "simple"}, {"token": "url", "sequence": "1", "dictionary": "simple"}, {"token": "url_path", "sequence": "1", "dictionary": "simple"}, {"token": "host", "sequence": "1", "dictionary": "simple"}, {"token": "file", "sequence": "1", "dictionary": "simple"}, {"token": "version", "sequence": "1", "dictionary": "simple"}, {"token": "sfloat", "sequence": "1", "dictionary": "simple"}, {"token": "float", "sequence": "1", "dictionary": "simple"}, {"token": "int", "sequence": "1", "dictionary": "simple"}, {"token": "uint", "sequence": "1", "dictionary": "simple"}, {"token": "numword", "sequence": "1", "dictionary": "simple"}, {"token": "hword_numpart", "sequence": "1", "dictionary": "simple"}, {"token": "numhword", "sequence": "1", "dictionary": "simple"}, {"token": "asciiword", "sequence": "1", "dictionary": "hungarian_stem"}, {"token": "hword_asciipart", "sequence": "1", "dictionary": "hungarian_stem"}, {"token": "asciihword", "sequence": "1", "dictionary": "hungarian_stem"}, {"token": "word", "sequence": "1", "dictionary": "hungarian_stem"}, {"token": "hword_part", "sequence": "1", "dictionary": "hungarian_stem"}, {"token": "hword", "sequence": "1", "dictionary": "hungarian_stem"}], "sections": [{"code": "/*\n * text search configuration for hungarian language\n *\n * Copyright (c) 2007-2024, PostgreSQL Global Development Group\n *\n * src/backend/snowball/snowball.sql.in\n *\n * hungarian and certain other macros are replaced for each language;\n * see the Makefile for details.\n *\n * Note: this file is read in single-user -j mode, which means that the\n * command terminator is semicolon-newline-newline; whenever the backend\n * sees that, it stops and executes what it's got.  If you write a lot of\n * statements without empty lines between, they'll all get quoted to you\n * in any error message about one of them, so don't do that.  Also, you\n * cannot write a semicolon immediately followed by an empty line in a\n * string literal (including a function body!) or a multiline comment.\n */\n\nCREATE TEXT SEARCH DICTIONARY hungarian_stem\n\t(TEMPLATE = snowball, Language = hungarian , StopWords=hungarian);\n\nCOMMENT ON TEXT SEARCH DICTIONARY hungarian_stem IS 'snowball stemmer for hungarian language';\n\nCREATE TEXT SEARCH CONFIGURATION hungarian\n\t(PARSER = default);\n\nCOMMENT ON TEXT SEARCH CONFIGURATION hungarian IS 'configuration for hungarian language';\n\nALTER TEXT SEARCH CONFIGURATION hungarian ADD MAPPING\n\tFOR email, url, url_path, host, file, version,\n\t    sfloat, float, int, uint,\n\t    numword, hword_numpart, numhword\n\tWITH simple;\n\nALTER TEXT SEARCH CONFIGURATION hungarian ADD MAPPING\n    FOR asciiword, hword_asciipart, asciihword\n\tWITH hungarian_stem;\n\nALTER TEXT SEARCH CONFIGURATION hungarian ADD MAPPING\n    FOR word, hword_part, hword\n\tWITH hungarian_stem;", "title": "initdb \u751f\u6210\u7684\u5b9a\u4e49", "paragraphs": ["\u6839\u636e\u6b64\u7248\u672c\u7684 Snowball \u8bed\u8a00\u5217\u8868\u548c SQL \u6a21\u677f\u751f\u6210\u3002"]}], "center_zh": {"title": "hungarian", "locale": "zh-Hans", "source": {"key": "configuration-hungarian", "locale": "zh-Hans", "version": "17", "text_hash": "d1da66dabe3af35a6b6c6f914a64cf90434804a52619f3c65cb9fcfafa81c8eb", "collection": "fts", "dataset_hash": "7c31b524dfe136022d39a6ae8dcfac6b3bbd5f8fdaf422536599981252aff0c9", "source_database": "center", "source_revision": "dd27f2b3c59e73ed14aa3324901242bf69a032a6347805f274e6260322d42979"}, "payload": {"facts": [{"label": "\u914d\u7f6e", "value": "hungarian"}, {"label": "\u89e3\u6790\u5668", "value": "\u9ed8\u8ba4"}], "tables": [{"key": "mappings", "rows": [{"token": "email", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-simple/?v=17", "text": "\u7b80\u5355"}}, {"token": "url", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-simple/?v=17", "text": "\u7b80\u5355"}}, {"token": "url_path", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-simple/?v=17", "text": "\u7b80\u5355"}}, {"token": "host", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-simple/?v=17", "text": "\u7b80\u5355"}}, {"token": "file", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-simple/?v=17", "text": "\u7b80\u5355"}}, {"token": "version", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-simple/?v=17", "text": "\u7b80\u5355"}}, {"token": "sfloat", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-simple/?v=17", "text": "\u7b80\u5355"}}, {"token": "float", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-simple/?v=17", "text": "\u7b80\u5355"}}, {"token": "int", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-simple/?v=17", "text": "\u7b80\u5355"}}, {"token": "uint", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-simple/?v=17", "text": "\u7b80\u5355"}}, {"token": "numword", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-simple/?v=17", "text": "\u7b80\u5355"}}, {"token": "hword_numpart", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-simple/?v=17", "text": "\u7b80\u5355"}}, {"token": "numhword", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-simple/?v=17", "text": "\u7b80\u5355"}}, {"token": "asciiword", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-hungarian_stem/?v=17", "text": "hungarian_stem"}}, {"token": "hword_asciipart", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-hungarian_stem/?v=17", "text": "hungarian_stem"}}, {"token": "asciihword", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-hungarian_stem/?v=17", "text": "hungarian_stem"}}, {"token": "word", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-hungarian_stem/?v=17", "text": "hungarian_stem"}}, {"token": "hword_part", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-hungarian_stem/?v=17", "text": "hungarian_stem"}}, {"token": "hword", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-hungarian_stem/?v=17", "text": "hungarian_stem"}}], "title": "\u8bcd\u5143\u5230\u8bcd\u5178\u7684\u6620\u5c04", "columns": [{"key": "token", "label": "\u8bcd\u5143\u7c7b\u578b"}, {"key": "sequence", "label": "\u987a\u5e8f"}, {"key": "dictionary", "label": "\u8bcd\u5178"}]}], "zh_from": {"kind": "same-version-chinese-manual-with-source-derived-structured-summary", "manual": {"url": "/zh/docs/17/textsearch-configuration.html", "anchor": "", "locale": "zh-Hans", "version": "17", "build_id": 105, "page_key": "textsearch-configuration.html", "extraction": "concept-introduction", "source_hash": "7fbb7d98b13be3bd384d917925cefaeb7479e0a60df39d8d3d8934f396633713", "fragment_sha256": "cecfc49f4b261b3db196d3d90eda68c461833940cebc55c9c22c172dd56fd73e", "source_revision": "unknown:rendered-translation-baseline", "translation_revision": "git:b1b500221dbe5437cfca004d6b04d3f6e422765d;html-sha256:7340767258d21c21b36f373f1fff6bab2be18e0daca13a865129db6105c09efd", "translated_from_revision": null}, "body_sha256": "45495ae7f3158981fe1ae82b811b256fe48f018339d95c3cb4592787961df688", "runtime_rerun": false, "authored_translation": "source-derived-structured-summary", "source_facts_revision": "dd27f2b3c59e73ed14aa3324901242bf69a032a6347805f274e6260322d42979"}, "sections": [{"code": "/*\n * text search configuration for hungarian language\n *\n * Copyright (c) 2007-2024, PostgreSQL Global Development Group\n *\n * src/backend/snowball/snowball.sql.in\n *\n * hungarian and certain other macros are replaced for each language;\n * see the Makefile for details.\n *\n * Note: this file is read in single-user -j mode, which means that the\n * command terminator is semicolon-newline-newline; whenever the backend\n * sees that, it stops and executes what it's got.  If you write a lot of\n * statements without empty lines between, they'll all get quoted to you\n * in any error message about one of them, so don't do that.  Also, you\n * cannot write a semicolon immediately followed by an empty line in a\n * string literal (including a function body!) or a multiline comment.\n */\n\nCREATE TEXT SEARCH DICTIONARY hungarian_stem\n\t(TEMPLATE = snowball, Language = hungarian , StopWords=hungarian);\n\nCOMMENT ON TEXT SEARCH DICTIONARY hungarian_stem IS 'snowball stemmer for hungarian language';\n\nCREATE TEXT SEARCH CONFIGURATION hungarian\n\t(PARSER = default);\n\nCOMMENT ON TEXT SEARCH CONFIGURATION hungarian IS 'configuration for hungarian language';\n\nALTER TEXT SEARCH CONFIGURATION hungarian ADD MAPPING\n\tFOR email, url, url_path, host, file, version,\n\t    sfloat, float, int, uint,\n\t    numword, hword_numpart, numhword\n\tWITH simple;\n\nALTER TEXT SEARCH CONFIGURATION hungarian ADD MAPPING\n    FOR asciiword, hword_asciipart, asciihword\n\tWITH hungarian_stem;\n\nALTER TEXT SEARCH CONFIGURATION hungarian ADD MAPPING\n    FOR word, hword_part, hword\n\tWITH hungarian_stem;", "title": "initdb \u751f\u6210\u7684\u5b9a\u4e49", "paragraphs": ["\u6839\u636e\u6b64\u7248\u672c\u7684 Snowball \u8bed\u8a00\u5217\u8868\u548c SQL \u6a21\u677f\u751f\u6210\u3002"]}], "description_zh": "\u5168\u6587\u641c\u7d22\u914d\u7f6e hungarian\u3002", "description_zh_html": "<p>\u5168\u6587\u641c\u7d22\u914d\u7f6e hungarian\u3002</p><dl><dt>\u89e3\u6790\u5668</dt><dd><code>default</code></dd><dt>\u914d\u7f6e</dt><dd><code>hungarian</code></dd></dl><h3>\u8bcd\u5143\u4e0e\u8bcd\u5178\u6620\u5c04</h3><table><tr><th>\u8bcd\u5143\u7c7b\u578b</th><th>\u987a\u5e8f</th><th>\u8bcd\u5178</th></tr><tr><td><code>email</code></td><td><code>1</code></td><td><code>simple</code></td></tr><tr><td><code>url</code></td><td><code>1</code></td><td><code>simple</code></td></tr><tr><td><code>url_path</code></td><td><code>1</code></td><td><code>simple</code></td></tr><tr><td><code>host</code></td><td><code>1</code></td><td><code>simple</code></td></tr><tr><td><code>file</code></td><td><code>1</code></td><td><code>simple</code></td></tr><tr><td><code>version</code></td><td><code>1</code></td><td><code>simple</code></td></tr><tr><td><code>sfloat</code></td><td><code>1</code></td><td><code>simple</code></td></tr><tr><td><code>float</code></td><td><code>1</code></td><td><code>simple</code></td></tr><tr><td><code>int</code></td><td><code>1</code></td><td><code>simple</code></td></tr><tr><td><code>uint</code></td><td><code>1</code></td><td><code>simple</code></td></tr><tr><td><code>numword</code></td><td><code>1</code></td><td><code>simple</code></td></tr><tr><td><code>hword_numpart</code></td><td><code>1</code></td><td><code>simple</code></td></tr><tr><td><code>numhword</code></td><td><code>1</code></td><td><code>simple</code></td></tr><tr><td><code>asciiword</code></td><td><code>1</code></td><td><code>hungarian_stem</code></td></tr><tr><td><code>hword_asciipart</code></td><td><code>1</code></td><td><code>hungarian_stem</code></td></tr><tr><td><code>asciihword</code></td><td><code>1</code></td><td><code>hungarian_stem</code></td></tr><tr><td><code>word</code></td><td><code>1</code></td><td><code>hungarian_stem</code></td></tr><tr><td><code>hword_part</code></td><td><code>1</code></td><td><code>hungarian_stem</code></td></tr><tr><td><code>hword</code></td><td><code>1</code></td><td><code>hungarian_stem</code></td></tr></table><h3>\u540c\u7248\u672c\u4e2d\u6587\u624b\u518c\u8282\u9009</h3><p>\n    \u4e00\u4e2a\u6587\u672c\u68c0\u7d22\u914d\u7f6e\u6307\u5b9a\u4e86\u5c06\u4e00\u4e2a\u6587\u6863\u8f6c\u6362\u6210\u4e00\u4e2a <code class=\"type\">tsvector</code> \u6240\u9700\u7684\u6240\u6709\u9009\u9879\uff1a\u7528\u4e8e\u628a\u6587\u672c\u5206\u89e3\u6210\u8bcd\u5143\u7684\u89e3\u6790\u5668\uff0c\u4ee5\u53ca\u7528\u4e8e\u5c06\u6bcf\u4e00\u4e2a\u8bcd\u5143\u8f6c\u6362\u6210\u8bcd\u4f4d\u7684\u8bcd\u5178\u3002\u6bcf\u4e00\u6b21 <code class=\"function\">to_tsvector</code> \u6216 <code class=\"function\">to_tsquery</code> \u7684\u8c03\u7528\u90fd\u9700\u8981\u4e00\u4e2a\u6587\u672c\u68c0\u7d22\u914d\u7f6e\u6765\u6267\u884c\u5176\u5904\u7406\u3002\u914d\u7f6e\u53c2\u6570 <a class=\"xref\" href=\"/zh/docs/17/runtime-config-client.html#GUC-DEFAULT-TEXT-SEARCH-CONFIG\">default_text_search_config</a> \u6307\u5b9a\u4e86\u9ed8\u8ba4\u914d\u7f6e\u7684\u540d\u79f0\uff0c\u5982\u679c\u7701\u7565\u4e86\u663e\u5f0f\u7684\u914d\u7f6e\u53c2\u6570\uff0c\u6587\u672c\u68c0\u7d22\u51fd\u6570\u5c06\u4f1a\u4f7f\u7528\u5b83\u3002\u5b83\u53ef\u4ee5\u5728 <code class=\"filename\">postgresql.conf</code> \u4e2d\u8bbe\u7f6e\uff0c\u6216\u8005\u4f7f\u7528 <code class=\"command\">SET</code> \u547d\u4ee4\u4e3a\u4e00\u4e2a\u5355\u72ec\u7684\u4f1a\u8bdd\u8bbe\u7f6e\u3002\n   </p><p>\n    \u6709\u4e00\u4e9b\u9884\u5b9a\u4e49\u7684\u6587\u672c\u68c0\u7d22\u914d\u7f6e\u53ef\u7528\uff0c\u5e76\u4e14\u4f60\u53ef\u4ee5\u5bb9\u6613\u5730\u521b\u5efa\u81ea\u5b9a\u4e49\u7684\u914d\u7f6e\u3002\u4e3a\u4e86\u4fbf\u4e8e\u7ba1\u7406\u6587\u672c\u68c0\u7d22\u5bf9\u8c61\uff0c\u53ef\u4ee5\u4f7f\u7528\u4e00\u7ec4 <acronym class=\"acronym\">SQL</acronym> \u547d\u4ee4\uff0c\u5e76\u4e14\u6709\u591a\u4e2a <span class=\"application\">psql</span> \u547d\u4ee4\u53ef\u4ee5\u663e\u793a\u6709\u5173\u6587\u672c\u68c0\u7d22\u5bf9\u8c61\uff08<a class=\"xref\" href=\"/zh/docs/17/textsearch-psql.html\">\u7b2c\u00a012.10\u00a0\u8282</a>\uff09\u7684\u4fe1\u606f\u3002\n   </p><p>\n    \u4f5c\u4e3a\u4e00\u4e2a\u793a\u4f8b\uff0c\u6211\u4eec\u5c06\u521b\u5efa\u4e00\u4e2a\u914d\u7f6e <code class=\"literal\">pg</code>\uff0c\u4ece\u590d\u5236\u5185\u7f6e\u7684 <code class=\"literal\">english</code> \u914d\u7f6e\u5f00\u59cb\uff1a\n\n</p><p>\n    \u6211\u4eec\u5c06\u4f7f\u7528\u4e00\u4e2a PostgreSQL \u76f8\u5173\u7684\u540c\u4e49\u8bcd\u5217\u8868\uff0c\u5e76\u5c06\u5b83\u5b58\u50a8\u5728 <code class=\"filename\">$SHAREDIR/tsearch_data/pg_dict.syn</code> \u4e2d\u3002\u6587\u4ef6\u5185\u5bb9\u770b\u8d77\u6765\u50cf\uff1a\n\n</p><p><a href=\"/zh/docs/17/textsearch-configuration.html\">\u67e5\u770b\u5b8c\u6574\u4e2d\u6587\u624b\u518c\u4e0e\u4e0a\u4e0b\u6587</a>\u3002</p>"}, "summary": "\u5168\u6587\u641c\u7d22\u914d\u7f6e hungarian\u3002", "version": "17", "link_map": {"/zh/docs/17/textsearch-psql.html": "/docs/17/textsearch-psql.html", "/zh/docs/17/textsearch-configuration.html": "/docs/17/textsearch-configuration.html", "/zh/docs/17/runtime-config-client.html#GUC-DEFAULT-TEXT-SEARCH-CONFIG": "/docs/17/runtime-config-client.html#GUC-DEFAULT-TEXT-SEARCH-CONFIG"}, "body_html": "<p>\u5168\u6587\u641c\u7d22\u914d\u7f6e hungarian\u3002</p><dl><dt>\u89e3\u6790\u5668</dt><dd><code>default</code></dd><dt>\u914d\u7f6e</dt><dd><code>hungarian</code></dd></dl><h3>\u8bcd\u5143\u4e0e\u8bcd\u5178\u6620\u5c04</h3><table><tr><th>\u8bcd\u5143\u7c7b\u578b</th><th>\u987a\u5e8f</th><th>\u8bcd\u5178</th></tr><tr><td><code>email</code></td><td><code>1</code></td><td><code>simple</code></td></tr><tr><td><code>url</code></td><td><code>1</code></td><td><code>simple</code></td></tr><tr><td><code>url_path</code></td><td><code>1</code></td><td><code>simple</code></td></tr><tr><td><code>host</code></td><td><code>1</code></td><td><code>simple</code></td></tr><tr><td><code>file</code></td><td><code>1</code></td><td><code>simple</code></td></tr><tr><td><code>version</code></td><td><code>1</code></td><td><code>simple</code></td></tr><tr><td><code>sfloat</code></td><td><code>1</code></td><td><code>simple</code></td></tr><tr><td><code>float</code></td><td><code>1</code></td><td><code>simple</code></td></tr><tr><td><code>int</code></td><td><code>1</code></td><td><code>simple</code></td></tr><tr><td><code>uint</code></td><td><code>1</code></td><td><code>simple</code></td></tr><tr><td><code>numword</code></td><td><code>1</code></td><td><code>simple</code></td></tr><tr><td><code>hword_numpart</code></td><td><code>1</code></td><td><code>simple</code></td></tr><tr><td><code>numhword</code></td><td><code>1</code></td><td><code>simple</code></td></tr><tr><td><code>asciiword</code></td><td><code>1</code></td><td><code>hungarian_stem</code></td></tr><tr><td><code>hword_asciipart</code></td><td><code>1</code></td><td><code>hungarian_stem</code></td></tr><tr><td><code>asciihword</code></td><td><code>1</code></td><td><code>hungarian_stem</code></td></tr><tr><td><code>word</code></td><td><code>1</code></td><td><code>hungarian_stem</code></td></tr><tr><td><code>hword_part</code></td><td><code>1</code></td><td><code>hungarian_stem</code></td></tr><tr><td><code>hword</code></td><td><code>1</code></td><td><code>hungarian_stem</code></td></tr></table><h3>\u540c\u7248\u672c\u4e2d\u6587\u624b\u518c\u8282\u9009</h3><p>\n    \u4e00\u4e2a\u6587\u672c\u68c0\u7d22\u914d\u7f6e\u6307\u5b9a\u4e86\u5c06\u4e00\u4e2a\u6587\u6863\u8f6c\u6362\u6210\u4e00\u4e2a <code>tsvector</code> \u6240\u9700\u7684\u6240\u6709\u9009\u9879\uff1a\u7528\u4e8e\u628a\u6587\u672c\u5206\u89e3\u6210\u8bcd\u5143\u7684\u89e3\u6790\u5668\uff0c\u4ee5\u53ca\u7528\u4e8e\u5c06\u6bcf\u4e00\u4e2a\u8bcd\u5143\u8f6c\u6362\u6210\u8bcd\u4f4d\u7684\u8bcd\u5178\u3002\u6bcf\u4e00\u6b21 <code>to_tsvector</code> \u6216 <code>to_tsquery</code> \u7684\u8c03\u7528\u90fd\u9700\u8981\u4e00\u4e2a\u6587\u672c\u68c0\u7d22\u914d\u7f6e\u6765\u6267\u884c\u5176\u5904\u7406\u3002\u914d\u7f6e\u53c2\u6570 <a href=\"/zh/docs/17/runtime-config-client.html#GUC-DEFAULT-TEXT-SEARCH-CONFIG\" rel=\"nofollow\">default_text_search_config</a> \u6307\u5b9a\u4e86\u9ed8\u8ba4\u914d\u7f6e\u7684\u540d\u79f0\uff0c\u5982\u679c\u7701\u7565\u4e86\u663e\u5f0f\u7684\u914d\u7f6e\u53c2\u6570\uff0c\u6587\u672c\u68c0\u7d22\u51fd\u6570\u5c06\u4f1a\u4f7f\u7528\u5b83\u3002\u5b83\u53ef\u4ee5\u5728 <code>postgresql.conf</code> \u4e2d\u8bbe\u7f6e\uff0c\u6216\u8005\u4f7f\u7528 <code>SET</code> \u547d\u4ee4\u4e3a\u4e00\u4e2a\u5355\u72ec\u7684\u4f1a\u8bdd\u8bbe\u7f6e\u3002\n   </p><p>\n    \u6709\u4e00\u4e9b\u9884\u5b9a\u4e49\u7684\u6587\u672c\u68c0\u7d22\u914d\u7f6e\u53ef\u7528\uff0c\u5e76\u4e14\u4f60\u53ef\u4ee5\u5bb9\u6613\u5730\u521b\u5efa\u81ea\u5b9a\u4e49\u7684\u914d\u7f6e\u3002\u4e3a\u4e86\u4fbf\u4e8e\u7ba1\u7406\u6587\u672c\u68c0\u7d22\u5bf9\u8c61\uff0c\u53ef\u4ee5\u4f7f\u7528\u4e00\u7ec4 <acronym>SQL</acronym> \u547d\u4ee4\uff0c\u5e76\u4e14\u6709\u591a\u4e2a <span>psql</span> \u547d\u4ee4\u53ef\u4ee5\u663e\u793a\u6709\u5173\u6587\u672c\u68c0\u7d22\u5bf9\u8c61\uff08<a href=\"/zh/docs/17/textsearch-psql.html\" rel=\"nofollow\">\u7b2c\u00a012.10\u00a0\u8282</a>\uff09\u7684\u4fe1\u606f\u3002\n   </p><p>\n    \u4f5c\u4e3a\u4e00\u4e2a\u793a\u4f8b\uff0c\u6211\u4eec\u5c06\u521b\u5efa\u4e00\u4e2a\u914d\u7f6e <code>pg</code>\uff0c\u4ece\u590d\u5236\u5185\u7f6e\u7684 <code>english</code> \u914d\u7f6e\u5f00\u59cb\uff1a\n\n</p><p>\n    \u6211\u4eec\u5c06\u4f7f\u7528\u4e00\u4e2a PostgreSQL \u76f8\u5173\u7684\u540c\u4e49\u8bcd\u5217\u8868\uff0c\u5e76\u5c06\u5b83\u5b58\u50a8\u5728 <code>$SHAREDIR/tsearch_data/pg_dict.syn</code> \u4e2d\u3002\u6587\u4ef6\u5185\u5bb9\u770b\u8d77\u6765\u50cf\uff1a\n\n</p><p><a href=\"/zh/docs/17/textsearch-configuration.html\" rel=\"nofollow\">\u67e5\u770b\u5b8c\u6574\u4e2d\u6587\u624b\u518c\u4e0e\u4e0a\u4e0b\u6587</a>\u3002</p>", "body_sha256": "755078f43b05d4cf68db823f1e429ccbb7633767948a67d1e7ff2d97690fed8f", "content_hash": "d1da66dabe3af35a6b6c6f914a64cf90434804a52619f3c65cb9fcfafa81c8eb", "source_database": "center", "source_revision": "dd27f2b3c59e73ed14aa3324901242bf69a032a6347805f274e6260322d42979"}, "signature": "", "tables_zh": [{"key": "mappings", "rows": [{"token": "email", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-simple/?v=17", "text": "\u7b80\u5355"}}, {"token": "url", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-simple/?v=17", "text": "\u7b80\u5355"}}, {"token": "url_path", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-simple/?v=17", "text": "\u7b80\u5355"}}, {"token": "host", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-simple/?v=17", "text": "\u7b80\u5355"}}, {"token": "file", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-simple/?v=17", "text": "\u7b80\u5355"}}, {"token": "version", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-simple/?v=17", "text": "\u7b80\u5355"}}, {"token": "sfloat", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-simple/?v=17", "text": "\u7b80\u5355"}}, {"token": "float", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-simple/?v=17", "text": "\u7b80\u5355"}}, {"token": "int", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-simple/?v=17", "text": "\u7b80\u5355"}}, {"token": "uint", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-simple/?v=17", "text": "\u7b80\u5355"}}, {"token": "numword", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-simple/?v=17", "text": "\u7b80\u5355"}}, {"token": "hword_numpart", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-simple/?v=17", "text": "\u7b80\u5355"}}, {"token": "numhword", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-simple/?v=17", "text": "\u7b80\u5355"}}, {"token": "asciiword", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-hungarian_stem/?v=17", "text": "hungarian_stem"}}, {"token": "hword_asciipart", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-hungarian_stem/?v=17", "text": "hungarian_stem"}}, {"token": "asciihword", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-hungarian_stem/?v=17", "text": "hungarian_stem"}}, {"token": "word", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-hungarian_stem/?v=17", "text": "hungarian_stem"}}, {"token": "hword_part", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-hungarian_stem/?v=17", "text": "hungarian_stem"}}, {"token": "hword", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-hungarian_stem/?v=17", "text": "hungarian_stem"}}], "title": "\u8bcd\u5143\u5230\u8bcd\u5178\u7684\u6620\u5c04", "columns": [{"key": "token", "label": "\u8bcd\u5143\u7c7b\u578b"}, {"key": "sequence", "label": "\u987a\u5e8f"}, {"key": "dictionary", "label": "\u8bcd\u5178"}]}], "attributes": {"parser": "default", "configuration": "hungarian"}, "description": ["\u5168\u6587\u641c\u7d22\u914d\u7f6e hungarian\u3002"], "manual_html": "", "manual_path": "/docs/17/textsearch-configuration.html", "sections_zh": [{"code": "/*\n * text search configuration for hungarian language\n *\n * Copyright (c) 2007-2024, PostgreSQL Global Development Group\n *\n * src/backend/snowball/snowball.sql.in\n *\n * hungarian and certain other macros are replaced for each language;\n * see the Makefile for details.\n *\n * Note: this file is read in single-user -j mode, which means that the\n * command terminator is semicolon-newline-newline; whenever the backend\n * sees that, it stops and executes what it's got.  If you write a lot of\n * statements without empty lines between, they'll all get quoted to you\n * in any error message about one of them, so don't do that.  Also, you\n * cannot write a semicolon immediately followed by an empty line in a\n * string literal (including a function body!) or a multiline comment.\n */\n\nCREATE TEXT SEARCH DICTIONARY hungarian_stem\n\t(TEMPLATE = snowball, Language = hungarian , StopWords=hungarian);\n\nCOMMENT ON TEXT SEARCH DICTIONARY hungarian_stem IS 'snowball stemmer for hungarian language';\n\nCREATE TEXT SEARCH CONFIGURATION hungarian\n\t(PARSER = default);\n\nCOMMENT ON TEXT SEARCH CONFIGURATION hungarian IS 'configuration for hungarian language';\n\nALTER TEXT SEARCH CONFIGURATION hungarian ADD MAPPING\n\tFOR email, url, url_path, host, file, version,\n\t    sfloat, float, int, uint,\n\t    numword, hword_numpart, numhword\n\tWITH simple;\n\nALTER TEXT SEARCH CONFIGURATION hungarian ADD MAPPING\n    FOR asciiword, hword_asciipart, asciihword\n\tWITH hungarian_stem;\n\nALTER TEXT SEARCH CONFIGURATION hungarian ADD MAPPING\n    FOR word, hword_part, hword\n\tWITH hungarian_stem;", "title": "initdb \u751f\u6210\u7684\u5b9a\u4e49", "paragraphs": ["\u6839\u636e\u6b64\u7248\u672c\u7684 Snowball \u8bed\u8a00\u5217\u8868\u548c SQL \u6a21\u677f\u751f\u6210\u3002"]}], "localization": {"status": "complete", "sources": [{"url": "/docs/17/catalog-pg-amproc.html", "method": "same-major semantic node", "sha256": "c039c404dbd4adbc2eeb98c0a606a7914682739fad4bdcd2c789c199de950926", "language": "zh", "matched_nodes": ["#CATALOG-PG-AMPROC/p[5]/span[2]/span[0]"]}, {"url": "/docs/17/textsearch-configuration.html", "method": "same-major semantic node", "sha256": "720df0e3745e9815fc8712b10904b1994f74a68bb543a03c31bd6dbe3cf51440", "language": "zh", "matched_nodes": ["#TEXTSEARCH-CONFIGURATION/div[0]", "#TEXTSEARCH-CONFIGURATION/p[11]", "#TEXTSEARCH-CONFIGURATION/p[13]", "#TEXTSEARCH-CONFIGURATION/p[15]", "#TEXTSEARCH-CONFIGURATION/p[17]", "#TEXTSEARCH-CONFIGURATION/p[1]", "#TEXTSEARCH-CONFIGURATION/p[2]", "#TEXTSEARCH-CONFIGURATION/p[3]", "#TEXTSEARCH-CONFIGURATION/p[5]", "#TEXTSEARCH-CONFIGURATION/p[7]", "#TEXTSEARCH-CONFIGURATION/p[9]"]}, {"url": "/docs/17/using-explain.html", "method": "same-major semantic node", "sha256": "610ae355c419b53a5e213a8c8e2eacbf34e4fa0ac8f6d27365071bc6d3c90278", "language": "zh", "matched_nodes": ["#USING-EXPLAIN/div[7]/p[24]/span[0]/span[0]"]}], "language": "zh", "original_text": {"/versions/17/description/0": "Text search configuration hungarian.", "/versions/17/facts/0/label": "Configuration", "/versions/17/facts/1/label": "Parser", "/versions/17/facts/1/value": "default", "/versions/17/tables/0/title": "Token-to-dictionary mappings", "/versions/17/related/0/label": "default parser", "/versions/17/sections/0/title": "Generated initdb definition", "/versions/17/sections/0/paragraphs/0": "Generated from this release\u2019s Snowball language list and SQL template.", "/versions/17/tables/0/columns/0/label": "Token type", "/versions/17/tables/0/columns/1/label": "Order", "/versions/17/tables/0/columns/2/label": "Dictionary", "/versions/17/tables/0/rows/0/dictionary/text": "simple", "/versions/17/tables/0/rows/1/dictionary/text": "simple", "/versions/17/tables/0/rows/2/dictionary/text": "simple", "/versions/17/tables/0/rows/3/dictionary/text": "simple", "/versions/17/tables/0/rows/4/dictionary/text": "simple", "/versions/17/tables/0/rows/5/dictionary/text": "simple", "/versions/17/tables/0/rows/6/dictionary/text": "simple", "/versions/17/tables/0/rows/7/dictionary/text": "simple", "/versions/17/tables/0/rows/8/dictionary/text": "simple", "/versions/17/tables/0/rows/9/dictionary/text": "simple", "/versions/17/tables/0/rows/10/dictionary/text": "simple", "/versions/17/tables/0/rows/11/dictionary/text": "simple", "/versions/17/tables/0/rows/12/dictionary/text": "simple"}, "fallback_fields": [], "source_language": "en", "original_snapshot_sha256": "cacaa61cb5847b80b508f727c9f3e71bf0d8c6bec050aaa7fffccaeeeb19c226", "canonical_center_text_hash": "d1da66dabe3af35a6b6c6f914a64cf90434804a52619f3c65cb9fcfafa81c8eb"}, "description_zh": "\u5168\u6587\u641c\u7d22\u914d\u7f6e hungarian\u3002", "comparison_data": {"parser": "default", "mappings": [{"token": "asciihword", "sequence": "1", "dictionary": "hungarian_stem"}, {"token": "asciiword", "sequence": "1", "dictionary": "hungarian_stem"}, {"token": "email", "sequence": "1", "dictionary": "simple"}, {"token": "file", "sequence": "1", "dictionary": "simple"}, {"token": "float", "sequence": "1", "dictionary": "simple"}, {"token": "host", "sequence": "1", "dictionary": "simple"}, {"token": "hword", "sequence": "1", "dictionary": "hungarian_stem"}, {"token": "hword_asciipart", "sequence": "1", "dictionary": "hungarian_stem"}, {"token": "hword_numpart", "sequence": "1", "dictionary": "simple"}, {"token": "hword_part", "sequence": "1", "dictionary": "hungarian_stem"}, {"token": "int", "sequence": "1", "dictionary": "simple"}, {"token": "numhword", "sequence": "1", "dictionary": "simple"}, {"token": "numword", "sequence": "1", "dictionary": "simple"}, {"token": "sfloat", "sequence": "1", "dictionary": "simple"}, {"token": "uint", "sequence": "1", "dictionary": "simple"}, {"token": "url", "sequence": "1", "dictionary": "simple"}, {"token": "url_path", "sequence": "1", "dictionary": "simple"}, {"token": "version", "sequence": "1", "dictionary": "simple"}, {"token": "word", "sequence": "1", "dictionary": "hungarian_stem"}]}, "comparison_hash": "4b14c26ff2f416b9bc0128f68a56146e71b77907078eeac0cbd0dfaf2af246dd", "manual_language": "zh", "description_zh_html": "<p>\u5168\u6587\u641c\u7d22\u914d\u7f6e hungarian\u3002</p><dl><dt>\u89e3\u6790\u5668</dt><dd><code>default</code></dd><dt>\u914d\u7f6e</dt><dd><code>hungarian</code></dd></dl><h3>\u8bcd\u5143\u4e0e\u8bcd\u5178\u6620\u5c04</h3><table><tr><th>\u8bcd\u5143\u7c7b\u578b</th><th>\u987a\u5e8f</th><th>\u8bcd\u5178</th></tr><tr><td><code>email</code></td><td><code>1</code></td><td><code>simple</code></td></tr><tr><td><code>url</code></td><td><code>1</code></td><td><code>simple</code></td></tr><tr><td><code>url_path</code></td><td><code>1</code></td><td><code>simple</code></td></tr><tr><td><code>host</code></td><td><code>1</code></td><td><code>simple</code></td></tr><tr><td><code>file</code></td><td><code>1</code></td><td><code>simple</code></td></tr><tr><td><code>version</code></td><td><code>1</code></td><td><code>simple</code></td></tr><tr><td><code>sfloat</code></td><td><code>1</code></td><td><code>simple</code></td></tr><tr><td><code>float</code></td><td><code>1</code></td><td><code>simple</code></td></tr><tr><td><code>int</code></td><td><code>1</code></td><td><code>simple</code></td></tr><tr><td><code>uint</code></td><td><code>1</code></td><td><code>simple</code></td></tr><tr><td><code>numword</code></td><td><code>1</code></td><td><code>simple</code></td></tr><tr><td><code>hword_numpart</code></td><td><code>1</code></td><td><code>simple</code></td></tr><tr><td><code>numhword</code></td><td><code>1</code></td><td><code>simple</code></td></tr><tr><td><code>asciiword</code></td><td><code>1</code></td><td><code>hungarian_stem</code></td></tr><tr><td><code>hword_asciipart</code></td><td><code>1</code></td><td><code>hungarian_stem</code></td></tr><tr><td><code>asciihword</code></td><td><code>1</code></td><td><code>hungarian_stem</code></td></tr><tr><td><code>word</code></td><td><code>1</code></td><td><code>hungarian_stem</code></td></tr><tr><td><code>hword_part</code></td><td><code>1</code></td><td><code>hungarian_stem</code></td></tr><tr><td><code>hword</code></td><td><code>1</code></td><td><code>hungarian_stem</code></td></tr></table><h3>\u540c\u7248\u672c\u4e2d\u6587\u624b\u518c\u8282\u9009</h3><p>\n    \u4e00\u4e2a\u6587\u672c\u68c0\u7d22\u914d\u7f6e\u6307\u5b9a\u4e86\u5c06\u4e00\u4e2a\u6587\u6863\u8f6c\u6362\u6210\u4e00\u4e2a <code>tsvector</code> \u6240\u9700\u7684\u6240\u6709\u9009\u9879\uff1a\u7528\u4e8e\u628a\u6587\u672c\u5206\u89e3\u6210\u8bcd\u5143\u7684\u89e3\u6790\u5668\uff0c\u4ee5\u53ca\u7528\u4e8e\u5c06\u6bcf\u4e00\u4e2a\u8bcd\u5143\u8f6c\u6362\u6210\u8bcd\u4f4d\u7684\u8bcd\u5178\u3002\u6bcf\u4e00\u6b21 <code>to_tsvector</code> \u6216 <code>to_tsquery</code> \u7684\u8c03\u7528\u90fd\u9700\u8981\u4e00\u4e2a\u6587\u672c\u68c0\u7d22\u914d\u7f6e\u6765\u6267\u884c\u5176\u5904\u7406\u3002\u914d\u7f6e\u53c2\u6570 <a href=\"/zh/docs/17/runtime-config-client.html#GUC-DEFAULT-TEXT-SEARCH-CONFIG\" rel=\"nofollow\">default_text_search_config</a> \u6307\u5b9a\u4e86\u9ed8\u8ba4\u914d\u7f6e\u7684\u540d\u79f0\uff0c\u5982\u679c\u7701\u7565\u4e86\u663e\u5f0f\u7684\u914d\u7f6e\u53c2\u6570\uff0c\u6587\u672c\u68c0\u7d22\u51fd\u6570\u5c06\u4f1a\u4f7f\u7528\u5b83\u3002\u5b83\u53ef\u4ee5\u5728 <code>postgresql.conf</code> \u4e2d\u8bbe\u7f6e\uff0c\u6216\u8005\u4f7f\u7528 <code>SET</code> \u547d\u4ee4\u4e3a\u4e00\u4e2a\u5355\u72ec\u7684\u4f1a\u8bdd\u8bbe\u7f6e\u3002\n   </p><p>\n    \u6709\u4e00\u4e9b\u9884\u5b9a\u4e49\u7684\u6587\u672c\u68c0\u7d22\u914d\u7f6e\u53ef\u7528\uff0c\u5e76\u4e14\u4f60\u53ef\u4ee5\u5bb9\u6613\u5730\u521b\u5efa\u81ea\u5b9a\u4e49\u7684\u914d\u7f6e\u3002\u4e3a\u4e86\u4fbf\u4e8e\u7ba1\u7406\u6587\u672c\u68c0\u7d22\u5bf9\u8c61\uff0c\u53ef\u4ee5\u4f7f\u7528\u4e00\u7ec4 <acronym>SQL</acronym> \u547d\u4ee4\uff0c\u5e76\u4e14\u6709\u591a\u4e2a <span>psql</span> \u547d\u4ee4\u53ef\u4ee5\u663e\u793a\u6709\u5173\u6587\u672c\u68c0\u7d22\u5bf9\u8c61\uff08<a href=\"/zh/docs/17/textsearch-psql.html\" rel=\"nofollow\">\u7b2c\u00a012.10\u00a0\u8282</a>\uff09\u7684\u4fe1\u606f\u3002\n   </p><p>\n    \u4f5c\u4e3a\u4e00\u4e2a\u793a\u4f8b\uff0c\u6211\u4eec\u5c06\u521b\u5efa\u4e00\u4e2a\u914d\u7f6e <code>pg</code>\uff0c\u4ece\u590d\u5236\u5185\u7f6e\u7684 <code>english</code> \u914d\u7f6e\u5f00\u59cb\uff1a\n\n</p><p>\n    \u6211\u4eec\u5c06\u4f7f\u7528\u4e00\u4e2a PostgreSQL \u76f8\u5173\u7684\u540c\u4e49\u8bcd\u5217\u8868\uff0c\u5e76\u5c06\u5b83\u5b58\u50a8\u5728 <code>$SHAREDIR/tsearch_data/pg_dict.syn</code> \u4e2d\u3002\u6587\u4ef6\u5185\u5bb9\u770b\u8d77\u6765\u50cf\uff1a\n\n</p><p><a href=\"/zh/docs/17/textsearch-configuration.html\" rel=\"nofollow\">\u67e5\u770b\u5b8c\u6574\u4e2d\u6587\u624b\u518c\u4e0e\u4e0a\u4e0b\u6587</a>\u3002</p>"}, "18": {"facts": [{"label": "\u914d\u7f6e", "value": "hungarian"}, {"label": "\u89e3\u6790\u5668", "value": "\u9ed8\u8ba4"}], "tables": [{"key": "mappings", "rows": [{"token": "email", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-simple/?v=18", "text": "\u7b80\u5355"}}, {"token": "url", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-simple/?v=18", "text": "\u7b80\u5355"}}, {"token": "url_path", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-simple/?v=18", "text": "\u7b80\u5355"}}, {"token": "host", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-simple/?v=18", "text": "\u7b80\u5355"}}, {"token": "file", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-simple/?v=18", "text": "\u7b80\u5355"}}, {"token": "version", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-simple/?v=18", "text": "\u7b80\u5355"}}, {"token": "sfloat", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-simple/?v=18", "text": "\u7b80\u5355"}}, {"token": "float", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-simple/?v=18", "text": "\u7b80\u5355"}}, {"token": "int", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-simple/?v=18", "text": "\u7b80\u5355"}}, {"token": "uint", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-simple/?v=18", "text": "\u7b80\u5355"}}, {"token": "numword", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-simple/?v=18", "text": "\u7b80\u5355"}}, {"token": "hword_numpart", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-simple/?v=18", "text": "\u7b80\u5355"}}, {"token": "numhword", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-simple/?v=18", "text": "\u7b80\u5355"}}, {"token": "asciiword", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-hungarian_stem/?v=18", "text": "hungarian_stem"}}, {"token": "hword_asciipart", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-hungarian_stem/?v=18", "text": "hungarian_stem"}}, {"token": "asciihword", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-hungarian_stem/?v=18", "text": "hungarian_stem"}}, {"token": "word", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-hungarian_stem/?v=18", "text": "hungarian_stem"}}, {"token": "hword_part", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-hungarian_stem/?v=18", "text": "hungarian_stem"}}, {"token": "hword", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-hungarian_stem/?v=18", "text": "hungarian_stem"}}], "title": "\u8bcd\u5143\u5230\u8bcd\u5178\u7684\u6620\u5c04", "columns": [{"key": "token", "label": "\u8bcd\u5143\u7c7b\u578b"}, {"key": "sequence", "label": "\u987a\u5e8f"}, {"key": "dictionary", "label": "\u8bcd\u5178"}]}], "aliases": [], "related": [{"url": "/wiki/fts/parser-default/?v=18", "label": "\u9ed8\u8ba4\u89e3\u6790\u5668"}], "release": {"ref": "https://ftp.postgresql.org/pub/source/v18.6/postgresql-18.6.tar.bz2", "label": "18.6", "major": "18", "channel": "stable", "revision": "555610c24d53e4316da5b7d3fc25c279d96856d5e0e23ee308c328c5fa881d9f", "source_sha256": "555610c24d53e4316da5b7d3fc25c279d96856d5e0e23ee308c328c5fa881d9f", "catalog_fingerprint": "65c93d6048ef30e61023a84f9680fa6a92b1c383b7eb226741170077eb078502"}, "sources": [{"url": "https://ftp.postgresql.org/pub/source/v18.6/postgresql-18.6.tar.bz2", "label": "Matching PostgreSQL source archive", "sha256": "555610c24d53e4316da5b7d3fc25c279d96856d5e0e23ee308c328c5fa881d9f"}, {"url": "/docs/18/textsearch-configuration.html", "path": "textsearch-configuration.html", "label": "PostgreSQL 18 English manual", "sha256": "7957c03871a5f267f642ec609b2e3d1404eb000ccdef21ca0d1d8a8616110dc9"}], "zh_from": {"kind": "same-version-chinese-manual-with-source-derived-structured-summary", "manual": {"url": "/zh/docs/18/textsearch-configuration.html", "anchor": "", "locale": "zh-Hans", "version": "18", "build_id": 107, "page_key": "textsearch-configuration.html", "extraction": "concept-introduction", "source_hash": "fcc0bb39dbc241b21e9a05ac2d71f8c5c41034675909cd19d305cf07d445d9e5", "fragment_sha256": "45987985da02c9a2ca94654bb013bda6e9aede523cb42f9e5c1aa248847aa11f", "source_revision": "unknown:rendered-translation-baseline", "translation_revision": "git:b1b500221dbe5437cfca004d6b04d3f6e422765d;html-sha256:08e987a66af27b98444a8057c256314eafa13611a3fb9e888214fc436824244b", "translated_from_revision": null}, "body_sha256": "79d5f06a04ca7618808a37bdc6b3155ce9c9523fd507eb3bfdb4d3e15c3d008d", "runtime_rerun": false, "authored_translation": "source-derived-structured-summary", "source_facts_revision": "555610c24d53e4316da5b7d3fc25c279d96856d5e0e23ee308c328c5fa881d9f"}, "facts_zh": [{"label": "\u914d\u7f6e", "value": "hungarian"}, {"label": "\u89e3\u6790\u5668", "value": "\u9ed8\u8ba4"}], "mappings": [{"token": "email", "sequence": "1", "dictionary": "simple"}, {"token": "url", "sequence": "1", "dictionary": "simple"}, {"token": "url_path", "sequence": "1", "dictionary": "simple"}, {"token": "host", "sequence": "1", "dictionary": "simple"}, {"token": "file", "sequence": "1", "dictionary": "simple"}, {"token": "version", "sequence": "1", "dictionary": "simple"}, {"token": "sfloat", "sequence": "1", "dictionary": "simple"}, {"token": "float", "sequence": "1", "dictionary": "simple"}, {"token": "int", "sequence": "1", "dictionary": "simple"}, {"token": "uint", "sequence": "1", "dictionary": "simple"}, {"token": "numword", "sequence": "1", "dictionary": "simple"}, {"token": "hword_numpart", "sequence": "1", "dictionary": "simple"}, {"token": "numhword", "sequence": "1", "dictionary": "simple"}, {"token": "asciiword", "sequence": "1", "dictionary": "hungarian_stem"}, {"token": "hword_asciipart", "sequence": "1", "dictionary": "hungarian_stem"}, {"token": "asciihword", "sequence": "1", "dictionary": "hungarian_stem"}, {"token": "word", "sequence": "1", "dictionary": "hungarian_stem"}, {"token": "hword_part", "sequence": "1", "dictionary": "hungarian_stem"}, {"token": "hword", "sequence": "1", "dictionary": "hungarian_stem"}], "sections": [{"code": "/*\n * text search configuration for hungarian language\n *\n * Copyright (c) 2007-2025, PostgreSQL Global Development Group\n *\n * src/backend/snowball/snowball.sql.in\n *\n * hungarian and certain other macros are replaced for each language;\n * see the Makefile for details.\n *\n * Note: this file is read in single-user -j mode, which means that the\n * command terminator is semicolon-newline-newline; whenever the backend\n * sees that, it stops and executes what it's got.  If you write a lot of\n * statements without empty lines between, they'll all get quoted to you\n * in any error message about one of them, so don't do that.  Also, you\n * cannot write a semicolon immediately followed by an empty line in a\n * string literal (including a function body!) or a multiline comment.\n */\n\nCREATE TEXT SEARCH DICTIONARY hungarian_stem\n\t(TEMPLATE = snowball, Language = hungarian , StopWords=hungarian);\n\nCOMMENT ON TEXT SEARCH DICTIONARY hungarian_stem IS 'snowball stemmer for hungarian language';\n\nCREATE TEXT SEARCH CONFIGURATION hungarian\n\t(PARSER = default);\n\nCOMMENT ON TEXT SEARCH CONFIGURATION hungarian IS 'configuration for hungarian language';\n\nALTER TEXT SEARCH CONFIGURATION hungarian ADD MAPPING\n\tFOR email, url, url_path, host, file, version,\n\t    sfloat, float, int, uint,\n\t    numword, hword_numpart, numhword\n\tWITH simple;\n\nALTER TEXT SEARCH CONFIGURATION hungarian ADD MAPPING\n    FOR asciiword, hword_asciipart, asciihword\n\tWITH hungarian_stem;\n\nALTER TEXT SEARCH CONFIGURATION hungarian ADD MAPPING\n    FOR word, hword_part, hword\n\tWITH hungarian_stem;", "title": "initdb \u751f\u6210\u7684\u5b9a\u4e49", "paragraphs": ["\u6839\u636e\u6b64\u7248\u672c\u7684 Snowball \u8bed\u8a00\u5217\u8868\u548c SQL \u6a21\u677f\u751f\u6210\u3002"]}], "center_zh": {"title": "hungarian", "locale": "zh-Hans", "source": {"key": "configuration-hungarian", "locale": "zh-Hans", "version": "18", "text_hash": "d1787b556c194b531e0d3688a0aaeeddf5bb338ebfe177c5c7defa2501b396e6", "collection": "fts", "dataset_hash": "7c31b524dfe136022d39a6ae8dcfac6b3bbd5f8fdaf422536599981252aff0c9", "source_database": "center", "source_revision": "555610c24d53e4316da5b7d3fc25c279d96856d5e0e23ee308c328c5fa881d9f"}, "payload": {"facts": [{"label": "\u914d\u7f6e", "value": "hungarian"}, {"label": "\u89e3\u6790\u5668", "value": "\u9ed8\u8ba4"}], "tables": [{"key": "mappings", "rows": [{"token": "email", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-simple/?v=18", "text": "\u7b80\u5355"}}, {"token": "url", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-simple/?v=18", "text": "\u7b80\u5355"}}, {"token": "url_path", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-simple/?v=18", "text": "\u7b80\u5355"}}, {"token": "host", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-simple/?v=18", "text": "\u7b80\u5355"}}, {"token": "file", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-simple/?v=18", "text": "\u7b80\u5355"}}, {"token": "version", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-simple/?v=18", "text": "\u7b80\u5355"}}, {"token": "sfloat", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-simple/?v=18", "text": "\u7b80\u5355"}}, {"token": "float", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-simple/?v=18", "text": "\u7b80\u5355"}}, {"token": "int", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-simple/?v=18", "text": "\u7b80\u5355"}}, {"token": "uint", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-simple/?v=18", "text": "\u7b80\u5355"}}, {"token": "numword", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-simple/?v=18", "text": "\u7b80\u5355"}}, {"token": "hword_numpart", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-simple/?v=18", "text": "\u7b80\u5355"}}, {"token": "numhword", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-simple/?v=18", "text": "\u7b80\u5355"}}, {"token": "asciiword", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-hungarian_stem/?v=18", "text": "hungarian_stem"}}, {"token": "hword_asciipart", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-hungarian_stem/?v=18", "text": "hungarian_stem"}}, {"token": "asciihword", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-hungarian_stem/?v=18", "text": "hungarian_stem"}}, {"token": "word", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-hungarian_stem/?v=18", "text": "hungarian_stem"}}, {"token": "hword_part", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-hungarian_stem/?v=18", "text": "hungarian_stem"}}, {"token": "hword", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-hungarian_stem/?v=18", "text": "hungarian_stem"}}], "title": "\u8bcd\u5143\u5230\u8bcd\u5178\u7684\u6620\u5c04", "columns": [{"key": "token", "label": "\u8bcd\u5143\u7c7b\u578b"}, {"key": "sequence", "label": "\u987a\u5e8f"}, {"key": "dictionary", "label": "\u8bcd\u5178"}]}], "zh_from": {"kind": "same-version-chinese-manual-with-source-derived-structured-summary", "manual": {"url": "/zh/docs/18/textsearch-configuration.html", "anchor": "", "locale": "zh-Hans", "version": "18", "build_id": 107, "page_key": "textsearch-configuration.html", "extraction": "concept-introduction", "source_hash": "fcc0bb39dbc241b21e9a05ac2d71f8c5c41034675909cd19d305cf07d445d9e5", "fragment_sha256": "45987985da02c9a2ca94654bb013bda6e9aede523cb42f9e5c1aa248847aa11f", "source_revision": "unknown:rendered-translation-baseline", "translation_revision": "git:b1b500221dbe5437cfca004d6b04d3f6e422765d;html-sha256:08e987a66af27b98444a8057c256314eafa13611a3fb9e888214fc436824244b", "translated_from_revision": null}, "body_sha256": "79d5f06a04ca7618808a37bdc6b3155ce9c9523fd507eb3bfdb4d3e15c3d008d", "runtime_rerun": false, "authored_translation": "source-derived-structured-summary", "source_facts_revision": "555610c24d53e4316da5b7d3fc25c279d96856d5e0e23ee308c328c5fa881d9f"}, "sections": [{"code": "/*\n * text search configuration for hungarian language\n *\n * Copyright (c) 2007-2025, PostgreSQL Global Development Group\n *\n * src/backend/snowball/snowball.sql.in\n *\n * hungarian and certain other macros are replaced for each language;\n * see the Makefile for details.\n *\n * Note: this file is read in single-user -j mode, which means that the\n * command terminator is semicolon-newline-newline; whenever the backend\n * sees that, it stops and executes what it's got.  If you write a lot of\n * statements without empty lines between, they'll all get quoted to you\n * in any error message about one of them, so don't do that.  Also, you\n * cannot write a semicolon immediately followed by an empty line in a\n * string literal (including a function body!) or a multiline comment.\n */\n\nCREATE TEXT SEARCH DICTIONARY hungarian_stem\n\t(TEMPLATE = snowball, Language = hungarian , StopWords=hungarian);\n\nCOMMENT ON TEXT SEARCH DICTIONARY hungarian_stem IS 'snowball stemmer for hungarian language';\n\nCREATE TEXT SEARCH CONFIGURATION hungarian\n\t(PARSER = default);\n\nCOMMENT ON TEXT SEARCH CONFIGURATION hungarian IS 'configuration for hungarian language';\n\nALTER TEXT SEARCH CONFIGURATION hungarian ADD MAPPING\n\tFOR email, url, url_path, host, file, version,\n\t    sfloat, float, int, uint,\n\t    numword, hword_numpart, numhword\n\tWITH simple;\n\nALTER TEXT SEARCH CONFIGURATION hungarian ADD MAPPING\n    FOR asciiword, hword_asciipart, asciihword\n\tWITH hungarian_stem;\n\nALTER TEXT SEARCH CONFIGURATION hungarian ADD MAPPING\n    FOR word, hword_part, hword\n\tWITH hungarian_stem;", "title": "initdb \u751f\u6210\u7684\u5b9a\u4e49", "paragraphs": ["\u6839\u636e\u6b64\u7248\u672c\u7684 Snowball \u8bed\u8a00\u5217\u8868\u548c SQL \u6a21\u677f\u751f\u6210\u3002"]}], "description_zh": "\u5168\u6587\u641c\u7d22\u914d\u7f6e hungarian\u3002", "description_zh_html": "<p>\u5168\u6587\u641c\u7d22\u914d\u7f6e hungarian\u3002</p><dl><dt>\u89e3\u6790\u5668</dt><dd><code>default</code></dd><dt>\u914d\u7f6e</dt><dd><code>hungarian</code></dd></dl><h3>\u8bcd\u5143\u4e0e\u8bcd\u5178\u6620\u5c04</h3><table><tr><th>\u8bcd\u5143\u7c7b\u578b</th><th>\u987a\u5e8f</th><th>\u8bcd\u5178</th></tr><tr><td><code>email</code></td><td><code>1</code></td><td><code>simple</code></td></tr><tr><td><code>url</code></td><td><code>1</code></td><td><code>simple</code></td></tr><tr><td><code>url_path</code></td><td><code>1</code></td><td><code>simple</code></td></tr><tr><td><code>host</code></td><td><code>1</code></td><td><code>simple</code></td></tr><tr><td><code>file</code></td><td><code>1</code></td><td><code>simple</code></td></tr><tr><td><code>version</code></td><td><code>1</code></td><td><code>simple</code></td></tr><tr><td><code>sfloat</code></td><td><code>1</code></td><td><code>simple</code></td></tr><tr><td><code>float</code></td><td><code>1</code></td><td><code>simple</code></td></tr><tr><td><code>int</code></td><td><code>1</code></td><td><code>simple</code></td></tr><tr><td><code>uint</code></td><td><code>1</code></td><td><code>simple</code></td></tr><tr><td><code>numword</code></td><td><code>1</code></td><td><code>simple</code></td></tr><tr><td><code>hword_numpart</code></td><td><code>1</code></td><td><code>simple</code></td></tr><tr><td><code>numhword</code></td><td><code>1</code></td><td><code>simple</code></td></tr><tr><td><code>asciiword</code></td><td><code>1</code></td><td><code>hungarian_stem</code></td></tr><tr><td><code>hword_asciipart</code></td><td><code>1</code></td><td><code>hungarian_stem</code></td></tr><tr><td><code>asciihword</code></td><td><code>1</code></td><td><code>hungarian_stem</code></td></tr><tr><td><code>word</code></td><td><code>1</code></td><td><code>hungarian_stem</code></td></tr><tr><td><code>hword_part</code></td><td><code>1</code></td><td><code>hungarian_stem</code></td></tr><tr><td><code>hword</code></td><td><code>1</code></td><td><code>hungarian_stem</code></td></tr></table><h3>\u540c\u7248\u672c\u4e2d\u6587\u624b\u518c\u8282\u9009</h3><p>\n    \u4e00\u4e2a\u6587\u672c\u68c0\u7d22\u914d\u7f6e\u6307\u5b9a\u4e86\u5c06\u4e00\u4e2a\u6587\u6863\u8f6c\u6362\u6210\u4e00\u4e2a <code class=\"type\">tsvector</code> \u6240\u9700\u7684\u6240\u6709\u9009\u9879\uff1a\u7528\u4e8e\u628a\u6587\u672c\u5206\u89e3\u6210\u8bcd\u5143\u7684\u89e3\u6790\u5668\uff0c\u4ee5\u53ca\u7528\u4e8e\u5c06\u6bcf\u4e00\u4e2a\u8bcd\u5143\u8f6c\u6362\u6210\u8bcd\u4f4d\u7684\u8bcd\u5178\u3002\u6bcf\u4e00\u6b21 <code class=\"function\">to_tsvector</code> \u6216 <code class=\"function\">to_tsquery</code> \u7684\u8c03\u7528\u90fd\u9700\u8981\u4e00\u4e2a\u6587\u672c\u68c0\u7d22\u914d\u7f6e\u6765\u6267\u884c\u5176\u5904\u7406\u3002\u914d\u7f6e\u53c2\u6570 <a class=\"xref\" href=\"/zh/docs/18/runtime-config-client.html#GUC-DEFAULT-TEXT-SEARCH-CONFIG\">default_text_search_config</a> \u6307\u5b9a\u4e86\u9ed8\u8ba4\u914d\u7f6e\u7684\u540d\u79f0\uff0c\u5982\u679c\u7701\u7565\u4e86\u663e\u5f0f\u7684\u914d\u7f6e\u53c2\u6570\uff0c\u6587\u672c\u68c0\u7d22\u51fd\u6570\u5c06\u4f1a\u4f7f\u7528\u5b83\u3002\u5b83\u53ef\u4ee5\u5728 <code class=\"filename\">postgresql.conf</code> \u4e2d\u8bbe\u7f6e\uff0c\u6216\u8005\u4f7f\u7528 <code class=\"command\">SET</code> \u547d\u4ee4\u4e3a\u4e00\u4e2a\u5355\u72ec\u7684\u4f1a\u8bdd\u8bbe\u7f6e\u3002\n   </p><p>\n    \u6709\u4e00\u4e9b\u9884\u5b9a\u4e49\u7684\u6587\u672c\u68c0\u7d22\u914d\u7f6e\u53ef\u7528\uff0c\u5e76\u4e14\u4f60\u53ef\u4ee5\u5bb9\u6613\u5730\u521b\u5efa\u81ea\u5b9a\u4e49\u7684\u914d\u7f6e\u3002\u4e3a\u4e86\u4fbf\u4e8e\u7ba1\u7406\u6587\u672c\u68c0\u7d22\u5bf9\u8c61\uff0c\u53ef\u4ee5\u4f7f\u7528\u4e00\u7ec4 <acronym class=\"acronym\">SQL</acronym> \u547d\u4ee4\uff0c\u5e76\u4e14\u6709\u591a\u4e2a <span class=\"application\">psql</span> \u547d\u4ee4\u53ef\u4ee5\u663e\u793a\u6709\u5173\u6587\u672c\u68c0\u7d22\u5bf9\u8c61\uff08<a class=\"xref\" href=\"/zh/docs/18/textsearch-psql.html\">\u7b2c\u00a012.10\u00a0\u8282</a>\uff09\u7684\u4fe1\u606f\u3002\n   </p><p>\n    \u4f5c\u4e3a\u4e00\u4e2a\u793a\u4f8b\uff0c\u6211\u4eec\u5c06\u521b\u5efa\u4e00\u4e2a\u914d\u7f6e <code class=\"literal\">pg</code>\uff0c\u4ece\u590d\u5236\u5185\u7f6e\u7684 <code class=\"literal\">english</code> \u914d\u7f6e\u5f00\u59cb\uff1a\n\n</p><p>\n    \u6211\u4eec\u5c06\u4f7f\u7528\u4e00\u4e2a PostgreSQL \u76f8\u5173\u7684\u540c\u4e49\u8bcd\u5217\u8868\uff0c\u5e76\u5c06\u5b83\u5b58\u50a8\u5728 <code class=\"filename\">$SHAREDIR/tsearch_data/pg_dict.syn</code> \u4e2d\u3002\u6587\u4ef6\u5185\u5bb9\u770b\u8d77\u6765\u50cf\uff1a\n\n</p><p><a href=\"/zh/docs/18/textsearch-configuration.html\">\u67e5\u770b\u5b8c\u6574\u4e2d\u6587\u624b\u518c\u4e0e\u4e0a\u4e0b\u6587</a>\u3002</p>"}, "summary": "\u5168\u6587\u641c\u7d22\u914d\u7f6e hungarian\u3002", "version": "18", "link_map": {"/zh/docs/18/textsearch-psql.html": "/docs/18/textsearch-psql.html", "/zh/docs/18/textsearch-configuration.html": "/docs/18/textsearch-configuration.html", "/zh/docs/18/runtime-config-client.html#GUC-DEFAULT-TEXT-SEARCH-CONFIG": "/docs/18/runtime-config-client.html#GUC-DEFAULT-TEXT-SEARCH-CONFIG"}, "body_html": "<p>\u5168\u6587\u641c\u7d22\u914d\u7f6e hungarian\u3002</p><dl><dt>\u89e3\u6790\u5668</dt><dd><code>default</code></dd><dt>\u914d\u7f6e</dt><dd><code>hungarian</code></dd></dl><h3>\u8bcd\u5143\u4e0e\u8bcd\u5178\u6620\u5c04</h3><table><tr><th>\u8bcd\u5143\u7c7b\u578b</th><th>\u987a\u5e8f</th><th>\u8bcd\u5178</th></tr><tr><td><code>email</code></td><td><code>1</code></td><td><code>simple</code></td></tr><tr><td><code>url</code></td><td><code>1</code></td><td><code>simple</code></td></tr><tr><td><code>url_path</code></td><td><code>1</code></td><td><code>simple</code></td></tr><tr><td><code>host</code></td><td><code>1</code></td><td><code>simple</code></td></tr><tr><td><code>file</code></td><td><code>1</code></td><td><code>simple</code></td></tr><tr><td><code>version</code></td><td><code>1</code></td><td><code>simple</code></td></tr><tr><td><code>sfloat</code></td><td><code>1</code></td><td><code>simple</code></td></tr><tr><td><code>float</code></td><td><code>1</code></td><td><code>simple</code></td></tr><tr><td><code>int</code></td><td><code>1</code></td><td><code>simple</code></td></tr><tr><td><code>uint</code></td><td><code>1</code></td><td><code>simple</code></td></tr><tr><td><code>numword</code></td><td><code>1</code></td><td><code>simple</code></td></tr><tr><td><code>hword_numpart</code></td><td><code>1</code></td><td><code>simple</code></td></tr><tr><td><code>numhword</code></td><td><code>1</code></td><td><code>simple</code></td></tr><tr><td><code>asciiword</code></td><td><code>1</code></td><td><code>hungarian_stem</code></td></tr><tr><td><code>hword_asciipart</code></td><td><code>1</code></td><td><code>hungarian_stem</code></td></tr><tr><td><code>asciihword</code></td><td><code>1</code></td><td><code>hungarian_stem</code></td></tr><tr><td><code>word</code></td><td><code>1</code></td><td><code>hungarian_stem</code></td></tr><tr><td><code>hword_part</code></td><td><code>1</code></td><td><code>hungarian_stem</code></td></tr><tr><td><code>hword</code></td><td><code>1</code></td><td><code>hungarian_stem</code></td></tr></table><h3>\u540c\u7248\u672c\u4e2d\u6587\u624b\u518c\u8282\u9009</h3><p>\n    \u4e00\u4e2a\u6587\u672c\u68c0\u7d22\u914d\u7f6e\u6307\u5b9a\u4e86\u5c06\u4e00\u4e2a\u6587\u6863\u8f6c\u6362\u6210\u4e00\u4e2a <code>tsvector</code> \u6240\u9700\u7684\u6240\u6709\u9009\u9879\uff1a\u7528\u4e8e\u628a\u6587\u672c\u5206\u89e3\u6210\u8bcd\u5143\u7684\u89e3\u6790\u5668\uff0c\u4ee5\u53ca\u7528\u4e8e\u5c06\u6bcf\u4e00\u4e2a\u8bcd\u5143\u8f6c\u6362\u6210\u8bcd\u4f4d\u7684\u8bcd\u5178\u3002\u6bcf\u4e00\u6b21 <code>to_tsvector</code> \u6216 <code>to_tsquery</code> \u7684\u8c03\u7528\u90fd\u9700\u8981\u4e00\u4e2a\u6587\u672c\u68c0\u7d22\u914d\u7f6e\u6765\u6267\u884c\u5176\u5904\u7406\u3002\u914d\u7f6e\u53c2\u6570 <a href=\"/zh/docs/18/runtime-config-client.html#GUC-DEFAULT-TEXT-SEARCH-CONFIG\" rel=\"nofollow\">default_text_search_config</a> \u6307\u5b9a\u4e86\u9ed8\u8ba4\u914d\u7f6e\u7684\u540d\u79f0\uff0c\u5982\u679c\u7701\u7565\u4e86\u663e\u5f0f\u7684\u914d\u7f6e\u53c2\u6570\uff0c\u6587\u672c\u68c0\u7d22\u51fd\u6570\u5c06\u4f1a\u4f7f\u7528\u5b83\u3002\u5b83\u53ef\u4ee5\u5728 <code>postgresql.conf</code> \u4e2d\u8bbe\u7f6e\uff0c\u6216\u8005\u4f7f\u7528 <code>SET</code> \u547d\u4ee4\u4e3a\u4e00\u4e2a\u5355\u72ec\u7684\u4f1a\u8bdd\u8bbe\u7f6e\u3002\n   </p><p>\n    \u6709\u4e00\u4e9b\u9884\u5b9a\u4e49\u7684\u6587\u672c\u68c0\u7d22\u914d\u7f6e\u53ef\u7528\uff0c\u5e76\u4e14\u4f60\u53ef\u4ee5\u5bb9\u6613\u5730\u521b\u5efa\u81ea\u5b9a\u4e49\u7684\u914d\u7f6e\u3002\u4e3a\u4e86\u4fbf\u4e8e\u7ba1\u7406\u6587\u672c\u68c0\u7d22\u5bf9\u8c61\uff0c\u53ef\u4ee5\u4f7f\u7528\u4e00\u7ec4 <acronym>SQL</acronym> \u547d\u4ee4\uff0c\u5e76\u4e14\u6709\u591a\u4e2a <span>psql</span> \u547d\u4ee4\u53ef\u4ee5\u663e\u793a\u6709\u5173\u6587\u672c\u68c0\u7d22\u5bf9\u8c61\uff08<a href=\"/zh/docs/18/textsearch-psql.html\" rel=\"nofollow\">\u7b2c\u00a012.10\u00a0\u8282</a>\uff09\u7684\u4fe1\u606f\u3002\n   </p><p>\n    \u4f5c\u4e3a\u4e00\u4e2a\u793a\u4f8b\uff0c\u6211\u4eec\u5c06\u521b\u5efa\u4e00\u4e2a\u914d\u7f6e <code>pg</code>\uff0c\u4ece\u590d\u5236\u5185\u7f6e\u7684 <code>english</code> \u914d\u7f6e\u5f00\u59cb\uff1a\n\n</p><p>\n    \u6211\u4eec\u5c06\u4f7f\u7528\u4e00\u4e2a PostgreSQL \u76f8\u5173\u7684\u540c\u4e49\u8bcd\u5217\u8868\uff0c\u5e76\u5c06\u5b83\u5b58\u50a8\u5728 <code>$SHAREDIR/tsearch_data/pg_dict.syn</code> \u4e2d\u3002\u6587\u4ef6\u5185\u5bb9\u770b\u8d77\u6765\u50cf\uff1a\n\n</p><p><a href=\"/zh/docs/18/textsearch-configuration.html\" rel=\"nofollow\">\u67e5\u770b\u5b8c\u6574\u4e2d\u6587\u624b\u518c\u4e0e\u4e0a\u4e0b\u6587</a>\u3002</p>", "body_sha256": "79741dc7c8ca79bde3945c2aeafba2d83bf037b5e5bb79a69b6d257b1831c831", "content_hash": "d1787b556c194b531e0d3688a0aaeeddf5bb338ebfe177c5c7defa2501b396e6", "source_database": "center", "source_revision": "555610c24d53e4316da5b7d3fc25c279d96856d5e0e23ee308c328c5fa881d9f"}, "signature": "", "tables_zh": [{"key": "mappings", "rows": [{"token": "email", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-simple/?v=18", "text": "\u7b80\u5355"}}, {"token": "url", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-simple/?v=18", "text": "\u7b80\u5355"}}, {"token": "url_path", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-simple/?v=18", "text": "\u7b80\u5355"}}, {"token": "host", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-simple/?v=18", "text": "\u7b80\u5355"}}, {"token": "file", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-simple/?v=18", "text": "\u7b80\u5355"}}, {"token": "version", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-simple/?v=18", "text": "\u7b80\u5355"}}, {"token": "sfloat", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-simple/?v=18", "text": "\u7b80\u5355"}}, {"token": "float", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-simple/?v=18", "text": "\u7b80\u5355"}}, {"token": "int", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-simple/?v=18", "text": "\u7b80\u5355"}}, {"token": "uint", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-simple/?v=18", "text": "\u7b80\u5355"}}, {"token": "numword", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-simple/?v=18", "text": "\u7b80\u5355"}}, {"token": "hword_numpart", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-simple/?v=18", "text": "\u7b80\u5355"}}, {"token": "numhword", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-simple/?v=18", "text": "\u7b80\u5355"}}, {"token": "asciiword", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-hungarian_stem/?v=18", "text": "hungarian_stem"}}, {"token": "hword_asciipart", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-hungarian_stem/?v=18", "text": "hungarian_stem"}}, {"token": "asciihword", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-hungarian_stem/?v=18", "text": "hungarian_stem"}}, {"token": "word", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-hungarian_stem/?v=18", "text": "hungarian_stem"}}, {"token": "hword_part", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-hungarian_stem/?v=18", "text": "hungarian_stem"}}, {"token": "hword", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-hungarian_stem/?v=18", "text": "hungarian_stem"}}], "title": "\u8bcd\u5143\u5230\u8bcd\u5178\u7684\u6620\u5c04", "columns": [{"key": "token", "label": "\u8bcd\u5143\u7c7b\u578b"}, {"key": "sequence", "label": "\u987a\u5e8f"}, {"key": "dictionary", "label": "\u8bcd\u5178"}]}], "attributes": {"parser": "default", "configuration": "hungarian"}, "description": ["\u5168\u6587\u641c\u7d22\u914d\u7f6e hungarian\u3002"], "manual_html": "", "manual_path": "/docs/18/textsearch-configuration.html", "sections_zh": [{"code": "/*\n * text search configuration for hungarian language\n *\n * Copyright (c) 2007-2025, PostgreSQL Global Development Group\n *\n * src/backend/snowball/snowball.sql.in\n *\n * hungarian and certain other macros are replaced for each language;\n * see the Makefile for details.\n *\n * Note: this file is read in single-user -j mode, which means that the\n * command terminator is semicolon-newline-newline; whenever the backend\n * sees that, it stops and executes what it's got.  If you write a lot of\n * statements without empty lines between, they'll all get quoted to you\n * in any error message about one of them, so don't do that.  Also, you\n * cannot write a semicolon immediately followed by an empty line in a\n * string literal (including a function body!) or a multiline comment.\n */\n\nCREATE TEXT SEARCH DICTIONARY hungarian_stem\n\t(TEMPLATE = snowball, Language = hungarian , StopWords=hungarian);\n\nCOMMENT ON TEXT SEARCH DICTIONARY hungarian_stem IS 'snowball stemmer for hungarian language';\n\nCREATE TEXT SEARCH CONFIGURATION hungarian\n\t(PARSER = default);\n\nCOMMENT ON TEXT SEARCH CONFIGURATION hungarian IS 'configuration for hungarian language';\n\nALTER TEXT SEARCH CONFIGURATION hungarian ADD MAPPING\n\tFOR email, url, url_path, host, file, version,\n\t    sfloat, float, int, uint,\n\t    numword, hword_numpart, numhword\n\tWITH simple;\n\nALTER TEXT SEARCH CONFIGURATION hungarian ADD MAPPING\n    FOR asciiword, hword_asciipart, asciihword\n\tWITH hungarian_stem;\n\nALTER TEXT SEARCH CONFIGURATION hungarian ADD MAPPING\n    FOR word, hword_part, hword\n\tWITH hungarian_stem;", "title": "initdb \u751f\u6210\u7684\u5b9a\u4e49", "paragraphs": ["\u6839\u636e\u6b64\u7248\u672c\u7684 Snowball \u8bed\u8a00\u5217\u8868\u548c SQL \u6a21\u677f\u751f\u6210\u3002"]}], "localization": {"status": "complete", "sources": [{"url": "/docs/18/catalog-pg-amproc.html", "method": "same-major semantic node", "sha256": "c1b7d16e812991b4d5fb68085a27c8ff82aeaffa34afda56c5837f9b7588187c", "language": "zh", "matched_nodes": ["#CATALOG-PG-AMPROC/p[5]/span[2]/span[0]"]}, {"url": "/docs/18/textsearch-configuration.html", "method": "same-major semantic node", "sha256": "7f803d5b93ebfbc7277584f660e479e20eda950c121e0bb8a1e3ecd81268870c", "language": "zh", "matched_nodes": ["#TEXTSEARCH-CONFIGURATION/div[0]", "#TEXTSEARCH-CONFIGURATION/p[11]", "#TEXTSEARCH-CONFIGURATION/p[13]", "#TEXTSEARCH-CONFIGURATION/p[15]", "#TEXTSEARCH-CONFIGURATION/p[17]", "#TEXTSEARCH-CONFIGURATION/p[1]", "#TEXTSEARCH-CONFIGURATION/p[2]", "#TEXTSEARCH-CONFIGURATION/p[3]", "#TEXTSEARCH-CONFIGURATION/p[5]", "#TEXTSEARCH-CONFIGURATION/p[7]", "#TEXTSEARCH-CONFIGURATION/p[9]"]}, {"url": "/docs/18/using-explain.html", "method": "same-major semantic node", "sha256": "b8835ec9adbc70ec150667a6b5443f8d298222dc0cc8c2bd1abb1c1d64895904", "language": "zh", "matched_nodes": ["#USING-EXPLAIN/div[7]/p[24]/span[0]/span[0]"]}], "language": "zh", "original_text": {"/versions/18/description/0": "Text search configuration hungarian.", "/versions/18/facts/0/label": "Configuration", "/versions/18/facts/1/label": "Parser", "/versions/18/facts/1/value": "default", "/versions/18/tables/0/title": "Token-to-dictionary mappings", "/versions/18/related/0/label": "default parser", "/versions/18/sections/0/title": "Generated initdb definition", "/versions/18/sections/0/paragraphs/0": "Generated from this release\u2019s Snowball language list and SQL template.", "/versions/18/tables/0/columns/0/label": "Token type", "/versions/18/tables/0/columns/1/label": "Order", "/versions/18/tables/0/columns/2/label": "Dictionary", "/versions/18/tables/0/rows/0/dictionary/text": "simple", "/versions/18/tables/0/rows/1/dictionary/text": "simple", "/versions/18/tables/0/rows/2/dictionary/text": "simple", "/versions/18/tables/0/rows/3/dictionary/text": "simple", "/versions/18/tables/0/rows/4/dictionary/text": "simple", "/versions/18/tables/0/rows/5/dictionary/text": "simple", "/versions/18/tables/0/rows/6/dictionary/text": "simple", "/versions/18/tables/0/rows/7/dictionary/text": "simple", "/versions/18/tables/0/rows/8/dictionary/text": "simple", "/versions/18/tables/0/rows/9/dictionary/text": "simple", "/versions/18/tables/0/rows/10/dictionary/text": "simple", "/versions/18/tables/0/rows/11/dictionary/text": "simple", "/versions/18/tables/0/rows/12/dictionary/text": "simple"}, "fallback_fields": [], "source_language": "en", "original_snapshot_sha256": "e7f7299458b06c7d6bafbd9da4121c740c6d62a273a47952ca39aa78b7995979", "canonical_center_text_hash": "d1787b556c194b531e0d3688a0aaeeddf5bb338ebfe177c5c7defa2501b396e6"}, "description_zh": "\u5168\u6587\u641c\u7d22\u914d\u7f6e hungarian\u3002", "comparison_data": {"parser": "default", "mappings": [{"token": "asciihword", "sequence": "1", "dictionary": "hungarian_stem"}, {"token": "asciiword", "sequence": "1", "dictionary": "hungarian_stem"}, {"token": "email", "sequence": "1", "dictionary": "simple"}, {"token": "file", "sequence": "1", "dictionary": "simple"}, {"token": "float", "sequence": "1", "dictionary": "simple"}, {"token": "host", "sequence": "1", "dictionary": "simple"}, {"token": "hword", "sequence": "1", "dictionary": "hungarian_stem"}, {"token": "hword_asciipart", "sequence": "1", "dictionary": "hungarian_stem"}, {"token": "hword_numpart", "sequence": "1", "dictionary": "simple"}, {"token": "hword_part", "sequence": "1", "dictionary": "hungarian_stem"}, {"token": "int", "sequence": "1", "dictionary": "simple"}, {"token": "numhword", "sequence": "1", "dictionary": "simple"}, {"token": "numword", "sequence": "1", "dictionary": "simple"}, {"token": "sfloat", "sequence": "1", "dictionary": "simple"}, {"token": "uint", "sequence": "1", "dictionary": "simple"}, {"token": "url", "sequence": "1", "dictionary": "simple"}, {"token": "url_path", "sequence": "1", "dictionary": "simple"}, {"token": "version", "sequence": "1", "dictionary": "simple"}, {"token": "word", "sequence": "1", "dictionary": "hungarian_stem"}]}, "comparison_hash": "4b14c26ff2f416b9bc0128f68a56146e71b77907078eeac0cbd0dfaf2af246dd", "manual_language": "zh", "description_zh_html": "<p>\u5168\u6587\u641c\u7d22\u914d\u7f6e hungarian\u3002</p><dl><dt>\u89e3\u6790\u5668</dt><dd><code>default</code></dd><dt>\u914d\u7f6e</dt><dd><code>hungarian</code></dd></dl><h3>\u8bcd\u5143\u4e0e\u8bcd\u5178\u6620\u5c04</h3><table><tr><th>\u8bcd\u5143\u7c7b\u578b</th><th>\u987a\u5e8f</th><th>\u8bcd\u5178</th></tr><tr><td><code>email</code></td><td><code>1</code></td><td><code>simple</code></td></tr><tr><td><code>url</code></td><td><code>1</code></td><td><code>simple</code></td></tr><tr><td><code>url_path</code></td><td><code>1</code></td><td><code>simple</code></td></tr><tr><td><code>host</code></td><td><code>1</code></td><td><code>simple</code></td></tr><tr><td><code>file</code></td><td><code>1</code></td><td><code>simple</code></td></tr><tr><td><code>version</code></td><td><code>1</code></td><td><code>simple</code></td></tr><tr><td><code>sfloat</code></td><td><code>1</code></td><td><code>simple</code></td></tr><tr><td><code>float</code></td><td><code>1</code></td><td><code>simple</code></td></tr><tr><td><code>int</code></td><td><code>1</code></td><td><code>simple</code></td></tr><tr><td><code>uint</code></td><td><code>1</code></td><td><code>simple</code></td></tr><tr><td><code>numword</code></td><td><code>1</code></td><td><code>simple</code></td></tr><tr><td><code>hword_numpart</code></td><td><code>1</code></td><td><code>simple</code></td></tr><tr><td><code>numhword</code></td><td><code>1</code></td><td><code>simple</code></td></tr><tr><td><code>asciiword</code></td><td><code>1</code></td><td><code>hungarian_stem</code></td></tr><tr><td><code>hword_asciipart</code></td><td><code>1</code></td><td><code>hungarian_stem</code></td></tr><tr><td><code>asciihword</code></td><td><code>1</code></td><td><code>hungarian_stem</code></td></tr><tr><td><code>word</code></td><td><code>1</code></td><td><code>hungarian_stem</code></td></tr><tr><td><code>hword_part</code></td><td><code>1</code></td><td><code>hungarian_stem</code></td></tr><tr><td><code>hword</code></td><td><code>1</code></td><td><code>hungarian_stem</code></td></tr></table><h3>\u540c\u7248\u672c\u4e2d\u6587\u624b\u518c\u8282\u9009</h3><p>\n    \u4e00\u4e2a\u6587\u672c\u68c0\u7d22\u914d\u7f6e\u6307\u5b9a\u4e86\u5c06\u4e00\u4e2a\u6587\u6863\u8f6c\u6362\u6210\u4e00\u4e2a <code>tsvector</code> \u6240\u9700\u7684\u6240\u6709\u9009\u9879\uff1a\u7528\u4e8e\u628a\u6587\u672c\u5206\u89e3\u6210\u8bcd\u5143\u7684\u89e3\u6790\u5668\uff0c\u4ee5\u53ca\u7528\u4e8e\u5c06\u6bcf\u4e00\u4e2a\u8bcd\u5143\u8f6c\u6362\u6210\u8bcd\u4f4d\u7684\u8bcd\u5178\u3002\u6bcf\u4e00\u6b21 <code>to_tsvector</code> \u6216 <code>to_tsquery</code> \u7684\u8c03\u7528\u90fd\u9700\u8981\u4e00\u4e2a\u6587\u672c\u68c0\u7d22\u914d\u7f6e\u6765\u6267\u884c\u5176\u5904\u7406\u3002\u914d\u7f6e\u53c2\u6570 <a href=\"/zh/docs/18/runtime-config-client.html#GUC-DEFAULT-TEXT-SEARCH-CONFIG\" rel=\"nofollow\">default_text_search_config</a> \u6307\u5b9a\u4e86\u9ed8\u8ba4\u914d\u7f6e\u7684\u540d\u79f0\uff0c\u5982\u679c\u7701\u7565\u4e86\u663e\u5f0f\u7684\u914d\u7f6e\u53c2\u6570\uff0c\u6587\u672c\u68c0\u7d22\u51fd\u6570\u5c06\u4f1a\u4f7f\u7528\u5b83\u3002\u5b83\u53ef\u4ee5\u5728 <code>postgresql.conf</code> \u4e2d\u8bbe\u7f6e\uff0c\u6216\u8005\u4f7f\u7528 <code>SET</code> \u547d\u4ee4\u4e3a\u4e00\u4e2a\u5355\u72ec\u7684\u4f1a\u8bdd\u8bbe\u7f6e\u3002\n   </p><p>\n    \u6709\u4e00\u4e9b\u9884\u5b9a\u4e49\u7684\u6587\u672c\u68c0\u7d22\u914d\u7f6e\u53ef\u7528\uff0c\u5e76\u4e14\u4f60\u53ef\u4ee5\u5bb9\u6613\u5730\u521b\u5efa\u81ea\u5b9a\u4e49\u7684\u914d\u7f6e\u3002\u4e3a\u4e86\u4fbf\u4e8e\u7ba1\u7406\u6587\u672c\u68c0\u7d22\u5bf9\u8c61\uff0c\u53ef\u4ee5\u4f7f\u7528\u4e00\u7ec4 <acronym>SQL</acronym> \u547d\u4ee4\uff0c\u5e76\u4e14\u6709\u591a\u4e2a <span>psql</span> \u547d\u4ee4\u53ef\u4ee5\u663e\u793a\u6709\u5173\u6587\u672c\u68c0\u7d22\u5bf9\u8c61\uff08<a href=\"/zh/docs/18/textsearch-psql.html\" rel=\"nofollow\">\u7b2c\u00a012.10\u00a0\u8282</a>\uff09\u7684\u4fe1\u606f\u3002\n   </p><p>\n    \u4f5c\u4e3a\u4e00\u4e2a\u793a\u4f8b\uff0c\u6211\u4eec\u5c06\u521b\u5efa\u4e00\u4e2a\u914d\u7f6e <code>pg</code>\uff0c\u4ece\u590d\u5236\u5185\u7f6e\u7684 <code>english</code> \u914d\u7f6e\u5f00\u59cb\uff1a\n\n</p><p>\n    \u6211\u4eec\u5c06\u4f7f\u7528\u4e00\u4e2a PostgreSQL \u76f8\u5173\u7684\u540c\u4e49\u8bcd\u5217\u8868\uff0c\u5e76\u5c06\u5b83\u5b58\u50a8\u5728 <code>$SHAREDIR/tsearch_data/pg_dict.syn</code> \u4e2d\u3002\u6587\u4ef6\u5185\u5bb9\u770b\u8d77\u6765\u50cf\uff1a\n\n</p><p><a href=\"/zh/docs/18/textsearch-configuration.html\" rel=\"nofollow\">\u67e5\u770b\u5b8c\u6574\u4e2d\u6587\u624b\u518c\u4e0e\u4e0a\u4e0b\u6587</a>\u3002</p>", "center_zh_rendered": "<p>\u5168\u6587\u641c\u7d22\u914d\u7f6e hungarian\u3002</p><dl><dt>\u89e3\u6790\u5668</dt><dd><code>default</code></dd><dt>\u914d\u7f6e</dt><dd><code>hungarian</code></dd></dl><h3>\u8bcd\u5143\u4e0e\u8bcd\u5178\u6620\u5c04</h3><table><tbody><tr><th>\u8bcd\u5143\u7c7b\u578b</th><th>\u987a\u5e8f</th><th>\u8bcd\u5178</th></tr><tr><td><code>email</code></td><td><code>1</code></td><td><code>simple</code></td></tr><tr><td><code>url</code></td><td><code>1</code></td><td><code>simple</code></td></tr><tr><td><code>url_path</code></td><td><code>1</code></td><td><code>simple</code></td></tr><tr><td><code>host</code></td><td><code>1</code></td><td><code>simple</code></td></tr><tr><td><code>file</code></td><td><code>1</code></td><td><code>simple</code></td></tr><tr><td><code>version</code></td><td><code>1</code></td><td><code>simple</code></td></tr><tr><td><code>sfloat</code></td><td><code>1</code></td><td><code>simple</code></td></tr><tr><td><code>float</code></td><td><code>1</code></td><td><code>simple</code></td></tr><tr><td><code>int</code></td><td><code>1</code></td><td><code>simple</code></td></tr><tr><td><code>uint</code></td><td><code>1</code></td><td><code>simple</code></td></tr><tr><td><code>numword</code></td><td><code>1</code></td><td><code>simple</code></td></tr><tr><td><code>hword_numpart</code></td><td><code>1</code></td><td><code>simple</code></td></tr><tr><td><code>numhword</code></td><td><code>1</code></td><td><code>simple</code></td></tr><tr><td><code>asciiword</code></td><td><code>1</code></td><td><code>hungarian_stem</code></td></tr><tr><td><code>hword_asciipart</code></td><td><code>1</code></td><td><code>hungarian_stem</code></td></tr><tr><td><code>asciihword</code></td><td><code>1</code></td><td><code>hungarian_stem</code></td></tr><tr><td><code>word</code></td><td><code>1</code></td><td><code>hungarian_stem</code></td></tr><tr><td><code>hword_part</code></td><td><code>1</code></td><td><code>hungarian_stem</code></td></tr><tr><td><code>hword</code></td><td><code>1</code></td><td><code>hungarian_stem</code></td></tr></tbody></table><h3>\u540c\u7248\u672c\u4e2d\u6587\u624b\u518c\u8282\u9009</h3><p>\n    \u4e00\u4e2a\u6587\u672c\u68c0\u7d22\u914d\u7f6e\u6307\u5b9a\u4e86\u5c06\u4e00\u4e2a\u6587\u6863\u8f6c\u6362\u6210\u4e00\u4e2a <code>tsvector</code> \u6240\u9700\u7684\u6240\u6709\u9009\u9879\uff1a\u7528\u4e8e\u628a\u6587\u672c\u5206\u89e3\u6210\u8bcd\u5143\u7684\u89e3\u6790\u5668\uff0c\u4ee5\u53ca\u7528\u4e8e\u5c06\u6bcf\u4e00\u4e2a\u8bcd\u5143\u8f6c\u6362\u6210\u8bcd\u4f4d\u7684\u8bcd\u5178\u3002\u6bcf\u4e00\u6b21 <code>to_tsvector</code> \u6216 <code>to_tsquery</code> \u7684\u8c03\u7528\u90fd\u9700\u8981\u4e00\u4e2a\u6587\u672c\u68c0\u7d22\u914d\u7f6e\u6765\u6267\u884c\u5176\u5904\u7406\u3002\u914d\u7f6e\u53c2\u6570 <a href=\"/docs/18/runtime-config-client.html#GUC-DEFAULT-TEXT-SEARCH-CONFIG\">default_text_search_config</a> \u6307\u5b9a\u4e86\u9ed8\u8ba4\u914d\u7f6e\u7684\u540d\u79f0\uff0c\u5982\u679c\u7701\u7565\u4e86\u663e\u5f0f\u7684\u914d\u7f6e\u53c2\u6570\uff0c\u6587\u672c\u68c0\u7d22\u51fd\u6570\u5c06\u4f1a\u4f7f\u7528\u5b83\u3002\u5b83\u53ef\u4ee5\u5728 <code>postgresql.conf</code> \u4e2d\u8bbe\u7f6e\uff0c\u6216\u8005\u4f7f\u7528 <code>SET</code> \u547d\u4ee4\u4e3a\u4e00\u4e2a\u5355\u72ec\u7684\u4f1a\u8bdd\u8bbe\u7f6e\u3002\n   </p><p>\n    \u6709\u4e00\u4e9b\u9884\u5b9a\u4e49\u7684\u6587\u672c\u68c0\u7d22\u914d\u7f6e\u53ef\u7528\uff0c\u5e76\u4e14\u4f60\u53ef\u4ee5\u5bb9\u6613\u5730\u521b\u5efa\u81ea\u5b9a\u4e49\u7684\u914d\u7f6e\u3002\u4e3a\u4e86\u4fbf\u4e8e\u7ba1\u7406\u6587\u672c\u68c0\u7d22\u5bf9\u8c61\uff0c\u53ef\u4ee5\u4f7f\u7528\u4e00\u7ec4 SQL \u547d\u4ee4\uff0c\u5e76\u4e14\u6709\u591a\u4e2a <span>psql</span> \u547d\u4ee4\u53ef\u4ee5\u663e\u793a\u6709\u5173\u6587\u672c\u68c0\u7d22\u5bf9\u8c61\uff08<a href=\"/docs/18/textsearch-psql.html\">\u7b2c\u00a012.10\u00a0\u8282</a>\uff09\u7684\u4fe1\u606f\u3002\n   </p><p>\n    \u4f5c\u4e3a\u4e00\u4e2a\u793a\u4f8b\uff0c\u6211\u4eec\u5c06\u521b\u5efa\u4e00\u4e2a\u914d\u7f6e <code>pg</code>\uff0c\u4ece\u590d\u5236\u5185\u7f6e\u7684 <code>english</code> \u914d\u7f6e\u5f00\u59cb\uff1a\n\n</p><p>\n    \u6211\u4eec\u5c06\u4f7f\u7528\u4e00\u4e2a PostgreSQL \u76f8\u5173\u7684\u540c\u4e49\u8bcd\u5217\u8868\uff0c\u5e76\u5c06\u5b83\u5b58\u50a8\u5728 <code>$SHAREDIR/tsearch_data/pg_dict.syn</code> \u4e2d\u3002\u6587\u4ef6\u5185\u5bb9\u770b\u8d77\u6765\u50cf\uff1a\n\n</p><p><a href=\"/docs/18/textsearch-configuration.html\">\u67e5\u770b\u5b8c\u6574\u4e2d\u6587\u624b\u518c\u4e0e\u4e0a\u4e0b\u6587</a>\u3002</p>"}, "19": {"facts": [{"label": "\u914d\u7f6e", "value": "hungarian"}, {"label": "\u89e3\u6790\u5668", "value": "\u9ed8\u8ba4"}], "tables": [{"key": "mappings", "rows": [{"token": "email", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-simple/?v=19", "text": "\u7b80\u5355"}}, {"token": "url", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-simple/?v=19", "text": "\u7b80\u5355"}}, {"token": "url_path", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-simple/?v=19", "text": "\u7b80\u5355"}}, {"token": "host", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-simple/?v=19", "text": "\u7b80\u5355"}}, {"token": "file", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-simple/?v=19", "text": "\u7b80\u5355"}}, {"token": "version", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-simple/?v=19", "text": "\u7b80\u5355"}}, {"token": "sfloat", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-simple/?v=19", "text": "\u7b80\u5355"}}, {"token": "float", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-simple/?v=19", "text": "\u7b80\u5355"}}, {"token": "int", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-simple/?v=19", "text": "\u7b80\u5355"}}, {"token": "uint", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-simple/?v=19", "text": "\u7b80\u5355"}}, {"token": "numword", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-simple/?v=19", "text": "\u7b80\u5355"}}, {"token": "hword_numpart", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-simple/?v=19", "text": "\u7b80\u5355"}}, {"token": "numhword", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-simple/?v=19", "text": "\u7b80\u5355"}}, {"token": "asciiword", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-hungarian_stem/?v=19", "text": "hungarian_stem"}}, {"token": "hword_asciipart", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-hungarian_stem/?v=19", "text": "hungarian_stem"}}, {"token": "asciihword", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-hungarian_stem/?v=19", "text": "hungarian_stem"}}, {"token": "word", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-hungarian_stem/?v=19", "text": "hungarian_stem"}}, {"token": "hword_part", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-hungarian_stem/?v=19", "text": "hungarian_stem"}}, {"token": "hword", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-hungarian_stem/?v=19", "text": "hungarian_stem"}}], "title": "\u8bcd\u5143\u5230\u8bcd\u5178\u7684\u6620\u5c04", "columns": [{"key": "token", "label": "\u8bcd\u5143\u7c7b\u578b"}, {"key": "sequence", "label": "\u987a\u5e8f"}, {"key": "dictionary", "label": "\u8bcd\u5178"}]}], "aliases": [], "related": [{"url": "/wiki/fts/parser-default/?v=19", "label": "\u9ed8\u8ba4\u89e3\u6790\u5668"}], "release": {"ref": "https://ftp.postgresql.org/pub/source/v19rc1/postgresql-19rc1.tar.bz2", "label": "19rc1", "major": "19", "channel": "preview", "revision": "af105fc8e960fc836a09fc2cd7f582b49fd17675d9d36631abe3a565bfd7d701", "source_sha256": "af105fc8e960fc836a09fc2cd7f582b49fd17675d9d36631abe3a565bfd7d701", "catalog_fingerprint": "62fbf1a3689dbe8bf7e6b3372cfe6fbf867581427b3858a94c8419b77a4d2d1d"}, "sources": [{"url": "https://ftp.postgresql.org/pub/source/v19rc1/postgresql-19rc1.tar.bz2", "label": "Matching PostgreSQL source archive", "sha256": "af105fc8e960fc836a09fc2cd7f582b49fd17675d9d36631abe3a565bfd7d701"}, {"url": "/docs/19/textsearch-configuration.html", "path": "textsearch-configuration.html", "label": "PostgreSQL 19 English manual", "sha256": "ea23494a8d9e305ba0b574a607cff105f9886f9ffc4b4493430b3d377ae9ecb6"}], "zh_from": {"kind": "same-version-chinese-manual-with-source-derived-structured-summary", "manual": {"url": "/zh/docs/19/textsearch-configuration.html", "anchor": "", "locale": "zh-Hans", "version": "19", "build_id": 109, "page_key": "textsearch-configuration.html", "extraction": "concept-introduction", "source_hash": "630a708ce00ab54385e0248f29481ff30ab2b841aaf1e9e0948667c5cdf9866d", "fragment_sha256": "864d4579bd06e52e50fb30e5580c9260d351e10a1bf6876bcdbc5d1f401d2f3b", "source_revision": "sha256:af105fc8e960fc836a09fc2cd7f582b49fd17675d9d36631abe3a565bfd7d701", "translation_revision": "git:b1b500221dbe5437cfca004d6b04d3f6e422765d;html-sha256:65fda1f1b62a89992b84014c9157e61b67dbe8190e93945826efec668fad038c", "translated_from_revision": "sha256:af105fc8e960fc836a09fc2cd7f582b49fd17675d9d36631abe3a565bfd7d701"}, "body_sha256": "bff3e1549c53cd0f91892ea4d9b181d5165e7ef2218c7b030cdd25c402f0018c", "runtime_rerun": false, "authored_translation": "source-derived-structured-summary", "source_facts_revision": "af105fc8e960fc836a09fc2cd7f582b49fd17675d9d36631abe3a565bfd7d701"}, "facts_zh": [{"label": "\u914d\u7f6e", "value": "hungarian"}, {"label": "\u89e3\u6790\u5668", "value": "\u9ed8\u8ba4"}], "mappings": [{"token": "email", "sequence": "1", "dictionary": "simple"}, {"token": "url", "sequence": "1", "dictionary": "simple"}, {"token": "url_path", "sequence": "1", "dictionary": "simple"}, {"token": "host", "sequence": "1", "dictionary": "simple"}, {"token": "file", "sequence": "1", "dictionary": "simple"}, {"token": "version", "sequence": "1", "dictionary": "simple"}, {"token": "sfloat", "sequence": "1", "dictionary": "simple"}, {"token": "float", "sequence": "1", "dictionary": "simple"}, {"token": "int", "sequence": "1", "dictionary": "simple"}, {"token": "uint", "sequence": "1", "dictionary": "simple"}, {"token": "numword", "sequence": "1", "dictionary": "simple"}, {"token": "hword_numpart", "sequence": "1", "dictionary": "simple"}, {"token": "numhword", "sequence": "1", "dictionary": "simple"}, {"token": "asciiword", "sequence": "1", "dictionary": "hungarian_stem"}, {"token": "hword_asciipart", "sequence": "1", "dictionary": "hungarian_stem"}, {"token": "asciihword", "sequence": "1", "dictionary": "hungarian_stem"}, {"token": "word", "sequence": "1", "dictionary": "hungarian_stem"}, {"token": "hword_part", "sequence": "1", "dictionary": "hungarian_stem"}, {"token": "hword", "sequence": "1", "dictionary": "hungarian_stem"}], "sections": [{"code": "/*\n * text search configuration for hungarian language\n *\n * Copyright (c) 2007-2026, PostgreSQL Global Development Group\n *\n * src/backend/snowball/snowball.sql.in\n *\n * hungarian and certain other macros are replaced for each language;\n * see the Makefile for details.\n *\n * Note: this file is read in single-user -j mode, which means that the\n * command terminator is semicolon-newline-newline; whenever the backend\n * sees that, it stops and executes what it's got.  If you write a lot of\n * statements without empty lines between, they'll all get quoted to you\n * in any error message about one of them, so don't do that.  Also, you\n * cannot write a semicolon immediately followed by an empty line in a\n * string literal (including a function body!) or a multiline comment.\n */\n\nCREATE TEXT SEARCH DICTIONARY hungarian_stem\n\t(TEMPLATE = snowball, Language = hungarian , StopWords=hungarian);\n\nCOMMENT ON TEXT SEARCH DICTIONARY hungarian_stem IS 'snowball stemmer for hungarian language';\n\nCREATE TEXT SEARCH CONFIGURATION hungarian\n\t(PARSER = default);\n\nCOMMENT ON TEXT SEARCH CONFIGURATION hungarian IS 'configuration for hungarian language';\n\nALTER TEXT SEARCH CONFIGURATION hungarian ADD MAPPING\n\tFOR email, url, url_path, host, file, version,\n\t    sfloat, float, int, uint,\n\t    numword, hword_numpart, numhword\n\tWITH simple;\n\nALTER TEXT SEARCH CONFIGURATION hungarian ADD MAPPING\n    FOR asciiword, hword_asciipart, asciihword\n\tWITH hungarian_stem;\n\nALTER TEXT SEARCH CONFIGURATION hungarian ADD MAPPING\n    FOR word, hword_part, hword\n\tWITH hungarian_stem;", "title": "initdb \u751f\u6210\u7684\u5b9a\u4e49", "paragraphs": ["\u6839\u636e\u6b64\u7248\u672c\u7684 Snowball \u8bed\u8a00\u5217\u8868\u548c SQL \u6a21\u677f\u751f\u6210\u3002"]}], "center_zh": {"title": "hungarian", "locale": "zh-Hans", "source": {"key": "configuration-hungarian", "locale": "zh-Hans", "version": "19", "text_hash": "c857f8b0ce80c8dbfd7f8cac9c8c82c45223d013b12f10bfbafa5c846c7aa49f", "collection": "fts", "dataset_hash": "7c31b524dfe136022d39a6ae8dcfac6b3bbd5f8fdaf422536599981252aff0c9", "source_database": "center", "source_revision": "af105fc8e960fc836a09fc2cd7f582b49fd17675d9d36631abe3a565bfd7d701"}, "payload": {"facts": [{"label": "\u914d\u7f6e", "value": "hungarian"}, {"label": "\u89e3\u6790\u5668", "value": "\u9ed8\u8ba4"}], "tables": [{"key": "mappings", "rows": [{"token": "email", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-simple/?v=19", "text": "\u7b80\u5355"}}, {"token": "url", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-simple/?v=19", "text": "\u7b80\u5355"}}, {"token": "url_path", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-simple/?v=19", "text": "\u7b80\u5355"}}, {"token": "host", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-simple/?v=19", "text": "\u7b80\u5355"}}, {"token": "file", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-simple/?v=19", "text": "\u7b80\u5355"}}, {"token": "version", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-simple/?v=19", "text": "\u7b80\u5355"}}, {"token": "sfloat", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-simple/?v=19", "text": "\u7b80\u5355"}}, {"token": "float", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-simple/?v=19", "text": "\u7b80\u5355"}}, {"token": "int", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-simple/?v=19", "text": "\u7b80\u5355"}}, {"token": "uint", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-simple/?v=19", "text": "\u7b80\u5355"}}, {"token": "numword", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-simple/?v=19", "text": "\u7b80\u5355"}}, {"token": "hword_numpart", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-simple/?v=19", "text": "\u7b80\u5355"}}, {"token": "numhword", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-simple/?v=19", "text": "\u7b80\u5355"}}, {"token": "asciiword", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-hungarian_stem/?v=19", "text": "hungarian_stem"}}, {"token": "hword_asciipart", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-hungarian_stem/?v=19", "text": "hungarian_stem"}}, {"token": "asciihword", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-hungarian_stem/?v=19", "text": "hungarian_stem"}}, {"token": "word", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-hungarian_stem/?v=19", "text": "hungarian_stem"}}, {"token": "hword_part", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-hungarian_stem/?v=19", "text": "hungarian_stem"}}, {"token": "hword", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-hungarian_stem/?v=19", "text": "hungarian_stem"}}], "title": "\u8bcd\u5143\u5230\u8bcd\u5178\u7684\u6620\u5c04", "columns": [{"key": "token", "label": "\u8bcd\u5143\u7c7b\u578b"}, {"key": "sequence", "label": "\u987a\u5e8f"}, {"key": "dictionary", "label": "\u8bcd\u5178"}]}], "zh_from": {"kind": "same-version-chinese-manual-with-source-derived-structured-summary", "manual": {"url": "/zh/docs/19/textsearch-configuration.html", "anchor": "", "locale": "zh-Hans", "version": "19", "build_id": 109, "page_key": "textsearch-configuration.html", "extraction": "concept-introduction", "source_hash": "630a708ce00ab54385e0248f29481ff30ab2b841aaf1e9e0948667c5cdf9866d", "fragment_sha256": "864d4579bd06e52e50fb30e5580c9260d351e10a1bf6876bcdbc5d1f401d2f3b", "source_revision": "sha256:af105fc8e960fc836a09fc2cd7f582b49fd17675d9d36631abe3a565bfd7d701", "translation_revision": "git:b1b500221dbe5437cfca004d6b04d3f6e422765d;html-sha256:65fda1f1b62a89992b84014c9157e61b67dbe8190e93945826efec668fad038c", "translated_from_revision": "sha256:af105fc8e960fc836a09fc2cd7f582b49fd17675d9d36631abe3a565bfd7d701"}, "body_sha256": "bff3e1549c53cd0f91892ea4d9b181d5165e7ef2218c7b030cdd25c402f0018c", "runtime_rerun": false, "authored_translation": "source-derived-structured-summary", "source_facts_revision": "af105fc8e960fc836a09fc2cd7f582b49fd17675d9d36631abe3a565bfd7d701"}, "sections": [{"code": "/*\n * text search configuration for hungarian language\n *\n * Copyright (c) 2007-2026, PostgreSQL Global Development Group\n *\n * src/backend/snowball/snowball.sql.in\n *\n * hungarian and certain other macros are replaced for each language;\n * see the Makefile for details.\n *\n * Note: this file is read in single-user -j mode, which means that the\n * command terminator is semicolon-newline-newline; whenever the backend\n * sees that, it stops and executes what it's got.  If you write a lot of\n * statements without empty lines between, they'll all get quoted to you\n * in any error message about one of them, so don't do that.  Also, you\n * cannot write a semicolon immediately followed by an empty line in a\n * string literal (including a function body!) or a multiline comment.\n */\n\nCREATE TEXT SEARCH DICTIONARY hungarian_stem\n\t(TEMPLATE = snowball, Language = hungarian , StopWords=hungarian);\n\nCOMMENT ON TEXT SEARCH DICTIONARY hungarian_stem IS 'snowball stemmer for hungarian language';\n\nCREATE TEXT SEARCH CONFIGURATION hungarian\n\t(PARSER = default);\n\nCOMMENT ON TEXT SEARCH CONFIGURATION hungarian IS 'configuration for hungarian language';\n\nALTER TEXT SEARCH CONFIGURATION hungarian ADD MAPPING\n\tFOR email, url, url_path, host, file, version,\n\t    sfloat, float, int, uint,\n\t    numword, hword_numpart, numhword\n\tWITH simple;\n\nALTER TEXT SEARCH CONFIGURATION hungarian ADD MAPPING\n    FOR asciiword, hword_asciipart, asciihword\n\tWITH hungarian_stem;\n\nALTER TEXT SEARCH CONFIGURATION hungarian ADD MAPPING\n    FOR word, hword_part, hword\n\tWITH hungarian_stem;", "title": "initdb \u751f\u6210\u7684\u5b9a\u4e49", "paragraphs": ["\u6839\u636e\u6b64\u7248\u672c\u7684 Snowball \u8bed\u8a00\u5217\u8868\u548c SQL \u6a21\u677f\u751f\u6210\u3002"]}], "description_zh": "\u5168\u6587\u641c\u7d22\u914d\u7f6e hungarian\u3002", "description_zh_html": "<p>\u5168\u6587\u641c\u7d22\u914d\u7f6e hungarian\u3002</p><dl><dt>\u89e3\u6790\u5668</dt><dd><code>default</code></dd><dt>\u914d\u7f6e</dt><dd><code>hungarian</code></dd></dl><h3>\u8bcd\u5143\u4e0e\u8bcd\u5178\u6620\u5c04</h3><table><tr><th>\u8bcd\u5143\u7c7b\u578b</th><th>\u987a\u5e8f</th><th>\u8bcd\u5178</th></tr><tr><td><code>email</code></td><td><code>1</code></td><td><code>simple</code></td></tr><tr><td><code>url</code></td><td><code>1</code></td><td><code>simple</code></td></tr><tr><td><code>url_path</code></td><td><code>1</code></td><td><code>simple</code></td></tr><tr><td><code>host</code></td><td><code>1</code></td><td><code>simple</code></td></tr><tr><td><code>file</code></td><td><code>1</code></td><td><code>simple</code></td></tr><tr><td><code>version</code></td><td><code>1</code></td><td><code>simple</code></td></tr><tr><td><code>sfloat</code></td><td><code>1</code></td><td><code>simple</code></td></tr><tr><td><code>float</code></td><td><code>1</code></td><td><code>simple</code></td></tr><tr><td><code>int</code></td><td><code>1</code></td><td><code>simple</code></td></tr><tr><td><code>uint</code></td><td><code>1</code></td><td><code>simple</code></td></tr><tr><td><code>numword</code></td><td><code>1</code></td><td><code>simple</code></td></tr><tr><td><code>hword_numpart</code></td><td><code>1</code></td><td><code>simple</code></td></tr><tr><td><code>numhword</code></td><td><code>1</code></td><td><code>simple</code></td></tr><tr><td><code>asciiword</code></td><td><code>1</code></td><td><code>hungarian_stem</code></td></tr><tr><td><code>hword_asciipart</code></td><td><code>1</code></td><td><code>hungarian_stem</code></td></tr><tr><td><code>asciihword</code></td><td><code>1</code></td><td><code>hungarian_stem</code></td></tr><tr><td><code>word</code></td><td><code>1</code></td><td><code>hungarian_stem</code></td></tr><tr><td><code>hword_part</code></td><td><code>1</code></td><td><code>hungarian_stem</code></td></tr><tr><td><code>hword</code></td><td><code>1</code></td><td><code>hungarian_stem</code></td></tr></table><h3>\u540c\u7248\u672c\u4e2d\u6587\u624b\u518c\u8282\u9009</h3><p>\n    \u4e00\u4e2a\u6587\u672c\u68c0\u7d22\u914d\u7f6e\u6307\u5b9a\u4e86\u5c06\u4e00\u4e2a\u6587\u6863\u8f6c\u6362\u6210\u4e00\u4e2a <code class=\"type\">tsvector</code> \u6240\u9700\u7684\u6240\u6709\u9009\u9879\uff1a\u7528\u4e8e\u628a\u6587\u672c\u5206\u89e3\u6210\u8bcd\u5143\u7684\u89e3\u6790\u5668\uff0c\u4ee5\u53ca\u7528\u4e8e\u5c06\u6bcf\u4e00\u4e2a\u8bcd\u5143\u8f6c\u6362\u6210\u8bcd\u4f4d\u7684\u8bcd\u5178\u3002\u6bcf\u4e00\u6b21 <code class=\"function\">to_tsvector</code> \u6216 <code class=\"function\">to_tsquery</code> \u7684\u8c03\u7528\u90fd\u9700\u8981\u4e00\u4e2a\u6587\u672c\u68c0\u7d22\u914d\u7f6e\u6765\u6267\u884c\u5176\u5904\u7406\u3002\u914d\u7f6e\u53c2\u6570 <a class=\"xref\" href=\"/zh/docs/19/runtime-config-client.html#GUC-DEFAULT-TEXT-SEARCH-CONFIG\">default_text_search_config</a> \u6307\u5b9a\u4e86\u9ed8\u8ba4\u914d\u7f6e\u7684\u540d\u79f0\uff0c\u5982\u679c\u7701\u7565\u4e86\u663e\u5f0f\u7684\u914d\u7f6e\u53c2\u6570\uff0c\u6587\u672c\u68c0\u7d22\u51fd\u6570\u5c06\u4f1a\u4f7f\u7528\u5b83\u3002\u5b83\u53ef\u4ee5\u5728 <code class=\"filename\">postgresql.conf</code> \u4e2d\u8bbe\u7f6e\uff0c\u6216\u8005\u4f7f\u7528 <code class=\"command\">SET</code> \u547d\u4ee4\u4e3a\u4e00\u4e2a\u5355\u72ec\u7684\u4f1a\u8bdd\u8bbe\u7f6e\u3002\n   </p><p>\n    \u6709\u4e00\u4e9b\u9884\u5b9a\u4e49\u7684\u6587\u672c\u68c0\u7d22\u914d\u7f6e\u53ef\u7528\uff0c\u5e76\u4e14\u4f60\u53ef\u4ee5\u5bb9\u6613\u5730\u521b\u5efa\u81ea\u5b9a\u4e49\u7684\u914d\u7f6e\u3002\u4e3a\u4e86\u4fbf\u4e8e\u7ba1\u7406\u6587\u672c\u68c0\u7d22\u5bf9\u8c61\uff0c\u53ef\u4ee5\u4f7f\u7528\u4e00\u7ec4 <acronym class=\"acronym\">SQL</acronym> \u547d\u4ee4\uff0c\u5e76\u4e14\u6709\u591a\u4e2a <span class=\"application\">psql</span> \u547d\u4ee4\u53ef\u4ee5\u663e\u793a\u6709\u5173\u6587\u672c\u68c0\u7d22\u5bf9\u8c61\uff08<a class=\"xref\" href=\"/zh/docs/19/textsearch-psql.html\">\u7b2c\u00a012.10\u00a0\u8282</a>\uff09\u7684\u4fe1\u606f\u3002\n   </p><p>\n    \u4f5c\u4e3a\u4e00\u4e2a\u793a\u4f8b\uff0c\u6211\u4eec\u5c06\u521b\u5efa\u4e00\u4e2a\u914d\u7f6e <code class=\"literal\">pg</code>\uff0c\u4ece\u590d\u5236\u5185\u7f6e\u7684 <code class=\"literal\">english</code> \u914d\u7f6e\u5f00\u59cb\uff1a\n\n</p><p>\n    \u6211\u4eec\u5c06\u4f7f\u7528\u4e00\u4e2a PostgreSQL \u76f8\u5173\u7684\u540c\u4e49\u8bcd\u5217\u8868\uff0c\u5e76\u5c06\u5b83\u5b58\u50a8\u5728 <code class=\"filename\">$SHAREDIR/tsearch_data/pg_dict.syn</code> \u4e2d\u3002\u6587\u4ef6\u5185\u5bb9\u770b\u8d77\u6765\u50cf\uff1a\n\n</p><p><a href=\"/zh/docs/19/textsearch-configuration.html\">\u67e5\u770b\u5b8c\u6574\u4e2d\u6587\u624b\u518c\u4e0e\u4e0a\u4e0b\u6587</a>\u3002</p>"}, "summary": "\u5168\u6587\u641c\u7d22\u914d\u7f6e hungarian\u3002", "version": "19", "link_map": {"/zh/docs/19/textsearch-psql.html": "/docs/19/textsearch-psql.html", "/zh/docs/19/textsearch-configuration.html": "/docs/19/textsearch-configuration.html", "/zh/docs/19/runtime-config-client.html#GUC-DEFAULT-TEXT-SEARCH-CONFIG": "/docs/19/runtime-config-client.html#GUC-DEFAULT-TEXT-SEARCH-CONFIG"}, "body_html": "<p>\u5168\u6587\u641c\u7d22\u914d\u7f6e hungarian\u3002</p><dl><dt>\u89e3\u6790\u5668</dt><dd><code>default</code></dd><dt>\u914d\u7f6e</dt><dd><code>hungarian</code></dd></dl><h3>\u8bcd\u5143\u4e0e\u8bcd\u5178\u6620\u5c04</h3><table><tr><th>\u8bcd\u5143\u7c7b\u578b</th><th>\u987a\u5e8f</th><th>\u8bcd\u5178</th></tr><tr><td><code>email</code></td><td><code>1</code></td><td><code>simple</code></td></tr><tr><td><code>url</code></td><td><code>1</code></td><td><code>simple</code></td></tr><tr><td><code>url_path</code></td><td><code>1</code></td><td><code>simple</code></td></tr><tr><td><code>host</code></td><td><code>1</code></td><td><code>simple</code></td></tr><tr><td><code>file</code></td><td><code>1</code></td><td><code>simple</code></td></tr><tr><td><code>version</code></td><td><code>1</code></td><td><code>simple</code></td></tr><tr><td><code>sfloat</code></td><td><code>1</code></td><td><code>simple</code></td></tr><tr><td><code>float</code></td><td><code>1</code></td><td><code>simple</code></td></tr><tr><td><code>int</code></td><td><code>1</code></td><td><code>simple</code></td></tr><tr><td><code>uint</code></td><td><code>1</code></td><td><code>simple</code></td></tr><tr><td><code>numword</code></td><td><code>1</code></td><td><code>simple</code></td></tr><tr><td><code>hword_numpart</code></td><td><code>1</code></td><td><code>simple</code></td></tr><tr><td><code>numhword</code></td><td><code>1</code></td><td><code>simple</code></td></tr><tr><td><code>asciiword</code></td><td><code>1</code></td><td><code>hungarian_stem</code></td></tr><tr><td><code>hword_asciipart</code></td><td><code>1</code></td><td><code>hungarian_stem</code></td></tr><tr><td><code>asciihword</code></td><td><code>1</code></td><td><code>hungarian_stem</code></td></tr><tr><td><code>word</code></td><td><code>1</code></td><td><code>hungarian_stem</code></td></tr><tr><td><code>hword_part</code></td><td><code>1</code></td><td><code>hungarian_stem</code></td></tr><tr><td><code>hword</code></td><td><code>1</code></td><td><code>hungarian_stem</code></td></tr></table><h3>\u540c\u7248\u672c\u4e2d\u6587\u624b\u518c\u8282\u9009</h3><p>\n    \u4e00\u4e2a\u6587\u672c\u68c0\u7d22\u914d\u7f6e\u6307\u5b9a\u4e86\u5c06\u4e00\u4e2a\u6587\u6863\u8f6c\u6362\u6210\u4e00\u4e2a <code>tsvector</code> \u6240\u9700\u7684\u6240\u6709\u9009\u9879\uff1a\u7528\u4e8e\u628a\u6587\u672c\u5206\u89e3\u6210\u8bcd\u5143\u7684\u89e3\u6790\u5668\uff0c\u4ee5\u53ca\u7528\u4e8e\u5c06\u6bcf\u4e00\u4e2a\u8bcd\u5143\u8f6c\u6362\u6210\u8bcd\u4f4d\u7684\u8bcd\u5178\u3002\u6bcf\u4e00\u6b21 <code>to_tsvector</code> \u6216 <code>to_tsquery</code> \u7684\u8c03\u7528\u90fd\u9700\u8981\u4e00\u4e2a\u6587\u672c\u68c0\u7d22\u914d\u7f6e\u6765\u6267\u884c\u5176\u5904\u7406\u3002\u914d\u7f6e\u53c2\u6570 <a href=\"/zh/docs/19/runtime-config-client.html#GUC-DEFAULT-TEXT-SEARCH-CONFIG\" rel=\"nofollow\">default_text_search_config</a> \u6307\u5b9a\u4e86\u9ed8\u8ba4\u914d\u7f6e\u7684\u540d\u79f0\uff0c\u5982\u679c\u7701\u7565\u4e86\u663e\u5f0f\u7684\u914d\u7f6e\u53c2\u6570\uff0c\u6587\u672c\u68c0\u7d22\u51fd\u6570\u5c06\u4f1a\u4f7f\u7528\u5b83\u3002\u5b83\u53ef\u4ee5\u5728 <code>postgresql.conf</code> \u4e2d\u8bbe\u7f6e\uff0c\u6216\u8005\u4f7f\u7528 <code>SET</code> \u547d\u4ee4\u4e3a\u4e00\u4e2a\u5355\u72ec\u7684\u4f1a\u8bdd\u8bbe\u7f6e\u3002\n   </p><p>\n    \u6709\u4e00\u4e9b\u9884\u5b9a\u4e49\u7684\u6587\u672c\u68c0\u7d22\u914d\u7f6e\u53ef\u7528\uff0c\u5e76\u4e14\u4f60\u53ef\u4ee5\u5bb9\u6613\u5730\u521b\u5efa\u81ea\u5b9a\u4e49\u7684\u914d\u7f6e\u3002\u4e3a\u4e86\u4fbf\u4e8e\u7ba1\u7406\u6587\u672c\u68c0\u7d22\u5bf9\u8c61\uff0c\u53ef\u4ee5\u4f7f\u7528\u4e00\u7ec4 <acronym>SQL</acronym> \u547d\u4ee4\uff0c\u5e76\u4e14\u6709\u591a\u4e2a <span>psql</span> \u547d\u4ee4\u53ef\u4ee5\u663e\u793a\u6709\u5173\u6587\u672c\u68c0\u7d22\u5bf9\u8c61\uff08<a href=\"/zh/docs/19/textsearch-psql.html\" rel=\"nofollow\">\u7b2c\u00a012.10\u00a0\u8282</a>\uff09\u7684\u4fe1\u606f\u3002\n   </p><p>\n    \u4f5c\u4e3a\u4e00\u4e2a\u793a\u4f8b\uff0c\u6211\u4eec\u5c06\u521b\u5efa\u4e00\u4e2a\u914d\u7f6e <code>pg</code>\uff0c\u4ece\u590d\u5236\u5185\u7f6e\u7684 <code>english</code> \u914d\u7f6e\u5f00\u59cb\uff1a\n\n</p><p>\n    \u6211\u4eec\u5c06\u4f7f\u7528\u4e00\u4e2a PostgreSQL \u76f8\u5173\u7684\u540c\u4e49\u8bcd\u5217\u8868\uff0c\u5e76\u5c06\u5b83\u5b58\u50a8\u5728 <code>$SHAREDIR/tsearch_data/pg_dict.syn</code> \u4e2d\u3002\u6587\u4ef6\u5185\u5bb9\u770b\u8d77\u6765\u50cf\uff1a\n\n</p><p><a href=\"/zh/docs/19/textsearch-configuration.html\" rel=\"nofollow\">\u67e5\u770b\u5b8c\u6574\u4e2d\u6587\u624b\u518c\u4e0e\u4e0a\u4e0b\u6587</a>\u3002</p>", "body_sha256": "5f04d7378c05fd16fecca8fb89c58341fdeacf6bb4e0eaab9ccca7b61534128b", "content_hash": "c857f8b0ce80c8dbfd7f8cac9c8c82c45223d013b12f10bfbafa5c846c7aa49f", "source_database": "center", "source_revision": "af105fc8e960fc836a09fc2cd7f582b49fd17675d9d36631abe3a565bfd7d701"}, "signature": "", "tables_zh": [{"key": "mappings", "rows": [{"token": "email", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-simple/?v=19", "text": "\u7b80\u5355"}}, {"token": "url", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-simple/?v=19", "text": "\u7b80\u5355"}}, {"token": "url_path", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-simple/?v=19", "text": "\u7b80\u5355"}}, {"token": "host", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-simple/?v=19", "text": "\u7b80\u5355"}}, {"token": "file", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-simple/?v=19", "text": "\u7b80\u5355"}}, {"token": "version", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-simple/?v=19", "text": "\u7b80\u5355"}}, {"token": "sfloat", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-simple/?v=19", "text": "\u7b80\u5355"}}, {"token": "float", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-simple/?v=19", "text": "\u7b80\u5355"}}, {"token": "int", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-simple/?v=19", "text": "\u7b80\u5355"}}, {"token": "uint", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-simple/?v=19", "text": "\u7b80\u5355"}}, {"token": "numword", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-simple/?v=19", "text": "\u7b80\u5355"}}, {"token": "hword_numpart", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-simple/?v=19", "text": "\u7b80\u5355"}}, {"token": "numhword", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-simple/?v=19", "text": "\u7b80\u5355"}}, {"token": "asciiword", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-hungarian_stem/?v=19", "text": "hungarian_stem"}}, {"token": "hword_asciipart", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-hungarian_stem/?v=19", "text": "hungarian_stem"}}, {"token": "asciihword", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-hungarian_stem/?v=19", "text": "hungarian_stem"}}, {"token": "word", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-hungarian_stem/?v=19", "text": "hungarian_stem"}}, {"token": "hword_part", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-hungarian_stem/?v=19", "text": "hungarian_stem"}}, {"token": "hword", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-hungarian_stem/?v=19", "text": "hungarian_stem"}}], "title": "\u8bcd\u5143\u5230\u8bcd\u5178\u7684\u6620\u5c04", "columns": [{"key": "token", "label": "\u8bcd\u5143\u7c7b\u578b"}, {"key": "sequence", "label": "\u987a\u5e8f"}, {"key": "dictionary", "label": "\u8bcd\u5178"}]}], "attributes": {"parser": "default", "configuration": "hungarian"}, "description": ["\u5168\u6587\u641c\u7d22\u914d\u7f6e hungarian\u3002"], "manual_html": "", "manual_path": "/docs/19/textsearch-configuration.html", "sections_zh": [{"code": "/*\n * text search configuration for hungarian language\n *\n * Copyright (c) 2007-2026, PostgreSQL Global Development Group\n *\n * src/backend/snowball/snowball.sql.in\n *\n * hungarian and certain other macros are replaced for each language;\n * see the Makefile for details.\n *\n * Note: this file is read in single-user -j mode, which means that the\n * command terminator is semicolon-newline-newline; whenever the backend\n * sees that, it stops and executes what it's got.  If you write a lot of\n * statements without empty lines between, they'll all get quoted to you\n * in any error message about one of them, so don't do that.  Also, you\n * cannot write a semicolon immediately followed by an empty line in a\n * string literal (including a function body!) or a multiline comment.\n */\n\nCREATE TEXT SEARCH DICTIONARY hungarian_stem\n\t(TEMPLATE = snowball, Language = hungarian , StopWords=hungarian);\n\nCOMMENT ON TEXT SEARCH DICTIONARY hungarian_stem IS 'snowball stemmer for hungarian language';\n\nCREATE TEXT SEARCH CONFIGURATION hungarian\n\t(PARSER = default);\n\nCOMMENT ON TEXT SEARCH CONFIGURATION hungarian IS 'configuration for hungarian language';\n\nALTER TEXT SEARCH CONFIGURATION hungarian ADD MAPPING\n\tFOR email, url, url_path, host, file, version,\n\t    sfloat, float, int, uint,\n\t    numword, hword_numpart, numhword\n\tWITH simple;\n\nALTER TEXT SEARCH CONFIGURATION hungarian ADD MAPPING\n    FOR asciiword, hword_asciipart, asciihword\n\tWITH hungarian_stem;\n\nALTER TEXT SEARCH CONFIGURATION hungarian ADD MAPPING\n    FOR word, hword_part, hword\n\tWITH hungarian_stem;", "title": "initdb \u751f\u6210\u7684\u5b9a\u4e49", "paragraphs": ["\u6839\u636e\u6b64\u7248\u672c\u7684 Snowball \u8bed\u8a00\u5217\u8868\u548c SQL \u6a21\u677f\u751f\u6210\u3002"]}], "localization": {"status": "complete", "sources": [{"url": "/docs/19/catalog-pg-amproc.html", "method": "same-major semantic node", "sha256": "2f3186b0cb3f1b6cdfb964d581bdf7719277157a11db7b3a207830efc10fcf6c", "language": "zh", "matched_nodes": ["#CATALOG-PG-AMPROC/p[5]/span[2]/span[0]"]}, {"url": "/docs/19/textsearch-configuration.html", "method": "same-major semantic node", "sha256": "71a0d298d5d8dd1314e07bb887fa3959b09cb79e6628fa1a71e94eb0ed9ca37f", "language": "zh", "matched_nodes": ["#TEXTSEARCH-CONFIGURATION/div[0]", "#TEXTSEARCH-CONFIGURATION/p[11]", "#TEXTSEARCH-CONFIGURATION/p[13]", "#TEXTSEARCH-CONFIGURATION/p[15]", "#TEXTSEARCH-CONFIGURATION/p[17]", "#TEXTSEARCH-CONFIGURATION/p[1]", "#TEXTSEARCH-CONFIGURATION/p[2]", "#TEXTSEARCH-CONFIGURATION/p[3]", "#TEXTSEARCH-CONFIGURATION/p[5]", "#TEXTSEARCH-CONFIGURATION/p[7]", "#TEXTSEARCH-CONFIGURATION/p[9]"]}, {"url": "/docs/19/using-explain.html", "method": "same-major semantic node", "sha256": "7cc78f59bf29afb1811ece53e9d5c572a3f634d66d7422fb8761f19bc6811492", "language": "zh", "matched_nodes": ["#USING-EXPLAIN/div[7]/p[24]/span[0]/span[0]"]}], "language": "zh", "original_text": {"/versions/19/description/0": "Text search configuration hungarian.", "/versions/19/facts/0/label": "Configuration", "/versions/19/facts/1/label": "Parser", "/versions/19/facts/1/value": "default", "/versions/19/tables/0/title": "Token-to-dictionary mappings", "/versions/19/related/0/label": "default parser", "/versions/19/sections/0/title": "Generated initdb definition", "/versions/19/sections/0/paragraphs/0": "Generated from this release\u2019s Snowball language list and SQL template.", "/versions/19/tables/0/columns/0/label": "Token type", "/versions/19/tables/0/columns/1/label": "Order", "/versions/19/tables/0/columns/2/label": "Dictionary", "/versions/19/tables/0/rows/0/dictionary/text": "simple", "/versions/19/tables/0/rows/1/dictionary/text": "simple", "/versions/19/tables/0/rows/2/dictionary/text": "simple", "/versions/19/tables/0/rows/3/dictionary/text": "simple", "/versions/19/tables/0/rows/4/dictionary/text": "simple", "/versions/19/tables/0/rows/5/dictionary/text": "simple", "/versions/19/tables/0/rows/6/dictionary/text": "simple", "/versions/19/tables/0/rows/7/dictionary/text": "simple", "/versions/19/tables/0/rows/8/dictionary/text": "simple", "/versions/19/tables/0/rows/9/dictionary/text": "simple", "/versions/19/tables/0/rows/10/dictionary/text": "simple", "/versions/19/tables/0/rows/11/dictionary/text": "simple", "/versions/19/tables/0/rows/12/dictionary/text": "simple"}, "fallback_fields": [], "source_language": "en", "original_snapshot_sha256": "8dcc8a3dbe8bc39b1f629f059bc650a7a70e2b42a9fcbd3bab69207e1c4625df", "canonical_center_text_hash": "c857f8b0ce80c8dbfd7f8cac9c8c82c45223d013b12f10bfbafa5c846c7aa49f"}, "description_zh": "\u5168\u6587\u641c\u7d22\u914d\u7f6e hungarian\u3002", "comparison_data": {"parser": "default", "mappings": [{"token": "asciihword", "sequence": "1", "dictionary": "hungarian_stem"}, {"token": "asciiword", "sequence": "1", "dictionary": "hungarian_stem"}, {"token": "email", "sequence": "1", "dictionary": "simple"}, {"token": "file", "sequence": "1", "dictionary": "simple"}, {"token": "float", "sequence": "1", "dictionary": "simple"}, {"token": "host", "sequence": "1", "dictionary": "simple"}, {"token": "hword", "sequence": "1", "dictionary": "hungarian_stem"}, {"token": "hword_asciipart", "sequence": "1", "dictionary": "hungarian_stem"}, {"token": "hword_numpart", "sequence": "1", "dictionary": "simple"}, {"token": "hword_part", "sequence": "1", "dictionary": "hungarian_stem"}, {"token": "int", "sequence": "1", "dictionary": "simple"}, {"token": "numhword", "sequence": "1", "dictionary": "simple"}, {"token": "numword", "sequence": "1", "dictionary": "simple"}, {"token": "sfloat", "sequence": "1", "dictionary": "simple"}, {"token": "uint", "sequence": "1", "dictionary": "simple"}, {"token": "url", "sequence": "1", "dictionary": "simple"}, {"token": "url_path", "sequence": "1", "dictionary": "simple"}, {"token": "version", "sequence": "1", "dictionary": "simple"}, {"token": "word", "sequence": "1", "dictionary": "hungarian_stem"}]}, "comparison_hash": "4b14c26ff2f416b9bc0128f68a56146e71b77907078eeac0cbd0dfaf2af246dd", "manual_language": "zh", "description_zh_html": "<p>\u5168\u6587\u641c\u7d22\u914d\u7f6e hungarian\u3002</p><dl><dt>\u89e3\u6790\u5668</dt><dd><code>default</code></dd><dt>\u914d\u7f6e</dt><dd><code>hungarian</code></dd></dl><h3>\u8bcd\u5143\u4e0e\u8bcd\u5178\u6620\u5c04</h3><table><tr><th>\u8bcd\u5143\u7c7b\u578b</th><th>\u987a\u5e8f</th><th>\u8bcd\u5178</th></tr><tr><td><code>email</code></td><td><code>1</code></td><td><code>simple</code></td></tr><tr><td><code>url</code></td><td><code>1</code></td><td><code>simple</code></td></tr><tr><td><code>url_path</code></td><td><code>1</code></td><td><code>simple</code></td></tr><tr><td><code>host</code></td><td><code>1</code></td><td><code>simple</code></td></tr><tr><td><code>file</code></td><td><code>1</code></td><td><code>simple</code></td></tr><tr><td><code>version</code></td><td><code>1</code></td><td><code>simple</code></td></tr><tr><td><code>sfloat</code></td><td><code>1</code></td><td><code>simple</code></td></tr><tr><td><code>float</code></td><td><code>1</code></td><td><code>simple</code></td></tr><tr><td><code>int</code></td><td><code>1</code></td><td><code>simple</code></td></tr><tr><td><code>uint</code></td><td><code>1</code></td><td><code>simple</code></td></tr><tr><td><code>numword</code></td><td><code>1</code></td><td><code>simple</code></td></tr><tr><td><code>hword_numpart</code></td><td><code>1</code></td><td><code>simple</code></td></tr><tr><td><code>numhword</code></td><td><code>1</code></td><td><code>simple</code></td></tr><tr><td><code>asciiword</code></td><td><code>1</code></td><td><code>hungarian_stem</code></td></tr><tr><td><code>hword_asciipart</code></td><td><code>1</code></td><td><code>hungarian_stem</code></td></tr><tr><td><code>asciihword</code></td><td><code>1</code></td><td><code>hungarian_stem</code></td></tr><tr><td><code>word</code></td><td><code>1</code></td><td><code>hungarian_stem</code></td></tr><tr><td><code>hword_part</code></td><td><code>1</code></td><td><code>hungarian_stem</code></td></tr><tr><td><code>hword</code></td><td><code>1</code></td><td><code>hungarian_stem</code></td></tr></table><h3>\u540c\u7248\u672c\u4e2d\u6587\u624b\u518c\u8282\u9009</h3><p>\n    \u4e00\u4e2a\u6587\u672c\u68c0\u7d22\u914d\u7f6e\u6307\u5b9a\u4e86\u5c06\u4e00\u4e2a\u6587\u6863\u8f6c\u6362\u6210\u4e00\u4e2a <code>tsvector</code> \u6240\u9700\u7684\u6240\u6709\u9009\u9879\uff1a\u7528\u4e8e\u628a\u6587\u672c\u5206\u89e3\u6210\u8bcd\u5143\u7684\u89e3\u6790\u5668\uff0c\u4ee5\u53ca\u7528\u4e8e\u5c06\u6bcf\u4e00\u4e2a\u8bcd\u5143\u8f6c\u6362\u6210\u8bcd\u4f4d\u7684\u8bcd\u5178\u3002\u6bcf\u4e00\u6b21 <code>to_tsvector</code> \u6216 <code>to_tsquery</code> \u7684\u8c03\u7528\u90fd\u9700\u8981\u4e00\u4e2a\u6587\u672c\u68c0\u7d22\u914d\u7f6e\u6765\u6267\u884c\u5176\u5904\u7406\u3002\u914d\u7f6e\u53c2\u6570 <a href=\"/zh/docs/19/runtime-config-client.html#GUC-DEFAULT-TEXT-SEARCH-CONFIG\" rel=\"nofollow\">default_text_search_config</a> \u6307\u5b9a\u4e86\u9ed8\u8ba4\u914d\u7f6e\u7684\u540d\u79f0\uff0c\u5982\u679c\u7701\u7565\u4e86\u663e\u5f0f\u7684\u914d\u7f6e\u53c2\u6570\uff0c\u6587\u672c\u68c0\u7d22\u51fd\u6570\u5c06\u4f1a\u4f7f\u7528\u5b83\u3002\u5b83\u53ef\u4ee5\u5728 <code>postgresql.conf</code> \u4e2d\u8bbe\u7f6e\uff0c\u6216\u8005\u4f7f\u7528 <code>SET</code> \u547d\u4ee4\u4e3a\u4e00\u4e2a\u5355\u72ec\u7684\u4f1a\u8bdd\u8bbe\u7f6e\u3002\n   </p><p>\n    \u6709\u4e00\u4e9b\u9884\u5b9a\u4e49\u7684\u6587\u672c\u68c0\u7d22\u914d\u7f6e\u53ef\u7528\uff0c\u5e76\u4e14\u4f60\u53ef\u4ee5\u5bb9\u6613\u5730\u521b\u5efa\u81ea\u5b9a\u4e49\u7684\u914d\u7f6e\u3002\u4e3a\u4e86\u4fbf\u4e8e\u7ba1\u7406\u6587\u672c\u68c0\u7d22\u5bf9\u8c61\uff0c\u53ef\u4ee5\u4f7f\u7528\u4e00\u7ec4 <acronym>SQL</acronym> \u547d\u4ee4\uff0c\u5e76\u4e14\u6709\u591a\u4e2a <span>psql</span> \u547d\u4ee4\u53ef\u4ee5\u663e\u793a\u6709\u5173\u6587\u672c\u68c0\u7d22\u5bf9\u8c61\uff08<a href=\"/zh/docs/19/textsearch-psql.html\" rel=\"nofollow\">\u7b2c\u00a012.10\u00a0\u8282</a>\uff09\u7684\u4fe1\u606f\u3002\n   </p><p>\n    \u4f5c\u4e3a\u4e00\u4e2a\u793a\u4f8b\uff0c\u6211\u4eec\u5c06\u521b\u5efa\u4e00\u4e2a\u914d\u7f6e <code>pg</code>\uff0c\u4ece\u590d\u5236\u5185\u7f6e\u7684 <code>english</code> \u914d\u7f6e\u5f00\u59cb\uff1a\n\n</p><p>\n    \u6211\u4eec\u5c06\u4f7f\u7528\u4e00\u4e2a PostgreSQL \u76f8\u5173\u7684\u540c\u4e49\u8bcd\u5217\u8868\uff0c\u5e76\u5c06\u5b83\u5b58\u50a8\u5728 <code>$SHAREDIR/tsearch_data/pg_dict.syn</code> \u4e2d\u3002\u6587\u4ef6\u5185\u5bb9\u770b\u8d77\u6765\u50cf\uff1a\n\n</p><p><a href=\"/zh/docs/19/textsearch-configuration.html\" rel=\"nofollow\">\u67e5\u770b\u5b8c\u6574\u4e2d\u6587\u624b\u518c\u4e0e\u4e0a\u4e0b\u6587</a>\u3002</p>", "source_revalidation": {"kind": "static-same-version-source-and-manual-replay", "audit": "wiki-audit-20261023", "runtime_rerun": false, "compared_fields": "entity membership and source-derived facts; presentation markup normalized", "source_revision": "af105fc8e960fc836a09fc2cd7f582b49fd17675d9d36631abe3a565bfd7d701", "previous_source_revision": "83157ee9c599d03b2f7a3d73ef3a56ec24e0e79cc2b3501a64d1364f56398c86"}}, "20": {"facts": [{"label": "\u914d\u7f6e", "value": "hungarian"}, {"label": "\u89e3\u6790\u5668", "value": "\u9ed8\u8ba4"}], "tables": [{"key": "mappings", "rows": [{"token": "email", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-simple/?v=20", "text": "\u7b80\u5355"}}, {"token": "url", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-simple/?v=20", "text": "\u7b80\u5355"}}, {"token": "url_path", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-simple/?v=20", "text": "\u7b80\u5355"}}, {"token": "host", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-simple/?v=20", "text": "\u7b80\u5355"}}, {"token": "file", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-simple/?v=20", "text": "\u7b80\u5355"}}, {"token": "version", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-simple/?v=20", "text": "\u7b80\u5355"}}, {"token": "sfloat", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-simple/?v=20", "text": "\u7b80\u5355"}}, {"token": "float", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-simple/?v=20", "text": "\u7b80\u5355"}}, {"token": "int", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-simple/?v=20", "text": "\u7b80\u5355"}}, {"token": "uint", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-simple/?v=20", "text": "\u7b80\u5355"}}, {"token": "numword", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-simple/?v=20", "text": "\u7b80\u5355"}}, {"token": "hword_numpart", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-simple/?v=20", "text": "\u7b80\u5355"}}, {"token": "numhword", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-simple/?v=20", "text": "\u7b80\u5355"}}, {"token": "asciiword", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-hungarian_stem/?v=20", "text": "hungarian_stem"}}, {"token": "hword_asciipart", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-hungarian_stem/?v=20", "text": "hungarian_stem"}}, {"token": "asciihword", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-hungarian_stem/?v=20", "text": "hungarian_stem"}}, {"token": "word", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-hungarian_stem/?v=20", "text": "hungarian_stem"}}, {"token": "hword_part", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-hungarian_stem/?v=20", "text": "hungarian_stem"}}, {"token": "hword", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-hungarian_stem/?v=20", "text": "hungarian_stem"}}], "title": "\u8bcd\u5143\u5230\u8bcd\u5178\u7684\u6620\u5c04", "columns": [{"key": "token", "label": "\u8bcd\u5143\u7c7b\u578b"}, {"key": "sequence", "label": "\u987a\u5e8f"}, {"key": "dictionary", "label": "\u8bcd\u5178"}]}], "aliases": [], "related": [{"url": "/wiki/fts/parser-default/?v=20", "label": "\u9ed8\u8ba4\u89e3\u6790\u5668"}], "release": {"ref": "https://ftp.postgresql.org/pub/snapshot/dev/postgresql-snapshot.tar.bz2", "label": "20devel", "major": "20", "channel": "devel", "revision": "49c73aa4c9cacef8ca979276a28ac416c08e9e54c9baee4ae5fd116a35fa13ac", "source_sha256": "49c73aa4c9cacef8ca979276a28ac416c08e9e54c9baee4ae5fd116a35fa13ac", "catalog_fingerprint": "1ae459dc2ba59b6e0a27d5cbeebb27c417dd0be8ddf853fb0c1e533d4e449c9a"}, "sources": [{"url": "https://ftp.postgresql.org/pub/snapshot/dev/postgresql-snapshot.tar.bz2", "label": "Matching PostgreSQL source archive", "sha256": "49c73aa4c9cacef8ca979276a28ac416c08e9e54c9baee4ae5fd116a35fa13ac"}, {"url": "/docs/devel/textsearch-configuration.html", "path": "textsearch-configuration.html", "label": "PostgreSQL 20 English manual", "sha256": "4fa8ec6834d25f6aeb55f2986accf619dde76143b6960094d4edcdcf5dc0add9"}], "zh_from": {"kind": "same-version-chinese-manual-with-source-derived-structured-summary", "manual": {"url": "/zh/docs/devel/textsearch-configuration.html", "anchor": "", "locale": "zh-Hans", "version": "20", "build_id": 111, "page_key": "textsearch-configuration.html", "extraction": "concept-introduction", "source_hash": "69835bae1bffbe5d7e8cf1b8a0a79c535daaf73f96808b9a67b0e3e948d46b8a", "fragment_sha256": "47f299acb78a4343f6eef44616775154e0c86704a75c076b4ca3edadcf816a66", "source_revision": "sha256:49c73aa4c9cacef8ca979276a28ac416c08e9e54c9baee4ae5fd116a35fa13ac", "translation_revision": "git:b1b500221dbe5437cfca004d6b04d3f6e422765d;html-sha256:98c980963b401d40bd50df72b909e7523e3148b8fdb48edd897de2efb67e5235", "translated_from_revision": "sha256:49c73aa4c9cacef8ca979276a28ac416c08e9e54c9baee4ae5fd116a35fa13ac"}, "body_sha256": "6dd90ec28a87cfaa2c7663d941ba064467d18e4dd241b8fa03b54a12f49c9d8d", "runtime_rerun": false, "authored_translation": "source-derived-structured-summary", "source_facts_revision": "49c73aa4c9cacef8ca979276a28ac416c08e9e54c9baee4ae5fd116a35fa13ac"}, "facts_zh": [{"label": "\u914d\u7f6e", "value": "hungarian"}, {"label": "\u89e3\u6790\u5668", "value": "\u9ed8\u8ba4"}], "mappings": [{"token": "email", "sequence": "1", "dictionary": "simple"}, {"token": "url", "sequence": "1", "dictionary": "simple"}, {"token": "url_path", "sequence": "1", "dictionary": "simple"}, {"token": "host", "sequence": "1", "dictionary": "simple"}, {"token": "file", "sequence": "1", "dictionary": "simple"}, {"token": "version", "sequence": "1", "dictionary": "simple"}, {"token": "sfloat", "sequence": "1", "dictionary": "simple"}, {"token": "float", "sequence": "1", "dictionary": "simple"}, {"token": "int", "sequence": "1", "dictionary": "simple"}, {"token": "uint", "sequence": "1", "dictionary": "simple"}, {"token": "numword", "sequence": "1", "dictionary": "simple"}, {"token": "hword_numpart", "sequence": "1", "dictionary": "simple"}, {"token": "numhword", "sequence": "1", "dictionary": "simple"}, {"token": "asciiword", "sequence": "1", "dictionary": "hungarian_stem"}, {"token": "hword_asciipart", "sequence": "1", "dictionary": "hungarian_stem"}, {"token": "asciihword", "sequence": "1", "dictionary": "hungarian_stem"}, {"token": "word", "sequence": "1", "dictionary": "hungarian_stem"}, {"token": "hword_part", "sequence": "1", "dictionary": "hungarian_stem"}, {"token": "hword", "sequence": "1", "dictionary": "hungarian_stem"}], "sections": [{"code": "/*\n * text search configuration for hungarian language\n *\n * Copyright (c) 2007-2026, PostgreSQL Global Development Group\n *\n * src/backend/snowball/snowball.sql.in\n *\n * hungarian and certain other macros are replaced for each language;\n * see the Makefile for details.\n *\n * Note: this file is read in single-user -j mode, which means that the\n * command terminator is semicolon-newline-newline; whenever the backend\n * sees that, it stops and executes what it's got.  If you write a lot of\n * statements without empty lines between, they'll all get quoted to you\n * in any error message about one of them, so don't do that.  Also, you\n * cannot write a semicolon immediately followed by an empty line in a\n * string literal (including a function body!) or a multiline comment.\n */\n\nCREATE TEXT SEARCH DICTIONARY hungarian_stem\n\t(TEMPLATE = snowball, Language = hungarian , StopWords=hungarian);\n\nCOMMENT ON TEXT SEARCH DICTIONARY hungarian_stem IS 'snowball stemmer for hungarian language';\n\nCREATE TEXT SEARCH CONFIGURATION hungarian\n\t(PARSER = default);\n\nCOMMENT ON TEXT SEARCH CONFIGURATION hungarian IS 'configuration for hungarian language';\n\nALTER TEXT SEARCH CONFIGURATION hungarian ADD MAPPING\n\tFOR email, url, url_path, host, file, version,\n\t    sfloat, float, int, uint,\n\t    numword, hword_numpart, numhword\n\tWITH simple;\n\nALTER TEXT SEARCH CONFIGURATION hungarian ADD MAPPING\n    FOR asciiword, hword_asciipart, asciihword\n\tWITH hungarian_stem;\n\nALTER TEXT SEARCH CONFIGURATION hungarian ADD MAPPING\n    FOR word, hword_part, hword\n\tWITH hungarian_stem;", "title": "initdb \u751f\u6210\u7684\u5b9a\u4e49", "paragraphs": ["\u6839\u636e\u6b64\u7248\u672c\u7684 Snowball \u8bed\u8a00\u5217\u8868\u548c SQL \u6a21\u677f\u751f\u6210\u3002"]}], "center_zh": {"title": "hungarian", "locale": "zh-Hans", "source": {"key": "configuration-hungarian", "locale": "zh-Hans", "version": "20", "text_hash": "450b317e0f608b0588b7a0fbf52a36d9f34ce09510a34eb7bd43bfe3e6c68f74", "collection": "fts", "dataset_hash": "7c31b524dfe136022d39a6ae8dcfac6b3bbd5f8fdaf422536599981252aff0c9", "source_database": "center", "source_revision": "49c73aa4c9cacef8ca979276a28ac416c08e9e54c9baee4ae5fd116a35fa13ac"}, "payload": {"facts": [{"label": "\u914d\u7f6e", "value": "hungarian"}, {"label": "\u89e3\u6790\u5668", "value": "\u9ed8\u8ba4"}], "tables": [{"key": "mappings", "rows": [{"token": "email", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-simple/?v=20", "text": "\u7b80\u5355"}}, {"token": "url", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-simple/?v=20", "text": "\u7b80\u5355"}}, {"token": "url_path", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-simple/?v=20", "text": "\u7b80\u5355"}}, {"token": "host", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-simple/?v=20", "text": "\u7b80\u5355"}}, {"token": "file", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-simple/?v=20", "text": "\u7b80\u5355"}}, {"token": "version", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-simple/?v=20", "text": "\u7b80\u5355"}}, {"token": "sfloat", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-simple/?v=20", "text": "\u7b80\u5355"}}, {"token": "float", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-simple/?v=20", "text": "\u7b80\u5355"}}, {"token": "int", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-simple/?v=20", "text": "\u7b80\u5355"}}, {"token": "uint", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-simple/?v=20", "text": "\u7b80\u5355"}}, {"token": "numword", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-simple/?v=20", "text": "\u7b80\u5355"}}, {"token": "hword_numpart", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-simple/?v=20", "text": "\u7b80\u5355"}}, {"token": "numhword", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-simple/?v=20", "text": "\u7b80\u5355"}}, {"token": "asciiword", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-hungarian_stem/?v=20", "text": "hungarian_stem"}}, {"token": "hword_asciipart", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-hungarian_stem/?v=20", "text": "hungarian_stem"}}, {"token": "asciihword", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-hungarian_stem/?v=20", "text": "hungarian_stem"}}, {"token": "word", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-hungarian_stem/?v=20", "text": "hungarian_stem"}}, {"token": "hword_part", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-hungarian_stem/?v=20", "text": "hungarian_stem"}}, {"token": "hword", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-hungarian_stem/?v=20", "text": "hungarian_stem"}}], "title": "\u8bcd\u5143\u5230\u8bcd\u5178\u7684\u6620\u5c04", "columns": [{"key": "token", "label": "\u8bcd\u5143\u7c7b\u578b"}, {"key": "sequence", "label": "\u987a\u5e8f"}, {"key": "dictionary", "label": "\u8bcd\u5178"}]}], "zh_from": {"kind": "same-version-chinese-manual-with-source-derived-structured-summary", "manual": {"url": "/zh/docs/devel/textsearch-configuration.html", "anchor": "", "locale": "zh-Hans", "version": "20", "build_id": 111, "page_key": "textsearch-configuration.html", "extraction": "concept-introduction", "source_hash": "69835bae1bffbe5d7e8cf1b8a0a79c535daaf73f96808b9a67b0e3e948d46b8a", "fragment_sha256": "47f299acb78a4343f6eef44616775154e0c86704a75c076b4ca3edadcf816a66", "source_revision": "sha256:49c73aa4c9cacef8ca979276a28ac416c08e9e54c9baee4ae5fd116a35fa13ac", "translation_revision": "git:b1b500221dbe5437cfca004d6b04d3f6e422765d;html-sha256:98c980963b401d40bd50df72b909e7523e3148b8fdb48edd897de2efb67e5235", "translated_from_revision": "sha256:49c73aa4c9cacef8ca979276a28ac416c08e9e54c9baee4ae5fd116a35fa13ac"}, "body_sha256": "6dd90ec28a87cfaa2c7663d941ba064467d18e4dd241b8fa03b54a12f49c9d8d", "runtime_rerun": false, "authored_translation": "source-derived-structured-summary", "source_facts_revision": "49c73aa4c9cacef8ca979276a28ac416c08e9e54c9baee4ae5fd116a35fa13ac"}, "sections": [{"code": "/*\n * text search configuration for hungarian language\n *\n * Copyright (c) 2007-2026, PostgreSQL Global Development Group\n *\n * src/backend/snowball/snowball.sql.in\n *\n * hungarian and certain other macros are replaced for each language;\n * see the Makefile for details.\n *\n * Note: this file is read in single-user -j mode, which means that the\n * command terminator is semicolon-newline-newline; whenever the backend\n * sees that, it stops and executes what it's got.  If you write a lot of\n * statements without empty lines between, they'll all get quoted to you\n * in any error message about one of them, so don't do that.  Also, you\n * cannot write a semicolon immediately followed by an empty line in a\n * string literal (including a function body!) or a multiline comment.\n */\n\nCREATE TEXT SEARCH DICTIONARY hungarian_stem\n\t(TEMPLATE = snowball, Language = hungarian , StopWords=hungarian);\n\nCOMMENT ON TEXT SEARCH DICTIONARY hungarian_stem IS 'snowball stemmer for hungarian language';\n\nCREATE TEXT SEARCH CONFIGURATION hungarian\n\t(PARSER = default);\n\nCOMMENT ON TEXT SEARCH CONFIGURATION hungarian IS 'configuration for hungarian language';\n\nALTER TEXT SEARCH CONFIGURATION hungarian ADD MAPPING\n\tFOR email, url, url_path, host, file, version,\n\t    sfloat, float, int, uint,\n\t    numword, hword_numpart, numhword\n\tWITH simple;\n\nALTER TEXT SEARCH CONFIGURATION hungarian ADD MAPPING\n    FOR asciiword, hword_asciipart, asciihword\n\tWITH hungarian_stem;\n\nALTER TEXT SEARCH CONFIGURATION hungarian ADD MAPPING\n    FOR word, hword_part, hword\n\tWITH hungarian_stem;", "title": "initdb \u751f\u6210\u7684\u5b9a\u4e49", "paragraphs": ["\u6839\u636e\u6b64\u7248\u672c\u7684 Snowball \u8bed\u8a00\u5217\u8868\u548c SQL \u6a21\u677f\u751f\u6210\u3002"]}], "description_zh": "\u5168\u6587\u641c\u7d22\u914d\u7f6e hungarian\u3002", "description_zh_html": "<p>\u5168\u6587\u641c\u7d22\u914d\u7f6e hungarian\u3002</p><dl><dt>\u89e3\u6790\u5668</dt><dd><code>default</code></dd><dt>\u914d\u7f6e</dt><dd><code>hungarian</code></dd></dl><h3>\u8bcd\u5143\u4e0e\u8bcd\u5178\u6620\u5c04</h3><table><tr><th>\u8bcd\u5143\u7c7b\u578b</th><th>\u987a\u5e8f</th><th>\u8bcd\u5178</th></tr><tr><td><code>email</code></td><td><code>1</code></td><td><code>simple</code></td></tr><tr><td><code>url</code></td><td><code>1</code></td><td><code>simple</code></td></tr><tr><td><code>url_path</code></td><td><code>1</code></td><td><code>simple</code></td></tr><tr><td><code>host</code></td><td><code>1</code></td><td><code>simple</code></td></tr><tr><td><code>file</code></td><td><code>1</code></td><td><code>simple</code></td></tr><tr><td><code>version</code></td><td><code>1</code></td><td><code>simple</code></td></tr><tr><td><code>sfloat</code></td><td><code>1</code></td><td><code>simple</code></td></tr><tr><td><code>float</code></td><td><code>1</code></td><td><code>simple</code></td></tr><tr><td><code>int</code></td><td><code>1</code></td><td><code>simple</code></td></tr><tr><td><code>uint</code></td><td><code>1</code></td><td><code>simple</code></td></tr><tr><td><code>numword</code></td><td><code>1</code></td><td><code>simple</code></td></tr><tr><td><code>hword_numpart</code></td><td><code>1</code></td><td><code>simple</code></td></tr><tr><td><code>numhword</code></td><td><code>1</code></td><td><code>simple</code></td></tr><tr><td><code>asciiword</code></td><td><code>1</code></td><td><code>hungarian_stem</code></td></tr><tr><td><code>hword_asciipart</code></td><td><code>1</code></td><td><code>hungarian_stem</code></td></tr><tr><td><code>asciihword</code></td><td><code>1</code></td><td><code>hungarian_stem</code></td></tr><tr><td><code>word</code></td><td><code>1</code></td><td><code>hungarian_stem</code></td></tr><tr><td><code>hword_part</code></td><td><code>1</code></td><td><code>hungarian_stem</code></td></tr><tr><td><code>hword</code></td><td><code>1</code></td><td><code>hungarian_stem</code></td></tr></table><h3>\u540c\u7248\u672c\u4e2d\u6587\u624b\u518c\u8282\u9009</h3><p>\n    \u4e00\u4e2a\u6587\u672c\u68c0\u7d22\u914d\u7f6e\u6307\u5b9a\u4e86\u5c06\u4e00\u4e2a\u6587\u6863\u8f6c\u6362\u6210\u4e00\u4e2a <code class=\"type\">tsvector</code> \u6240\u9700\u7684\u6240\u6709\u9009\u9879\uff1a\u7528\u4e8e\u628a\u6587\u672c\u5206\u89e3\u6210\u8bcd\u5143\u7684\u89e3\u6790\u5668\uff0c\u4ee5\u53ca\u7528\u4e8e\u5c06\u6bcf\u4e00\u4e2a\u8bcd\u5143\u8f6c\u6362\u6210\u8bcd\u4f4d\u7684\u8bcd\u5178\u3002\u6bcf\u4e00\u6b21 <code class=\"function\">to_tsvector</code> \u6216 <code class=\"function\">to_tsquery</code> \u7684\u8c03\u7528\u90fd\u9700\u8981\u4e00\u4e2a\u6587\u672c\u68c0\u7d22\u914d\u7f6e\u6765\u6267\u884c\u5176\u5904\u7406\u3002\u914d\u7f6e\u53c2\u6570 <a class=\"xref\" href=\"/zh/docs/devel/runtime-config-client.html#GUC-DEFAULT-TEXT-SEARCH-CONFIG\">default_text_search_config</a> \u6307\u5b9a\u4e86\u9ed8\u8ba4\u914d\u7f6e\u7684\u540d\u79f0\uff0c\u5982\u679c\u7701\u7565\u4e86\u663e\u5f0f\u7684\u914d\u7f6e\u53c2\u6570\uff0c\u6587\u672c\u68c0\u7d22\u51fd\u6570\u5c06\u4f1a\u4f7f\u7528\u5b83\u3002\u5b83\u53ef\u4ee5\u5728 <code class=\"filename\">postgresql.conf</code> \u4e2d\u8bbe\u7f6e\uff0c\u6216\u8005\u4f7f\u7528 <code class=\"command\">SET</code> \u547d\u4ee4\u4e3a\u4e00\u4e2a\u5355\u72ec\u7684\u4f1a\u8bdd\u8bbe\u7f6e\u3002\n   </p><p>\n    \u6709\u4e00\u4e9b\u9884\u5b9a\u4e49\u7684\u6587\u672c\u68c0\u7d22\u914d\u7f6e\u53ef\u7528\uff0c\u5e76\u4e14\u4f60\u53ef\u4ee5\u5bb9\u6613\u5730\u521b\u5efa\u81ea\u5b9a\u4e49\u7684\u914d\u7f6e\u3002\u4e3a\u4e86\u4fbf\u4e8e\u7ba1\u7406\u6587\u672c\u68c0\u7d22\u5bf9\u8c61\uff0c\u53ef\u4ee5\u4f7f\u7528\u4e00\u7ec4 <acronym class=\"acronym\">SQL</acronym> \u547d\u4ee4\uff0c\u5e76\u4e14\u6709\u591a\u4e2a <span class=\"application\">psql</span> \u547d\u4ee4\u53ef\u4ee5\u663e\u793a\u6709\u5173\u6587\u672c\u68c0\u7d22\u5bf9\u8c61\uff08<a class=\"xref\" href=\"/zh/docs/devel/textsearch-psql.html\">\u7b2c\u00a012.10\u00a0\u8282</a>\uff09\u7684\u4fe1\u606f\u3002\n   </p><p>\n    \u4f5c\u4e3a\u4e00\u4e2a\u793a\u4f8b\uff0c\u6211\u4eec\u5c06\u521b\u5efa\u4e00\u4e2a\u914d\u7f6e <code class=\"literal\">pg</code>\uff0c\u4ece\u590d\u5236\u5185\u7f6e\u7684 <code class=\"literal\">english</code> \u914d\u7f6e\u5f00\u59cb\uff1a\n\n</p><p>\n    \u6211\u4eec\u5c06\u4f7f\u7528\u4e00\u4e2a PostgreSQL \u76f8\u5173\u7684\u540c\u4e49\u8bcd\u5217\u8868\uff0c\u5e76\u5c06\u5b83\u5b58\u50a8\u5728 <code class=\"filename\">$SHAREDIR/tsearch_data/pg_dict.syn</code> \u4e2d\u3002\u6587\u4ef6\u5185\u5bb9\u770b\u8d77\u6765\u50cf\uff1a\n\n</p><p><a href=\"/zh/docs/devel/textsearch-configuration.html\">\u67e5\u770b\u5b8c\u6574\u4e2d\u6587\u624b\u518c\u4e0e\u4e0a\u4e0b\u6587</a>\u3002</p>"}, "summary": "\u5168\u6587\u641c\u7d22\u914d\u7f6e hungarian\u3002", "version": "20", "link_map": {"/zh/docs/devel/textsearch-psql.html": "/docs/devel/textsearch-psql.html", "/zh/docs/devel/textsearch-configuration.html": "/docs/devel/textsearch-configuration.html", "/zh/docs/devel/runtime-config-client.html#GUC-DEFAULT-TEXT-SEARCH-CONFIG": "/docs/devel/runtime-config-client.html#GUC-DEFAULT-TEXT-SEARCH-CONFIG"}, "body_html": "<p>\u5168\u6587\u641c\u7d22\u914d\u7f6e hungarian\u3002</p><dl><dt>\u89e3\u6790\u5668</dt><dd><code>default</code></dd><dt>\u914d\u7f6e</dt><dd><code>hungarian</code></dd></dl><h3>\u8bcd\u5143\u4e0e\u8bcd\u5178\u6620\u5c04</h3><table><tr><th>\u8bcd\u5143\u7c7b\u578b</th><th>\u987a\u5e8f</th><th>\u8bcd\u5178</th></tr><tr><td><code>email</code></td><td><code>1</code></td><td><code>simple</code></td></tr><tr><td><code>url</code></td><td><code>1</code></td><td><code>simple</code></td></tr><tr><td><code>url_path</code></td><td><code>1</code></td><td><code>simple</code></td></tr><tr><td><code>host</code></td><td><code>1</code></td><td><code>simple</code></td></tr><tr><td><code>file</code></td><td><code>1</code></td><td><code>simple</code></td></tr><tr><td><code>version</code></td><td><code>1</code></td><td><code>simple</code></td></tr><tr><td><code>sfloat</code></td><td><code>1</code></td><td><code>simple</code></td></tr><tr><td><code>float</code></td><td><code>1</code></td><td><code>simple</code></td></tr><tr><td><code>int</code></td><td><code>1</code></td><td><code>simple</code></td></tr><tr><td><code>uint</code></td><td><code>1</code></td><td><code>simple</code></td></tr><tr><td><code>numword</code></td><td><code>1</code></td><td><code>simple</code></td></tr><tr><td><code>hword_numpart</code></td><td><code>1</code></td><td><code>simple</code></td></tr><tr><td><code>numhword</code></td><td><code>1</code></td><td><code>simple</code></td></tr><tr><td><code>asciiword</code></td><td><code>1</code></td><td><code>hungarian_stem</code></td></tr><tr><td><code>hword_asciipart</code></td><td><code>1</code></td><td><code>hungarian_stem</code></td></tr><tr><td><code>asciihword</code></td><td><code>1</code></td><td><code>hungarian_stem</code></td></tr><tr><td><code>word</code></td><td><code>1</code></td><td><code>hungarian_stem</code></td></tr><tr><td><code>hword_part</code></td><td><code>1</code></td><td><code>hungarian_stem</code></td></tr><tr><td><code>hword</code></td><td><code>1</code></td><td><code>hungarian_stem</code></td></tr></table><h3>\u540c\u7248\u672c\u4e2d\u6587\u624b\u518c\u8282\u9009</h3><p>\n    \u4e00\u4e2a\u6587\u672c\u68c0\u7d22\u914d\u7f6e\u6307\u5b9a\u4e86\u5c06\u4e00\u4e2a\u6587\u6863\u8f6c\u6362\u6210\u4e00\u4e2a <code>tsvector</code> \u6240\u9700\u7684\u6240\u6709\u9009\u9879\uff1a\u7528\u4e8e\u628a\u6587\u672c\u5206\u89e3\u6210\u8bcd\u5143\u7684\u89e3\u6790\u5668\uff0c\u4ee5\u53ca\u7528\u4e8e\u5c06\u6bcf\u4e00\u4e2a\u8bcd\u5143\u8f6c\u6362\u6210\u8bcd\u4f4d\u7684\u8bcd\u5178\u3002\u6bcf\u4e00\u6b21 <code>to_tsvector</code> \u6216 <code>to_tsquery</code> \u7684\u8c03\u7528\u90fd\u9700\u8981\u4e00\u4e2a\u6587\u672c\u68c0\u7d22\u914d\u7f6e\u6765\u6267\u884c\u5176\u5904\u7406\u3002\u914d\u7f6e\u53c2\u6570 <a href=\"/zh/docs/devel/runtime-config-client.html#GUC-DEFAULT-TEXT-SEARCH-CONFIG\" rel=\"nofollow\">default_text_search_config</a> \u6307\u5b9a\u4e86\u9ed8\u8ba4\u914d\u7f6e\u7684\u540d\u79f0\uff0c\u5982\u679c\u7701\u7565\u4e86\u663e\u5f0f\u7684\u914d\u7f6e\u53c2\u6570\uff0c\u6587\u672c\u68c0\u7d22\u51fd\u6570\u5c06\u4f1a\u4f7f\u7528\u5b83\u3002\u5b83\u53ef\u4ee5\u5728 <code>postgresql.conf</code> \u4e2d\u8bbe\u7f6e\uff0c\u6216\u8005\u4f7f\u7528 <code>SET</code> \u547d\u4ee4\u4e3a\u4e00\u4e2a\u5355\u72ec\u7684\u4f1a\u8bdd\u8bbe\u7f6e\u3002\n   </p><p>\n    \u6709\u4e00\u4e9b\u9884\u5b9a\u4e49\u7684\u6587\u672c\u68c0\u7d22\u914d\u7f6e\u53ef\u7528\uff0c\u5e76\u4e14\u4f60\u53ef\u4ee5\u5bb9\u6613\u5730\u521b\u5efa\u81ea\u5b9a\u4e49\u7684\u914d\u7f6e\u3002\u4e3a\u4e86\u4fbf\u4e8e\u7ba1\u7406\u6587\u672c\u68c0\u7d22\u5bf9\u8c61\uff0c\u53ef\u4ee5\u4f7f\u7528\u4e00\u7ec4 <acronym>SQL</acronym> \u547d\u4ee4\uff0c\u5e76\u4e14\u6709\u591a\u4e2a <span>psql</span> \u547d\u4ee4\u53ef\u4ee5\u663e\u793a\u6709\u5173\u6587\u672c\u68c0\u7d22\u5bf9\u8c61\uff08<a href=\"/zh/docs/devel/textsearch-psql.html\" rel=\"nofollow\">\u7b2c\u00a012.10\u00a0\u8282</a>\uff09\u7684\u4fe1\u606f\u3002\n   </p><p>\n    \u4f5c\u4e3a\u4e00\u4e2a\u793a\u4f8b\uff0c\u6211\u4eec\u5c06\u521b\u5efa\u4e00\u4e2a\u914d\u7f6e <code>pg</code>\uff0c\u4ece\u590d\u5236\u5185\u7f6e\u7684 <code>english</code> \u914d\u7f6e\u5f00\u59cb\uff1a\n\n</p><p>\n    \u6211\u4eec\u5c06\u4f7f\u7528\u4e00\u4e2a PostgreSQL \u76f8\u5173\u7684\u540c\u4e49\u8bcd\u5217\u8868\uff0c\u5e76\u5c06\u5b83\u5b58\u50a8\u5728 <code>$SHAREDIR/tsearch_data/pg_dict.syn</code> \u4e2d\u3002\u6587\u4ef6\u5185\u5bb9\u770b\u8d77\u6765\u50cf\uff1a\n\n</p><p><a href=\"/zh/docs/devel/textsearch-configuration.html\" rel=\"nofollow\">\u67e5\u770b\u5b8c\u6574\u4e2d\u6587\u624b\u518c\u4e0e\u4e0a\u4e0b\u6587</a>\u3002</p>", "body_sha256": "93750e1e0c1f4b3867c769313dfe973938408c751d6fd9d4bfe4fd1eb3c600e2", "content_hash": "450b317e0f608b0588b7a0fbf52a36d9f34ce09510a34eb7bd43bfe3e6c68f74", "source_database": "center", "source_revision": "49c73aa4c9cacef8ca979276a28ac416c08e9e54c9baee4ae5fd116a35fa13ac"}, "signature": "", "tables_zh": [{"key": "mappings", "rows": [{"token": "email", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-simple/?v=20", "text": "\u7b80\u5355"}}, {"token": "url", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-simple/?v=20", "text": "\u7b80\u5355"}}, {"token": "url_path", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-simple/?v=20", "text": "\u7b80\u5355"}}, {"token": "host", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-simple/?v=20", "text": "\u7b80\u5355"}}, {"token": "file", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-simple/?v=20", "text": "\u7b80\u5355"}}, {"token": "version", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-simple/?v=20", "text": "\u7b80\u5355"}}, {"token": "sfloat", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-simple/?v=20", "text": "\u7b80\u5355"}}, {"token": "float", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-simple/?v=20", "text": "\u7b80\u5355"}}, {"token": "int", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-simple/?v=20", "text": "\u7b80\u5355"}}, {"token": "uint", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-simple/?v=20", "text": "\u7b80\u5355"}}, {"token": "numword", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-simple/?v=20", "text": "\u7b80\u5355"}}, {"token": "hword_numpart", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-simple/?v=20", "text": "\u7b80\u5355"}}, {"token": "numhword", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-simple/?v=20", "text": "\u7b80\u5355"}}, {"token": "asciiword", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-hungarian_stem/?v=20", "text": "hungarian_stem"}}, {"token": "hword_asciipart", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-hungarian_stem/?v=20", "text": "hungarian_stem"}}, {"token": "asciihword", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-hungarian_stem/?v=20", "text": "hungarian_stem"}}, {"token": "word", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-hungarian_stem/?v=20", "text": "hungarian_stem"}}, {"token": "hword_part", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-hungarian_stem/?v=20", "text": "hungarian_stem"}}, {"token": "hword", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-hungarian_stem/?v=20", "text": "hungarian_stem"}}], "title": "\u8bcd\u5143\u5230\u8bcd\u5178\u7684\u6620\u5c04", "columns": [{"key": "token", "label": "\u8bcd\u5143\u7c7b\u578b"}, {"key": "sequence", "label": "\u987a\u5e8f"}, {"key": "dictionary", "label": "\u8bcd\u5178"}]}], "attributes": {"parser": "default", "configuration": "hungarian"}, "description": ["\u5168\u6587\u641c\u7d22\u914d\u7f6e hungarian\u3002"], "manual_html": "", "manual_path": "/docs/devel/textsearch-configuration.html", "sections_zh": [{"code": "/*\n * text search configuration for hungarian language\n *\n * Copyright (c) 2007-2026, PostgreSQL Global Development Group\n *\n * src/backend/snowball/snowball.sql.in\n *\n * hungarian and certain other macros are replaced for each language;\n * see the Makefile for details.\n *\n * Note: this file is read in single-user -j mode, which means that the\n * command terminator is semicolon-newline-newline; whenever the backend\n * sees that, it stops and executes what it's got.  If you write a lot of\n * statements without empty lines between, they'll all get quoted to you\n * in any error message about one of them, so don't do that.  Also, you\n * cannot write a semicolon immediately followed by an empty line in a\n * string literal (including a function body!) or a multiline comment.\n */\n\nCREATE TEXT SEARCH DICTIONARY hungarian_stem\n\t(TEMPLATE = snowball, Language = hungarian , StopWords=hungarian);\n\nCOMMENT ON TEXT SEARCH DICTIONARY hungarian_stem IS 'snowball stemmer for hungarian language';\n\nCREATE TEXT SEARCH CONFIGURATION hungarian\n\t(PARSER = default);\n\nCOMMENT ON TEXT SEARCH CONFIGURATION hungarian IS 'configuration for hungarian language';\n\nALTER TEXT SEARCH CONFIGURATION hungarian ADD MAPPING\n\tFOR email, url, url_path, host, file, version,\n\t    sfloat, float, int, uint,\n\t    numword, hword_numpart, numhword\n\tWITH simple;\n\nALTER TEXT SEARCH CONFIGURATION hungarian ADD MAPPING\n    FOR asciiword, hword_asciipart, asciihword\n\tWITH hungarian_stem;\n\nALTER TEXT SEARCH CONFIGURATION hungarian ADD MAPPING\n    FOR word, hword_part, hword\n\tWITH hungarian_stem;", "title": "initdb \u751f\u6210\u7684\u5b9a\u4e49", "paragraphs": ["\u6839\u636e\u6b64\u7248\u672c\u7684 Snowball \u8bed\u8a00\u5217\u8868\u548c SQL \u6a21\u677f\u751f\u6210\u3002"]}], "localization": {"status": "complete", "sources": [{"url": "/docs/devel/catalog-pg-amproc.html", "method": "same-major semantic node", "sha256": "adca05c5ff2b94562e292f0b81459187e8a41a57ab5781a5f22d721ec40aaa6c", "language": "zh", "matched_nodes": ["#CATALOG-PG-AMPROC/p[5]/span[2]/span[0]"]}, {"url": "/docs/devel/textsearch-configuration.html", "method": "same-major semantic node", "sha256": "2528f707db4fbcbc63f279bceed743d15cc5599564e8882ddee1f19869cc3c3b", "language": "zh", "matched_nodes": ["#TEXTSEARCH-CONFIGURATION/div[0]", "#TEXTSEARCH-CONFIGURATION/p[11]", "#TEXTSEARCH-CONFIGURATION/p[13]", "#TEXTSEARCH-CONFIGURATION/p[15]", "#TEXTSEARCH-CONFIGURATION/p[17]", "#TEXTSEARCH-CONFIGURATION/p[1]", "#TEXTSEARCH-CONFIGURATION/p[2]", "#TEXTSEARCH-CONFIGURATION/p[3]", "#TEXTSEARCH-CONFIGURATION/p[5]", "#TEXTSEARCH-CONFIGURATION/p[7]", "#TEXTSEARCH-CONFIGURATION/p[9]"]}, {"url": "/docs/devel/using-explain.html", "method": "same-major semantic node", "sha256": "2744ee0e88d132c504bf5e102765edaabd393eb12c59294093db6d90b26dd65c", "language": "zh", "matched_nodes": ["#USING-EXPLAIN/div[7]/p[24]/span[0]/span[0]"]}], "language": "zh", "original_text": {"/summary": "Text search configuration hungarian.", "/category": "Configurations", "/versions/20/description/0": "Text search configuration hungarian.", "/versions/20/facts/0/label": "Configuration", "/versions/20/facts/1/label": "Parser", "/versions/20/facts/1/value": "default", "/versions/20/tables/0/title": "Token-to-dictionary mappings", "/versions/20/related/0/label": "default parser", "/versions/20/sections/0/title": "Generated initdb definition", "/versions/20/sections/0/paragraphs/0": "Generated from this release\u2019s Snowball language list and SQL template.", "/versions/20/tables/0/columns/0/label": "Token type", "/versions/20/tables/0/columns/1/label": "Order", "/versions/20/tables/0/columns/2/label": "Dictionary", "/versions/20/tables/0/rows/0/dictionary/text": "simple", "/versions/20/tables/0/rows/1/dictionary/text": "simple", "/versions/20/tables/0/rows/2/dictionary/text": "simple", "/versions/20/tables/0/rows/3/dictionary/text": "simple", "/versions/20/tables/0/rows/4/dictionary/text": "simple", "/versions/20/tables/0/rows/5/dictionary/text": "simple", "/versions/20/tables/0/rows/6/dictionary/text": "simple", "/versions/20/tables/0/rows/7/dictionary/text": "simple", "/versions/20/tables/0/rows/8/dictionary/text": "simple", "/versions/20/tables/0/rows/9/dictionary/text": "simple", "/versions/20/tables/0/rows/10/dictionary/text": "simple", "/versions/20/tables/0/rows/11/dictionary/text": "simple", "/versions/20/tables/0/rows/12/dictionary/text": "simple"}, "fallback_fields": [], "source_language": "en", "original_snapshot_sha256": "b83d258a782d9c602976b3466ef56d086f65634309bce2424a206e6e52ba75da", "canonical_center_text_hash": "450b317e0f608b0588b7a0fbf52a36d9f34ce09510a34eb7bd43bfe3e6c68f74"}, "description_zh": "\u5168\u6587\u641c\u7d22\u914d\u7f6e hungarian\u3002", "comparison_data": {"parser": "default", "mappings": [{"token": "asciihword", "sequence": "1", "dictionary": "hungarian_stem"}, {"token": "asciiword", "sequence": "1", "dictionary": "hungarian_stem"}, {"token": "email", "sequence": "1", "dictionary": "simple"}, {"token": "file", "sequence": "1", "dictionary": "simple"}, {"token": "float", "sequence": "1", "dictionary": "simple"}, {"token": "host", "sequence": "1", "dictionary": "simple"}, {"token": "hword", "sequence": "1", "dictionary": "hungarian_stem"}, {"token": "hword_asciipart", "sequence": "1", "dictionary": "hungarian_stem"}, {"token": "hword_numpart", "sequence": "1", "dictionary": "simple"}, {"token": "hword_part", "sequence": "1", "dictionary": "hungarian_stem"}, {"token": "int", "sequence": "1", "dictionary": "simple"}, {"token": "numhword", "sequence": "1", "dictionary": "simple"}, {"token": "numword", "sequence": "1", "dictionary": "simple"}, {"token": "sfloat", "sequence": "1", "dictionary": "simple"}, {"token": "uint", "sequence": "1", "dictionary": "simple"}, {"token": "url", "sequence": "1", "dictionary": "simple"}, {"token": "url_path", "sequence": "1", "dictionary": "simple"}, {"token": "version", "sequence": "1", "dictionary": "simple"}, {"token": "word", "sequence": "1", "dictionary": "hungarian_stem"}]}, "comparison_hash": "4b14c26ff2f416b9bc0128f68a56146e71b77907078eeac0cbd0dfaf2af246dd", "manual_language": "zh", "description_zh_html": "<p>\u5168\u6587\u641c\u7d22\u914d\u7f6e hungarian\u3002</p><dl><dt>\u89e3\u6790\u5668</dt><dd><code>default</code></dd><dt>\u914d\u7f6e</dt><dd><code>hungarian</code></dd></dl><h3>\u8bcd\u5143\u4e0e\u8bcd\u5178\u6620\u5c04</h3><table><tr><th>\u8bcd\u5143\u7c7b\u578b</th><th>\u987a\u5e8f</th><th>\u8bcd\u5178</th></tr><tr><td><code>email</code></td><td><code>1</code></td><td><code>simple</code></td></tr><tr><td><code>url</code></td><td><code>1</code></td><td><code>simple</code></td></tr><tr><td><code>url_path</code></td><td><code>1</code></td><td><code>simple</code></td></tr><tr><td><code>host</code></td><td><code>1</code></td><td><code>simple</code></td></tr><tr><td><code>file</code></td><td><code>1</code></td><td><code>simple</code></td></tr><tr><td><code>version</code></td><td><code>1</code></td><td><code>simple</code></td></tr><tr><td><code>sfloat</code></td><td><code>1</code></td><td><code>simple</code></td></tr><tr><td><code>float</code></td><td><code>1</code></td><td><code>simple</code></td></tr><tr><td><code>int</code></td><td><code>1</code></td><td><code>simple</code></td></tr><tr><td><code>uint</code></td><td><code>1</code></td><td><code>simple</code></td></tr><tr><td><code>numword</code></td><td><code>1</code></td><td><code>simple</code></td></tr><tr><td><code>hword_numpart</code></td><td><code>1</code></td><td><code>simple</code></td></tr><tr><td><code>numhword</code></td><td><code>1</code></td><td><code>simple</code></td></tr><tr><td><code>asciiword</code></td><td><code>1</code></td><td><code>hungarian_stem</code></td></tr><tr><td><code>hword_asciipart</code></td><td><code>1</code></td><td><code>hungarian_stem</code></td></tr><tr><td><code>asciihword</code></td><td><code>1</code></td><td><code>hungarian_stem</code></td></tr><tr><td><code>word</code></td><td><code>1</code></td><td><code>hungarian_stem</code></td></tr><tr><td><code>hword_part</code></td><td><code>1</code></td><td><code>hungarian_stem</code></td></tr><tr><td><code>hword</code></td><td><code>1</code></td><td><code>hungarian_stem</code></td></tr></table><h3>\u540c\u7248\u672c\u4e2d\u6587\u624b\u518c\u8282\u9009</h3><p>\n    \u4e00\u4e2a\u6587\u672c\u68c0\u7d22\u914d\u7f6e\u6307\u5b9a\u4e86\u5c06\u4e00\u4e2a\u6587\u6863\u8f6c\u6362\u6210\u4e00\u4e2a <code>tsvector</code> \u6240\u9700\u7684\u6240\u6709\u9009\u9879\uff1a\u7528\u4e8e\u628a\u6587\u672c\u5206\u89e3\u6210\u8bcd\u5143\u7684\u89e3\u6790\u5668\uff0c\u4ee5\u53ca\u7528\u4e8e\u5c06\u6bcf\u4e00\u4e2a\u8bcd\u5143\u8f6c\u6362\u6210\u8bcd\u4f4d\u7684\u8bcd\u5178\u3002\u6bcf\u4e00\u6b21 <code>to_tsvector</code> \u6216 <code>to_tsquery</code> \u7684\u8c03\u7528\u90fd\u9700\u8981\u4e00\u4e2a\u6587\u672c\u68c0\u7d22\u914d\u7f6e\u6765\u6267\u884c\u5176\u5904\u7406\u3002\u914d\u7f6e\u53c2\u6570 <a href=\"/zh/docs/devel/runtime-config-client.html#GUC-DEFAULT-TEXT-SEARCH-CONFIG\" rel=\"nofollow\">default_text_search_config</a> \u6307\u5b9a\u4e86\u9ed8\u8ba4\u914d\u7f6e\u7684\u540d\u79f0\uff0c\u5982\u679c\u7701\u7565\u4e86\u663e\u5f0f\u7684\u914d\u7f6e\u53c2\u6570\uff0c\u6587\u672c\u68c0\u7d22\u51fd\u6570\u5c06\u4f1a\u4f7f\u7528\u5b83\u3002\u5b83\u53ef\u4ee5\u5728 <code>postgresql.conf</code> \u4e2d\u8bbe\u7f6e\uff0c\u6216\u8005\u4f7f\u7528 <code>SET</code> \u547d\u4ee4\u4e3a\u4e00\u4e2a\u5355\u72ec\u7684\u4f1a\u8bdd\u8bbe\u7f6e\u3002\n   </p><p>\n    \u6709\u4e00\u4e9b\u9884\u5b9a\u4e49\u7684\u6587\u672c\u68c0\u7d22\u914d\u7f6e\u53ef\u7528\uff0c\u5e76\u4e14\u4f60\u53ef\u4ee5\u5bb9\u6613\u5730\u521b\u5efa\u81ea\u5b9a\u4e49\u7684\u914d\u7f6e\u3002\u4e3a\u4e86\u4fbf\u4e8e\u7ba1\u7406\u6587\u672c\u68c0\u7d22\u5bf9\u8c61\uff0c\u53ef\u4ee5\u4f7f\u7528\u4e00\u7ec4 <acronym>SQL</acronym> \u547d\u4ee4\uff0c\u5e76\u4e14\u6709\u591a\u4e2a <span>psql</span> \u547d\u4ee4\u53ef\u4ee5\u663e\u793a\u6709\u5173\u6587\u672c\u68c0\u7d22\u5bf9\u8c61\uff08<a href=\"/zh/docs/devel/textsearch-psql.html\" rel=\"nofollow\">\u7b2c\u00a012.10\u00a0\u8282</a>\uff09\u7684\u4fe1\u606f\u3002\n   </p><p>\n    \u4f5c\u4e3a\u4e00\u4e2a\u793a\u4f8b\uff0c\u6211\u4eec\u5c06\u521b\u5efa\u4e00\u4e2a\u914d\u7f6e <code>pg</code>\uff0c\u4ece\u590d\u5236\u5185\u7f6e\u7684 <code>english</code> \u914d\u7f6e\u5f00\u59cb\uff1a\n\n</p><p>\n    \u6211\u4eec\u5c06\u4f7f\u7528\u4e00\u4e2a PostgreSQL \u76f8\u5173\u7684\u540c\u4e49\u8bcd\u5217\u8868\uff0c\u5e76\u5c06\u5b83\u5b58\u50a8\u5728 <code>$SHAREDIR/tsearch_data/pg_dict.syn</code> \u4e2d\u3002\u6587\u4ef6\u5185\u5bb9\u770b\u8d77\u6765\u50cf\uff1a\n\n</p><p><a href=\"/zh/docs/devel/textsearch-configuration.html\" rel=\"nofollow\">\u67e5\u770b\u5b8c\u6574\u4e2d\u6587\u624b\u518c\u4e0e\u4e0a\u4e0b\u6587</a>\u3002</p>", "source_revalidation": {"kind": "static-same-version-source-and-manual-replay", "audit": "wiki-audit-20261023", "runtime_rerun": false, "compared_fields": "entity membership and source-derived facts; presentation markup normalized", "source_revision": "49c73aa4c9cacef8ca979276a28ac416c08e9e54c9baee4ae5fd116a35fa13ac", "previous_source_revision": "4d3346909b201ac1648232cf290462a7070c119326f56196f1f0253ed80fae41"}}}}, "snapshot": {"facts": [{"label": "\u914d\u7f6e", "value": "hungarian"}, {"label": "\u89e3\u6790\u5668", "value": "\u9ed8\u8ba4"}], "tables": [{"key": "mappings", "rows": [{"token": "email", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-simple/?v=18", "text": "\u7b80\u5355"}}, {"token": "url", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-simple/?v=18", "text": "\u7b80\u5355"}}, {"token": "url_path", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-simple/?v=18", "text": "\u7b80\u5355"}}, {"token": "host", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-simple/?v=18", "text": "\u7b80\u5355"}}, {"token": "file", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-simple/?v=18", "text": "\u7b80\u5355"}}, {"token": "version", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-simple/?v=18", "text": "\u7b80\u5355"}}, {"token": "sfloat", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-simple/?v=18", "text": "\u7b80\u5355"}}, {"token": "float", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-simple/?v=18", "text": "\u7b80\u5355"}}, {"token": "int", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-simple/?v=18", "text": "\u7b80\u5355"}}, {"token": "uint", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-simple/?v=18", "text": "\u7b80\u5355"}}, {"token": "numword", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-simple/?v=18", "text": "\u7b80\u5355"}}, {"token": "hword_numpart", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-simple/?v=18", "text": "\u7b80\u5355"}}, {"token": "numhword", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-simple/?v=18", "text": "\u7b80\u5355"}}, {"token": "asciiword", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-hungarian_stem/?v=18", "text": "hungarian_stem"}}, {"token": "hword_asciipart", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-hungarian_stem/?v=18", "text": "hungarian_stem"}}, {"token": "asciihword", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-hungarian_stem/?v=18", "text": "hungarian_stem"}}, {"token": "word", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-hungarian_stem/?v=18", "text": "hungarian_stem"}}, {"token": "hword_part", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-hungarian_stem/?v=18", "text": "hungarian_stem"}}, {"token": "hword", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-hungarian_stem/?v=18", "text": "hungarian_stem"}}], "title": "\u8bcd\u5143\u5230\u8bcd\u5178\u7684\u6620\u5c04", "columns": [{"key": "token", "label": "\u8bcd\u5143\u7c7b\u578b"}, {"key": "sequence", "label": "\u987a\u5e8f"}, {"key": "dictionary", "label": "\u8bcd\u5178"}]}], "aliases": [], "related": [{"url": "/wiki/fts/parser-default/?v=18", "label": "\u9ed8\u8ba4\u89e3\u6790\u5668"}], "release": {"ref": "https://ftp.postgresql.org/pub/source/v18.6/postgresql-18.6.tar.bz2", "label": "18.6", "major": "18", "channel": "stable", "revision": "555610c24d53e4316da5b7d3fc25c279d96856d5e0e23ee308c328c5fa881d9f", "source_sha256": "555610c24d53e4316da5b7d3fc25c279d96856d5e0e23ee308c328c5fa881d9f", "catalog_fingerprint": "65c93d6048ef30e61023a84f9680fa6a92b1c383b7eb226741170077eb078502"}, "sources": [{"url": "https://ftp.postgresql.org/pub/source/v18.6/postgresql-18.6.tar.bz2", "label": "Matching PostgreSQL source archive", "sha256": "555610c24d53e4316da5b7d3fc25c279d96856d5e0e23ee308c328c5fa881d9f"}, {"url": "/docs/18/textsearch-configuration.html", "path": "textsearch-configuration.html", "label": "PostgreSQL 18 English manual", "sha256": "7957c03871a5f267f642ec609b2e3d1404eb000ccdef21ca0d1d8a8616110dc9"}], "zh_from": {"kind": "same-version-chinese-manual-with-source-derived-structured-summary", "manual": {"url": "/zh/docs/18/textsearch-configuration.html", "anchor": "", "locale": "zh-Hans", "version": "18", "build_id": 107, "page_key": "textsearch-configuration.html", "extraction": "concept-introduction", "source_hash": "fcc0bb39dbc241b21e9a05ac2d71f8c5c41034675909cd19d305cf07d445d9e5", "fragment_sha256": "45987985da02c9a2ca94654bb013bda6e9aede523cb42f9e5c1aa248847aa11f", "source_revision": "unknown:rendered-translation-baseline", "translation_revision": "git:b1b500221dbe5437cfca004d6b04d3f6e422765d;html-sha256:08e987a66af27b98444a8057c256314eafa13611a3fb9e888214fc436824244b", "translated_from_revision": null}, "body_sha256": "79d5f06a04ca7618808a37bdc6b3155ce9c9523fd507eb3bfdb4d3e15c3d008d", "runtime_rerun": false, "authored_translation": "source-derived-structured-summary", "source_facts_revision": "555610c24d53e4316da5b7d3fc25c279d96856d5e0e23ee308c328c5fa881d9f"}, "facts_zh": [{"label": "\u914d\u7f6e", "value": "hungarian"}, {"label": "\u89e3\u6790\u5668", "value": "\u9ed8\u8ba4"}], "mappings": [{"token": "email", "sequence": "1", "dictionary": "simple"}, {"token": "url", "sequence": "1", "dictionary": "simple"}, {"token": "url_path", "sequence": "1", "dictionary": "simple"}, {"token": "host", "sequence": "1", "dictionary": "simple"}, {"token": "file", "sequence": "1", "dictionary": "simple"}, {"token": "version", "sequence": "1", "dictionary": "simple"}, {"token": "sfloat", "sequence": "1", "dictionary": "simple"}, {"token": "float", "sequence": "1", "dictionary": "simple"}, {"token": "int", "sequence": "1", "dictionary": "simple"}, {"token": "uint", "sequence": "1", "dictionary": "simple"}, {"token": "numword", "sequence": "1", "dictionary": "simple"}, {"token": "hword_numpart", "sequence": "1", "dictionary": "simple"}, {"token": "numhword", "sequence": "1", "dictionary": "simple"}, {"token": "asciiword", "sequence": "1", "dictionary": "hungarian_stem"}, {"token": "hword_asciipart", "sequence": "1", "dictionary": "hungarian_stem"}, {"token": "asciihword", "sequence": "1", "dictionary": "hungarian_stem"}, {"token": "word", "sequence": "1", "dictionary": "hungarian_stem"}, {"token": "hword_part", "sequence": "1", "dictionary": "hungarian_stem"}, {"token": "hword", "sequence": "1", "dictionary": "hungarian_stem"}], "sections": [{"code": "/*\n * text search configuration for hungarian language\n *\n * Copyright (c) 2007-2025, PostgreSQL Global Development Group\n *\n * src/backend/snowball/snowball.sql.in\n *\n * hungarian and certain other macros are replaced for each language;\n * see the Makefile for details.\n *\n * Note: this file is read in single-user -j mode, which means that the\n * command terminator is semicolon-newline-newline; whenever the backend\n * sees that, it stops and executes what it's got.  If you write a lot of\n * statements without empty lines between, they'll all get quoted to you\n * in any error message about one of them, so don't do that.  Also, you\n * cannot write a semicolon immediately followed by an empty line in a\n * string literal (including a function body!) or a multiline comment.\n */\n\nCREATE TEXT SEARCH DICTIONARY hungarian_stem\n\t(TEMPLATE = snowball, Language = hungarian , StopWords=hungarian);\n\nCOMMENT ON TEXT SEARCH DICTIONARY hungarian_stem IS 'snowball stemmer for hungarian language';\n\nCREATE TEXT SEARCH CONFIGURATION hungarian\n\t(PARSER = default);\n\nCOMMENT ON TEXT SEARCH CONFIGURATION hungarian IS 'configuration for hungarian language';\n\nALTER TEXT SEARCH CONFIGURATION hungarian ADD MAPPING\n\tFOR email, url, url_path, host, file, version,\n\t    sfloat, float, int, uint,\n\t    numword, hword_numpart, numhword\n\tWITH simple;\n\nALTER TEXT SEARCH CONFIGURATION hungarian ADD MAPPING\n    FOR asciiword, hword_asciipart, asciihword\n\tWITH hungarian_stem;\n\nALTER TEXT SEARCH CONFIGURATION hungarian ADD MAPPING\n    FOR word, hword_part, hword\n\tWITH hungarian_stem;", "title": "initdb \u751f\u6210\u7684\u5b9a\u4e49", "paragraphs": ["\u6839\u636e\u6b64\u7248\u672c\u7684 Snowball \u8bed\u8a00\u5217\u8868\u548c SQL \u6a21\u677f\u751f\u6210\u3002"]}], "center_zh": {"title": "hungarian", "locale": "zh-Hans", "source": {"key": "configuration-hungarian", "locale": "zh-Hans", "version": "18", "text_hash": "d1787b556c194b531e0d3688a0aaeeddf5bb338ebfe177c5c7defa2501b396e6", "collection": "fts", "dataset_hash": "7c31b524dfe136022d39a6ae8dcfac6b3bbd5f8fdaf422536599981252aff0c9", "source_database": "center", "source_revision": "555610c24d53e4316da5b7d3fc25c279d96856d5e0e23ee308c328c5fa881d9f"}, "payload": {"facts": [{"label": "\u914d\u7f6e", "value": "hungarian"}, {"label": "\u89e3\u6790\u5668", "value": "\u9ed8\u8ba4"}], "tables": [{"key": "mappings", "rows": [{"token": "email", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-simple/?v=18", "text": "\u7b80\u5355"}}, {"token": "url", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-simple/?v=18", "text": "\u7b80\u5355"}}, {"token": "url_path", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-simple/?v=18", "text": "\u7b80\u5355"}}, {"token": "host", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-simple/?v=18", "text": "\u7b80\u5355"}}, {"token": "file", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-simple/?v=18", "text": "\u7b80\u5355"}}, {"token": "version", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-simple/?v=18", "text": "\u7b80\u5355"}}, {"token": "sfloat", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-simple/?v=18", "text": "\u7b80\u5355"}}, {"token": "float", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-simple/?v=18", "text": "\u7b80\u5355"}}, {"token": "int", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-simple/?v=18", "text": "\u7b80\u5355"}}, {"token": "uint", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-simple/?v=18", "text": "\u7b80\u5355"}}, {"token": "numword", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-simple/?v=18", "text": "\u7b80\u5355"}}, {"token": "hword_numpart", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-simple/?v=18", "text": "\u7b80\u5355"}}, {"token": "numhword", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-simple/?v=18", "text": "\u7b80\u5355"}}, {"token": "asciiword", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-hungarian_stem/?v=18", "text": "hungarian_stem"}}, {"token": "hword_asciipart", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-hungarian_stem/?v=18", "text": "hungarian_stem"}}, {"token": "asciihword", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-hungarian_stem/?v=18", "text": "hungarian_stem"}}, {"token": "word", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-hungarian_stem/?v=18", "text": "hungarian_stem"}}, {"token": "hword_part", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-hungarian_stem/?v=18", "text": "hungarian_stem"}}, {"token": "hword", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-hungarian_stem/?v=18", "text": "hungarian_stem"}}], "title": "\u8bcd\u5143\u5230\u8bcd\u5178\u7684\u6620\u5c04", "columns": [{"key": "token", "label": "\u8bcd\u5143\u7c7b\u578b"}, {"key": "sequence", "label": "\u987a\u5e8f"}, {"key": "dictionary", "label": "\u8bcd\u5178"}]}], "zh_from": {"kind": "same-version-chinese-manual-with-source-derived-structured-summary", "manual": {"url": "/zh/docs/18/textsearch-configuration.html", "anchor": "", "locale": "zh-Hans", "version": "18", "build_id": 107, "page_key": "textsearch-configuration.html", "extraction": "concept-introduction", "source_hash": "fcc0bb39dbc241b21e9a05ac2d71f8c5c41034675909cd19d305cf07d445d9e5", "fragment_sha256": "45987985da02c9a2ca94654bb013bda6e9aede523cb42f9e5c1aa248847aa11f", "source_revision": "unknown:rendered-translation-baseline", "translation_revision": "git:b1b500221dbe5437cfca004d6b04d3f6e422765d;html-sha256:08e987a66af27b98444a8057c256314eafa13611a3fb9e888214fc436824244b", "translated_from_revision": null}, "body_sha256": "79d5f06a04ca7618808a37bdc6b3155ce9c9523fd507eb3bfdb4d3e15c3d008d", "runtime_rerun": false, "authored_translation": "source-derived-structured-summary", "source_facts_revision": "555610c24d53e4316da5b7d3fc25c279d96856d5e0e23ee308c328c5fa881d9f"}, "sections": [{"code": "/*\n * text search configuration for hungarian language\n *\n * Copyright (c) 2007-2025, PostgreSQL Global Development Group\n *\n * src/backend/snowball/snowball.sql.in\n *\n * hungarian and certain other macros are replaced for each language;\n * see the Makefile for details.\n *\n * Note: this file is read in single-user -j mode, which means that the\n * command terminator is semicolon-newline-newline; whenever the backend\n * sees that, it stops and executes what it's got.  If you write a lot of\n * statements without empty lines between, they'll all get quoted to you\n * in any error message about one of them, so don't do that.  Also, you\n * cannot write a semicolon immediately followed by an empty line in a\n * string literal (including a function body!) or a multiline comment.\n */\n\nCREATE TEXT SEARCH DICTIONARY hungarian_stem\n\t(TEMPLATE = snowball, Language = hungarian , StopWords=hungarian);\n\nCOMMENT ON TEXT SEARCH DICTIONARY hungarian_stem IS 'snowball stemmer for hungarian language';\n\nCREATE TEXT SEARCH CONFIGURATION hungarian\n\t(PARSER = default);\n\nCOMMENT ON TEXT SEARCH CONFIGURATION hungarian IS 'configuration for hungarian language';\n\nALTER TEXT SEARCH CONFIGURATION hungarian ADD MAPPING\n\tFOR email, url, url_path, host, file, version,\n\t    sfloat, float, int, uint,\n\t    numword, hword_numpart, numhword\n\tWITH simple;\n\nALTER TEXT SEARCH CONFIGURATION hungarian ADD MAPPING\n    FOR asciiword, hword_asciipart, asciihword\n\tWITH hungarian_stem;\n\nALTER TEXT SEARCH CONFIGURATION hungarian ADD MAPPING\n    FOR word, hword_part, hword\n\tWITH hungarian_stem;", "title": "initdb \u751f\u6210\u7684\u5b9a\u4e49", "paragraphs": ["\u6839\u636e\u6b64\u7248\u672c\u7684 Snowball \u8bed\u8a00\u5217\u8868\u548c SQL \u6a21\u677f\u751f\u6210\u3002"]}], "description_zh": "\u5168\u6587\u641c\u7d22\u914d\u7f6e hungarian\u3002", "description_zh_html": "<p>\u5168\u6587\u641c\u7d22\u914d\u7f6e hungarian\u3002</p><dl><dt>\u89e3\u6790\u5668</dt><dd><code>default</code></dd><dt>\u914d\u7f6e</dt><dd><code>hungarian</code></dd></dl><h3>\u8bcd\u5143\u4e0e\u8bcd\u5178\u6620\u5c04</h3><table><tr><th>\u8bcd\u5143\u7c7b\u578b</th><th>\u987a\u5e8f</th><th>\u8bcd\u5178</th></tr><tr><td><code>email</code></td><td><code>1</code></td><td><code>simple</code></td></tr><tr><td><code>url</code></td><td><code>1</code></td><td><code>simple</code></td></tr><tr><td><code>url_path</code></td><td><code>1</code></td><td><code>simple</code></td></tr><tr><td><code>host</code></td><td><code>1</code></td><td><code>simple</code></td></tr><tr><td><code>file</code></td><td><code>1</code></td><td><code>simple</code></td></tr><tr><td><code>version</code></td><td><code>1</code></td><td><code>simple</code></td></tr><tr><td><code>sfloat</code></td><td><code>1</code></td><td><code>simple</code></td></tr><tr><td><code>float</code></td><td><code>1</code></td><td><code>simple</code></td></tr><tr><td><code>int</code></td><td><code>1</code></td><td><code>simple</code></td></tr><tr><td><code>uint</code></td><td><code>1</code></td><td><code>simple</code></td></tr><tr><td><code>numword</code></td><td><code>1</code></td><td><code>simple</code></td></tr><tr><td><code>hword_numpart</code></td><td><code>1</code></td><td><code>simple</code></td></tr><tr><td><code>numhword</code></td><td><code>1</code></td><td><code>simple</code></td></tr><tr><td><code>asciiword</code></td><td><code>1</code></td><td><code>hungarian_stem</code></td></tr><tr><td><code>hword_asciipart</code></td><td><code>1</code></td><td><code>hungarian_stem</code></td></tr><tr><td><code>asciihword</code></td><td><code>1</code></td><td><code>hungarian_stem</code></td></tr><tr><td><code>word</code></td><td><code>1</code></td><td><code>hungarian_stem</code></td></tr><tr><td><code>hword_part</code></td><td><code>1</code></td><td><code>hungarian_stem</code></td></tr><tr><td><code>hword</code></td><td><code>1</code></td><td><code>hungarian_stem</code></td></tr></table><h3>\u540c\u7248\u672c\u4e2d\u6587\u624b\u518c\u8282\u9009</h3><p>\n    \u4e00\u4e2a\u6587\u672c\u68c0\u7d22\u914d\u7f6e\u6307\u5b9a\u4e86\u5c06\u4e00\u4e2a\u6587\u6863\u8f6c\u6362\u6210\u4e00\u4e2a <code class=\"type\">tsvector</code> \u6240\u9700\u7684\u6240\u6709\u9009\u9879\uff1a\u7528\u4e8e\u628a\u6587\u672c\u5206\u89e3\u6210\u8bcd\u5143\u7684\u89e3\u6790\u5668\uff0c\u4ee5\u53ca\u7528\u4e8e\u5c06\u6bcf\u4e00\u4e2a\u8bcd\u5143\u8f6c\u6362\u6210\u8bcd\u4f4d\u7684\u8bcd\u5178\u3002\u6bcf\u4e00\u6b21 <code class=\"function\">to_tsvector</code> \u6216 <code class=\"function\">to_tsquery</code> \u7684\u8c03\u7528\u90fd\u9700\u8981\u4e00\u4e2a\u6587\u672c\u68c0\u7d22\u914d\u7f6e\u6765\u6267\u884c\u5176\u5904\u7406\u3002\u914d\u7f6e\u53c2\u6570 <a class=\"xref\" href=\"/zh/docs/18/runtime-config-client.html#GUC-DEFAULT-TEXT-SEARCH-CONFIG\">default_text_search_config</a> \u6307\u5b9a\u4e86\u9ed8\u8ba4\u914d\u7f6e\u7684\u540d\u79f0\uff0c\u5982\u679c\u7701\u7565\u4e86\u663e\u5f0f\u7684\u914d\u7f6e\u53c2\u6570\uff0c\u6587\u672c\u68c0\u7d22\u51fd\u6570\u5c06\u4f1a\u4f7f\u7528\u5b83\u3002\u5b83\u53ef\u4ee5\u5728 <code class=\"filename\">postgresql.conf</code> \u4e2d\u8bbe\u7f6e\uff0c\u6216\u8005\u4f7f\u7528 <code class=\"command\">SET</code> \u547d\u4ee4\u4e3a\u4e00\u4e2a\u5355\u72ec\u7684\u4f1a\u8bdd\u8bbe\u7f6e\u3002\n   </p><p>\n    \u6709\u4e00\u4e9b\u9884\u5b9a\u4e49\u7684\u6587\u672c\u68c0\u7d22\u914d\u7f6e\u53ef\u7528\uff0c\u5e76\u4e14\u4f60\u53ef\u4ee5\u5bb9\u6613\u5730\u521b\u5efa\u81ea\u5b9a\u4e49\u7684\u914d\u7f6e\u3002\u4e3a\u4e86\u4fbf\u4e8e\u7ba1\u7406\u6587\u672c\u68c0\u7d22\u5bf9\u8c61\uff0c\u53ef\u4ee5\u4f7f\u7528\u4e00\u7ec4 <acronym class=\"acronym\">SQL</acronym> \u547d\u4ee4\uff0c\u5e76\u4e14\u6709\u591a\u4e2a <span class=\"application\">psql</span> \u547d\u4ee4\u53ef\u4ee5\u663e\u793a\u6709\u5173\u6587\u672c\u68c0\u7d22\u5bf9\u8c61\uff08<a class=\"xref\" href=\"/zh/docs/18/textsearch-psql.html\">\u7b2c\u00a012.10\u00a0\u8282</a>\uff09\u7684\u4fe1\u606f\u3002\n   </p><p>\n    \u4f5c\u4e3a\u4e00\u4e2a\u793a\u4f8b\uff0c\u6211\u4eec\u5c06\u521b\u5efa\u4e00\u4e2a\u914d\u7f6e <code class=\"literal\">pg</code>\uff0c\u4ece\u590d\u5236\u5185\u7f6e\u7684 <code class=\"literal\">english</code> \u914d\u7f6e\u5f00\u59cb\uff1a\n\n</p><p>\n    \u6211\u4eec\u5c06\u4f7f\u7528\u4e00\u4e2a PostgreSQL \u76f8\u5173\u7684\u540c\u4e49\u8bcd\u5217\u8868\uff0c\u5e76\u5c06\u5b83\u5b58\u50a8\u5728 <code class=\"filename\">$SHAREDIR/tsearch_data/pg_dict.syn</code> \u4e2d\u3002\u6587\u4ef6\u5185\u5bb9\u770b\u8d77\u6765\u50cf\uff1a\n\n</p><p><a href=\"/zh/docs/18/textsearch-configuration.html\">\u67e5\u770b\u5b8c\u6574\u4e2d\u6587\u624b\u518c\u4e0e\u4e0a\u4e0b\u6587</a>\u3002</p>"}, "summary": "\u5168\u6587\u641c\u7d22\u914d\u7f6e hungarian\u3002", "version": "18", "link_map": {"/zh/docs/18/textsearch-psql.html": "/docs/18/textsearch-psql.html", "/zh/docs/18/textsearch-configuration.html": "/docs/18/textsearch-configuration.html", "/zh/docs/18/runtime-config-client.html#GUC-DEFAULT-TEXT-SEARCH-CONFIG": "/docs/18/runtime-config-client.html#GUC-DEFAULT-TEXT-SEARCH-CONFIG"}, "body_html": "<p>\u5168\u6587\u641c\u7d22\u914d\u7f6e hungarian\u3002</p><dl><dt>\u89e3\u6790\u5668</dt><dd><code>default</code></dd><dt>\u914d\u7f6e</dt><dd><code>hungarian</code></dd></dl><h3>\u8bcd\u5143\u4e0e\u8bcd\u5178\u6620\u5c04</h3><table><tr><th>\u8bcd\u5143\u7c7b\u578b</th><th>\u987a\u5e8f</th><th>\u8bcd\u5178</th></tr><tr><td><code>email</code></td><td><code>1</code></td><td><code>simple</code></td></tr><tr><td><code>url</code></td><td><code>1</code></td><td><code>simple</code></td></tr><tr><td><code>url_path</code></td><td><code>1</code></td><td><code>simple</code></td></tr><tr><td><code>host</code></td><td><code>1</code></td><td><code>simple</code></td></tr><tr><td><code>file</code></td><td><code>1</code></td><td><code>simple</code></td></tr><tr><td><code>version</code></td><td><code>1</code></td><td><code>simple</code></td></tr><tr><td><code>sfloat</code></td><td><code>1</code></td><td><code>simple</code></td></tr><tr><td><code>float</code></td><td><code>1</code></td><td><code>simple</code></td></tr><tr><td><code>int</code></td><td><code>1</code></td><td><code>simple</code></td></tr><tr><td><code>uint</code></td><td><code>1</code></td><td><code>simple</code></td></tr><tr><td><code>numword</code></td><td><code>1</code></td><td><code>simple</code></td></tr><tr><td><code>hword_numpart</code></td><td><code>1</code></td><td><code>simple</code></td></tr><tr><td><code>numhword</code></td><td><code>1</code></td><td><code>simple</code></td></tr><tr><td><code>asciiword</code></td><td><code>1</code></td><td><code>hungarian_stem</code></td></tr><tr><td><code>hword_asciipart</code></td><td><code>1</code></td><td><code>hungarian_stem</code></td></tr><tr><td><code>asciihword</code></td><td><code>1</code></td><td><code>hungarian_stem</code></td></tr><tr><td><code>word</code></td><td><code>1</code></td><td><code>hungarian_stem</code></td></tr><tr><td><code>hword_part</code></td><td><code>1</code></td><td><code>hungarian_stem</code></td></tr><tr><td><code>hword</code></td><td><code>1</code></td><td><code>hungarian_stem</code></td></tr></table><h3>\u540c\u7248\u672c\u4e2d\u6587\u624b\u518c\u8282\u9009</h3><p>\n    \u4e00\u4e2a\u6587\u672c\u68c0\u7d22\u914d\u7f6e\u6307\u5b9a\u4e86\u5c06\u4e00\u4e2a\u6587\u6863\u8f6c\u6362\u6210\u4e00\u4e2a <code>tsvector</code> \u6240\u9700\u7684\u6240\u6709\u9009\u9879\uff1a\u7528\u4e8e\u628a\u6587\u672c\u5206\u89e3\u6210\u8bcd\u5143\u7684\u89e3\u6790\u5668\uff0c\u4ee5\u53ca\u7528\u4e8e\u5c06\u6bcf\u4e00\u4e2a\u8bcd\u5143\u8f6c\u6362\u6210\u8bcd\u4f4d\u7684\u8bcd\u5178\u3002\u6bcf\u4e00\u6b21 <code>to_tsvector</code> \u6216 <code>to_tsquery</code> \u7684\u8c03\u7528\u90fd\u9700\u8981\u4e00\u4e2a\u6587\u672c\u68c0\u7d22\u914d\u7f6e\u6765\u6267\u884c\u5176\u5904\u7406\u3002\u914d\u7f6e\u53c2\u6570 <a href=\"/zh/docs/18/runtime-config-client.html#GUC-DEFAULT-TEXT-SEARCH-CONFIG\" rel=\"nofollow\">default_text_search_config</a> \u6307\u5b9a\u4e86\u9ed8\u8ba4\u914d\u7f6e\u7684\u540d\u79f0\uff0c\u5982\u679c\u7701\u7565\u4e86\u663e\u5f0f\u7684\u914d\u7f6e\u53c2\u6570\uff0c\u6587\u672c\u68c0\u7d22\u51fd\u6570\u5c06\u4f1a\u4f7f\u7528\u5b83\u3002\u5b83\u53ef\u4ee5\u5728 <code>postgresql.conf</code> \u4e2d\u8bbe\u7f6e\uff0c\u6216\u8005\u4f7f\u7528 <code>SET</code> \u547d\u4ee4\u4e3a\u4e00\u4e2a\u5355\u72ec\u7684\u4f1a\u8bdd\u8bbe\u7f6e\u3002\n   </p><p>\n    \u6709\u4e00\u4e9b\u9884\u5b9a\u4e49\u7684\u6587\u672c\u68c0\u7d22\u914d\u7f6e\u53ef\u7528\uff0c\u5e76\u4e14\u4f60\u53ef\u4ee5\u5bb9\u6613\u5730\u521b\u5efa\u81ea\u5b9a\u4e49\u7684\u914d\u7f6e\u3002\u4e3a\u4e86\u4fbf\u4e8e\u7ba1\u7406\u6587\u672c\u68c0\u7d22\u5bf9\u8c61\uff0c\u53ef\u4ee5\u4f7f\u7528\u4e00\u7ec4 <acronym>SQL</acronym> \u547d\u4ee4\uff0c\u5e76\u4e14\u6709\u591a\u4e2a <span>psql</span> \u547d\u4ee4\u53ef\u4ee5\u663e\u793a\u6709\u5173\u6587\u672c\u68c0\u7d22\u5bf9\u8c61\uff08<a href=\"/zh/docs/18/textsearch-psql.html\" rel=\"nofollow\">\u7b2c\u00a012.10\u00a0\u8282</a>\uff09\u7684\u4fe1\u606f\u3002\n   </p><p>\n    \u4f5c\u4e3a\u4e00\u4e2a\u793a\u4f8b\uff0c\u6211\u4eec\u5c06\u521b\u5efa\u4e00\u4e2a\u914d\u7f6e <code>pg</code>\uff0c\u4ece\u590d\u5236\u5185\u7f6e\u7684 <code>english</code> \u914d\u7f6e\u5f00\u59cb\uff1a\n\n</p><p>\n    \u6211\u4eec\u5c06\u4f7f\u7528\u4e00\u4e2a PostgreSQL \u76f8\u5173\u7684\u540c\u4e49\u8bcd\u5217\u8868\uff0c\u5e76\u5c06\u5b83\u5b58\u50a8\u5728 <code>$SHAREDIR/tsearch_data/pg_dict.syn</code> \u4e2d\u3002\u6587\u4ef6\u5185\u5bb9\u770b\u8d77\u6765\u50cf\uff1a\n\n</p><p><a href=\"/zh/docs/18/textsearch-configuration.html\" rel=\"nofollow\">\u67e5\u770b\u5b8c\u6574\u4e2d\u6587\u624b\u518c\u4e0e\u4e0a\u4e0b\u6587</a>\u3002</p>", "body_sha256": "79741dc7c8ca79bde3945c2aeafba2d83bf037b5e5bb79a69b6d257b1831c831", "content_hash": "d1787b556c194b531e0d3688a0aaeeddf5bb338ebfe177c5c7defa2501b396e6", "source_database": "center", "source_revision": "555610c24d53e4316da5b7d3fc25c279d96856d5e0e23ee308c328c5fa881d9f"}, "signature": "", "tables_zh": [{"key": "mappings", "rows": [{"token": "email", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-simple/?v=18", "text": "\u7b80\u5355"}}, {"token": "url", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-simple/?v=18", "text": "\u7b80\u5355"}}, {"token": "url_path", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-simple/?v=18", "text": "\u7b80\u5355"}}, {"token": "host", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-simple/?v=18", "text": "\u7b80\u5355"}}, {"token": "file", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-simple/?v=18", "text": "\u7b80\u5355"}}, {"token": "version", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-simple/?v=18", "text": "\u7b80\u5355"}}, {"token": "sfloat", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-simple/?v=18", "text": "\u7b80\u5355"}}, {"token": "float", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-simple/?v=18", "text": "\u7b80\u5355"}}, {"token": "int", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-simple/?v=18", "text": "\u7b80\u5355"}}, {"token": "uint", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-simple/?v=18", "text": "\u7b80\u5355"}}, {"token": "numword", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-simple/?v=18", "text": "\u7b80\u5355"}}, {"token": "hword_numpart", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-simple/?v=18", "text": "\u7b80\u5355"}}, {"token": "numhword", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-simple/?v=18", "text": "\u7b80\u5355"}}, {"token": "asciiword", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-hungarian_stem/?v=18", "text": "hungarian_stem"}}, {"token": "hword_asciipart", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-hungarian_stem/?v=18", "text": "hungarian_stem"}}, {"token": "asciihword", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-hungarian_stem/?v=18", "text": "hungarian_stem"}}, {"token": "word", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-hungarian_stem/?v=18", "text": "hungarian_stem"}}, {"token": "hword_part", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-hungarian_stem/?v=18", "text": "hungarian_stem"}}, {"token": "hword", "sequence": "1", "dictionary": {"url": "/wiki/fts/dictionary-hungarian_stem/?v=18", "text": "hungarian_stem"}}], "title": "\u8bcd\u5143\u5230\u8bcd\u5178\u7684\u6620\u5c04", "columns": [{"key": "token", "label": "\u8bcd\u5143\u7c7b\u578b"}, {"key": "sequence", "label": "\u987a\u5e8f"}, {"key": "dictionary", "label": "\u8bcd\u5178"}]}], "attributes": {"parser": "default", "configuration": "hungarian"}, "description": ["\u5168\u6587\u641c\u7d22\u914d\u7f6e hungarian\u3002"], "manual_html": "", "manual_path": "/docs/18/textsearch-configuration.html", "sections_zh": [{"code": "/*\n * text search configuration for hungarian language\n *\n * Copyright (c) 2007-2025, PostgreSQL Global Development Group\n *\n * src/backend/snowball/snowball.sql.in\n *\n * hungarian and certain other macros are replaced for each language;\n * see the Makefile for details.\n *\n * Note: this file is read in single-user -j mode, which means that the\n * command terminator is semicolon-newline-newline; whenever the backend\n * sees that, it stops and executes what it's got.  If you write a lot of\n * statements without empty lines between, they'll all get quoted to you\n * in any error message about one of them, so don't do that.  Also, you\n * cannot write a semicolon immediately followed by an empty line in a\n * string literal (including a function body!) or a multiline comment.\n */\n\nCREATE TEXT SEARCH DICTIONARY hungarian_stem\n\t(TEMPLATE = snowball, Language = hungarian , StopWords=hungarian);\n\nCOMMENT ON TEXT SEARCH DICTIONARY hungarian_stem IS 'snowball stemmer for hungarian language';\n\nCREATE TEXT SEARCH CONFIGURATION hungarian\n\t(PARSER = default);\n\nCOMMENT ON TEXT SEARCH CONFIGURATION hungarian IS 'configuration for hungarian language';\n\nALTER TEXT SEARCH CONFIGURATION hungarian ADD MAPPING\n\tFOR email, url, url_path, host, file, version,\n\t    sfloat, float, int, uint,\n\t    numword, hword_numpart, numhword\n\tWITH simple;\n\nALTER TEXT SEARCH CONFIGURATION hungarian ADD MAPPING\n    FOR asciiword, hword_asciipart, asciihword\n\tWITH hungarian_stem;\n\nALTER TEXT SEARCH CONFIGURATION hungarian ADD MAPPING\n    FOR word, hword_part, hword\n\tWITH hungarian_stem;", "title": "initdb \u751f\u6210\u7684\u5b9a\u4e49", "paragraphs": ["\u6839\u636e\u6b64\u7248\u672c\u7684 Snowball \u8bed\u8a00\u5217\u8868\u548c SQL \u6a21\u677f\u751f\u6210\u3002"]}], "localization": {"status": "complete", "sources": [{"url": "/docs/18/catalog-pg-amproc.html", "method": "same-major semantic node", "sha256": "c1b7d16e812991b4d5fb68085a27c8ff82aeaffa34afda56c5837f9b7588187c", "language": "zh", "matched_nodes": ["#CATALOG-PG-AMPROC/p[5]/span[2]/span[0]"]}, {"url": "/docs/18/textsearch-configuration.html", "method": "same-major semantic node", "sha256": "7f803d5b93ebfbc7277584f660e479e20eda950c121e0bb8a1e3ecd81268870c", "language": "zh", "matched_nodes": ["#TEXTSEARCH-CONFIGURATION/div[0]", "#TEXTSEARCH-CONFIGURATION/p[11]", "#TEXTSEARCH-CONFIGURATION/p[13]", "#TEXTSEARCH-CONFIGURATION/p[15]", "#TEXTSEARCH-CONFIGURATION/p[17]", "#TEXTSEARCH-CONFIGURATION/p[1]", "#TEXTSEARCH-CONFIGURATION/p[2]", "#TEXTSEARCH-CONFIGURATION/p[3]", "#TEXTSEARCH-CONFIGURATION/p[5]", "#TEXTSEARCH-CONFIGURATION/p[7]", "#TEXTSEARCH-CONFIGURATION/p[9]"]}, {"url": "/docs/18/using-explain.html", "method": "same-major semantic node", "sha256": "b8835ec9adbc70ec150667a6b5443f8d298222dc0cc8c2bd1abb1c1d64895904", "language": "zh", "matched_nodes": ["#USING-EXPLAIN/div[7]/p[24]/span[0]/span[0]"]}], "language": "zh", "original_text": {"/versions/18/description/0": "Text search configuration hungarian.", "/versions/18/facts/0/label": "Configuration", "/versions/18/facts/1/label": "Parser", "/versions/18/facts/1/value": "default", "/versions/18/tables/0/title": "Token-to-dictionary mappings", "/versions/18/related/0/label": "default parser", "/versions/18/sections/0/title": "Generated initdb definition", "/versions/18/sections/0/paragraphs/0": "Generated from this release\u2019s Snowball language list and SQL template.", "/versions/18/tables/0/columns/0/label": "Token type", "/versions/18/tables/0/columns/1/label": "Order", "/versions/18/tables/0/columns/2/label": "Dictionary", "/versions/18/tables/0/rows/0/dictionary/text": "simple", "/versions/18/tables/0/rows/1/dictionary/text": "simple", "/versions/18/tables/0/rows/2/dictionary/text": "simple", "/versions/18/tables/0/rows/3/dictionary/text": "simple", "/versions/18/tables/0/rows/4/dictionary/text": "simple", "/versions/18/tables/0/rows/5/dictionary/text": "simple", "/versions/18/tables/0/rows/6/dictionary/text": "simple", "/versions/18/tables/0/rows/7/dictionary/text": "simple", "/versions/18/tables/0/rows/8/dictionary/text": "simple", "/versions/18/tables/0/rows/9/dictionary/text": "simple", "/versions/18/tables/0/rows/10/dictionary/text": "simple", "/versions/18/tables/0/rows/11/dictionary/text": "simple", "/versions/18/tables/0/rows/12/dictionary/text": "simple"}, "fallback_fields": [], "source_language": "en", "original_snapshot_sha256": "e7f7299458b06c7d6bafbd9da4121c740c6d62a273a47952ca39aa78b7995979", "canonical_center_text_hash": "d1787b556c194b531e0d3688a0aaeeddf5bb338ebfe177c5c7defa2501b396e6"}, "description_zh": "\u5168\u6587\u641c\u7d22\u914d\u7f6e hungarian\u3002", "comparison_data": {"parser": "default", "mappings": [{"token": "asciihword", "sequence": "1", "dictionary": "hungarian_stem"}, {"token": "asciiword", "sequence": "1", "dictionary": "hungarian_stem"}, {"token": "email", "sequence": "1", "dictionary": "simple"}, {"token": "file", "sequence": "1", "dictionary": "simple"}, {"token": "float", "sequence": "1", "dictionary": "simple"}, {"token": "host", "sequence": "1", "dictionary": "simple"}, {"token": "hword", "sequence": "1", "dictionary": "hungarian_stem"}, {"token": "hword_asciipart", "sequence": "1", "dictionary": "hungarian_stem"}, {"token": "hword_numpart", "sequence": "1", "dictionary": "simple"}, {"token": "hword_part", "sequence": "1", "dictionary": "hungarian_stem"}, {"token": "int", "sequence": "1", "dictionary": "simple"}, {"token": "numhword", "sequence": "1", "dictionary": "simple"}, {"token": "numword", "sequence": "1", "dictionary": "simple"}, {"token": "sfloat", "sequence": "1", "dictionary": "simple"}, {"token": "uint", "sequence": "1", "dictionary": "simple"}, {"token": "url", "sequence": "1", "dictionary": "simple"}, {"token": "url_path", "sequence": "1", "dictionary": "simple"}, {"token": "version", "sequence": "1", "dictionary": "simple"}, {"token": "word", "sequence": "1", "dictionary": "hungarian_stem"}]}, "comparison_hash": "4b14c26ff2f416b9bc0128f68a56146e71b77907078eeac0cbd0dfaf2af246dd", "manual_language": "zh", "description_zh_html": "<p>\u5168\u6587\u641c\u7d22\u914d\u7f6e hungarian\u3002</p><dl><dt>\u89e3\u6790\u5668</dt><dd><code>default</code></dd><dt>\u914d\u7f6e</dt><dd><code>hungarian</code></dd></dl><h3>\u8bcd\u5143\u4e0e\u8bcd\u5178\u6620\u5c04</h3><table><tr><th>\u8bcd\u5143\u7c7b\u578b</th><th>\u987a\u5e8f</th><th>\u8bcd\u5178</th></tr><tr><td><code>email</code></td><td><code>1</code></td><td><code>simple</code></td></tr><tr><td><code>url</code></td><td><code>1</code></td><td><code>simple</code></td></tr><tr><td><code>url_path</code></td><td><code>1</code></td><td><code>simple</code></td></tr><tr><td><code>host</code></td><td><code>1</code></td><td><code>simple</code></td></tr><tr><td><code>file</code></td><td><code>1</code></td><td><code>simple</code></td></tr><tr><td><code>version</code></td><td><code>1</code></td><td><code>simple</code></td></tr><tr><td><code>sfloat</code></td><td><code>1</code></td><td><code>simple</code></td></tr><tr><td><code>float</code></td><td><code>1</code></td><td><code>simple</code></td></tr><tr><td><code>int</code></td><td><code>1</code></td><td><code>simple</code></td></tr><tr><td><code>uint</code></td><td><code>1</code></td><td><code>simple</code></td></tr><tr><td><code>numword</code></td><td><code>1</code></td><td><code>simple</code></td></tr><tr><td><code>hword_numpart</code></td><td><code>1</code></td><td><code>simple</code></td></tr><tr><td><code>numhword</code></td><td><code>1</code></td><td><code>simple</code></td></tr><tr><td><code>asciiword</code></td><td><code>1</code></td><td><code>hungarian_stem</code></td></tr><tr><td><code>hword_asciipart</code></td><td><code>1</code></td><td><code>hungarian_stem</code></td></tr><tr><td><code>asciihword</code></td><td><code>1</code></td><td><code>hungarian_stem</code></td></tr><tr><td><code>word</code></td><td><code>1</code></td><td><code>hungarian_stem</code></td></tr><tr><td><code>hword_part</code></td><td><code>1</code></td><td><code>hungarian_stem</code></td></tr><tr><td><code>hword</code></td><td><code>1</code></td><td><code>hungarian_stem</code></td></tr></table><h3>\u540c\u7248\u672c\u4e2d\u6587\u624b\u518c\u8282\u9009</h3><p>\n    \u4e00\u4e2a\u6587\u672c\u68c0\u7d22\u914d\u7f6e\u6307\u5b9a\u4e86\u5c06\u4e00\u4e2a\u6587\u6863\u8f6c\u6362\u6210\u4e00\u4e2a <code>tsvector</code> \u6240\u9700\u7684\u6240\u6709\u9009\u9879\uff1a\u7528\u4e8e\u628a\u6587\u672c\u5206\u89e3\u6210\u8bcd\u5143\u7684\u89e3\u6790\u5668\uff0c\u4ee5\u53ca\u7528\u4e8e\u5c06\u6bcf\u4e00\u4e2a\u8bcd\u5143\u8f6c\u6362\u6210\u8bcd\u4f4d\u7684\u8bcd\u5178\u3002\u6bcf\u4e00\u6b21 <code>to_tsvector</code> \u6216 <code>to_tsquery</code> \u7684\u8c03\u7528\u90fd\u9700\u8981\u4e00\u4e2a\u6587\u672c\u68c0\u7d22\u914d\u7f6e\u6765\u6267\u884c\u5176\u5904\u7406\u3002\u914d\u7f6e\u53c2\u6570 <a href=\"/zh/docs/18/runtime-config-client.html#GUC-DEFAULT-TEXT-SEARCH-CONFIG\" rel=\"nofollow\">default_text_search_config</a> \u6307\u5b9a\u4e86\u9ed8\u8ba4\u914d\u7f6e\u7684\u540d\u79f0\uff0c\u5982\u679c\u7701\u7565\u4e86\u663e\u5f0f\u7684\u914d\u7f6e\u53c2\u6570\uff0c\u6587\u672c\u68c0\u7d22\u51fd\u6570\u5c06\u4f1a\u4f7f\u7528\u5b83\u3002\u5b83\u53ef\u4ee5\u5728 <code>postgresql.conf</code> \u4e2d\u8bbe\u7f6e\uff0c\u6216\u8005\u4f7f\u7528 <code>SET</code> \u547d\u4ee4\u4e3a\u4e00\u4e2a\u5355\u72ec\u7684\u4f1a\u8bdd\u8bbe\u7f6e\u3002\n   </p><p>\n    \u6709\u4e00\u4e9b\u9884\u5b9a\u4e49\u7684\u6587\u672c\u68c0\u7d22\u914d\u7f6e\u53ef\u7528\uff0c\u5e76\u4e14\u4f60\u53ef\u4ee5\u5bb9\u6613\u5730\u521b\u5efa\u81ea\u5b9a\u4e49\u7684\u914d\u7f6e\u3002\u4e3a\u4e86\u4fbf\u4e8e\u7ba1\u7406\u6587\u672c\u68c0\u7d22\u5bf9\u8c61\uff0c\u53ef\u4ee5\u4f7f\u7528\u4e00\u7ec4 <acronym>SQL</acronym> \u547d\u4ee4\uff0c\u5e76\u4e14\u6709\u591a\u4e2a <span>psql</span> \u547d\u4ee4\u53ef\u4ee5\u663e\u793a\u6709\u5173\u6587\u672c\u68c0\u7d22\u5bf9\u8c61\uff08<a href=\"/zh/docs/18/textsearch-psql.html\" rel=\"nofollow\">\u7b2c\u00a012.10\u00a0\u8282</a>\uff09\u7684\u4fe1\u606f\u3002\n   </p><p>\n    \u4f5c\u4e3a\u4e00\u4e2a\u793a\u4f8b\uff0c\u6211\u4eec\u5c06\u521b\u5efa\u4e00\u4e2a\u914d\u7f6e <code>pg</code>\uff0c\u4ece\u590d\u5236\u5185\u7f6e\u7684 <code>english</code> \u914d\u7f6e\u5f00\u59cb\uff1a\n\n</p><p>\n    \u6211\u4eec\u5c06\u4f7f\u7528\u4e00\u4e2a PostgreSQL \u76f8\u5173\u7684\u540c\u4e49\u8bcd\u5217\u8868\uff0c\u5e76\u5c06\u5b83\u5b58\u50a8\u5728 <code>$SHAREDIR/tsearch_data/pg_dict.syn</code> \u4e2d\u3002\u6587\u4ef6\u5185\u5bb9\u770b\u8d77\u6765\u50cf\uff1a\n\n</p><p><a href=\"/zh/docs/18/textsearch-configuration.html\" rel=\"nofollow\">\u67e5\u770b\u5b8c\u6574\u4e2d\u6587\u624b\u518c\u4e0e\u4e0a\u4e0b\u6587</a>\u3002</p>", "center_zh_rendered": "<p>\u5168\u6587\u641c\u7d22\u914d\u7f6e hungarian\u3002</p><dl><dt>\u89e3\u6790\u5668</dt><dd><code>default</code></dd><dt>\u914d\u7f6e</dt><dd><code>hungarian</code></dd></dl><h3>\u8bcd\u5143\u4e0e\u8bcd\u5178\u6620\u5c04</h3><table><tbody><tr><th>\u8bcd\u5143\u7c7b\u578b</th><th>\u987a\u5e8f</th><th>\u8bcd\u5178</th></tr><tr><td><code>email</code></td><td><code>1</code></td><td><code>simple</code></td></tr><tr><td><code>url</code></td><td><code>1</code></td><td><code>simple</code></td></tr><tr><td><code>url_path</code></td><td><code>1</code></td><td><code>simple</code></td></tr><tr><td><code>host</code></td><td><code>1</code></td><td><code>simple</code></td></tr><tr><td><code>file</code></td><td><code>1</code></td><td><code>simple</code></td></tr><tr><td><code>version</code></td><td><code>1</code></td><td><code>simple</code></td></tr><tr><td><code>sfloat</code></td><td><code>1</code></td><td><code>simple</code></td></tr><tr><td><code>float</code></td><td><code>1</code></td><td><code>simple</code></td></tr><tr><td><code>int</code></td><td><code>1</code></td><td><code>simple</code></td></tr><tr><td><code>uint</code></td><td><code>1</code></td><td><code>simple</code></td></tr><tr><td><code>numword</code></td><td><code>1</code></td><td><code>simple</code></td></tr><tr><td><code>hword_numpart</code></td><td><code>1</code></td><td><code>simple</code></td></tr><tr><td><code>numhword</code></td><td><code>1</code></td><td><code>simple</code></td></tr><tr><td><code>asciiword</code></td><td><code>1</code></td><td><code>hungarian_stem</code></td></tr><tr><td><code>hword_asciipart</code></td><td><code>1</code></td><td><code>hungarian_stem</code></td></tr><tr><td><code>asciihword</code></td><td><code>1</code></td><td><code>hungarian_stem</code></td></tr><tr><td><code>word</code></td><td><code>1</code></td><td><code>hungarian_stem</code></td></tr><tr><td><code>hword_part</code></td><td><code>1</code></td><td><code>hungarian_stem</code></td></tr><tr><td><code>hword</code></td><td><code>1</code></td><td><code>hungarian_stem</code></td></tr></tbody></table><h3>\u540c\u7248\u672c\u4e2d\u6587\u624b\u518c\u8282\u9009</h3><p>\n    \u4e00\u4e2a\u6587\u672c\u68c0\u7d22\u914d\u7f6e\u6307\u5b9a\u4e86\u5c06\u4e00\u4e2a\u6587\u6863\u8f6c\u6362\u6210\u4e00\u4e2a <code>tsvector</code> \u6240\u9700\u7684\u6240\u6709\u9009\u9879\uff1a\u7528\u4e8e\u628a\u6587\u672c\u5206\u89e3\u6210\u8bcd\u5143\u7684\u89e3\u6790\u5668\uff0c\u4ee5\u53ca\u7528\u4e8e\u5c06\u6bcf\u4e00\u4e2a\u8bcd\u5143\u8f6c\u6362\u6210\u8bcd\u4f4d\u7684\u8bcd\u5178\u3002\u6bcf\u4e00\u6b21 <code>to_tsvector</code> \u6216 <code>to_tsquery</code> \u7684\u8c03\u7528\u90fd\u9700\u8981\u4e00\u4e2a\u6587\u672c\u68c0\u7d22\u914d\u7f6e\u6765\u6267\u884c\u5176\u5904\u7406\u3002\u914d\u7f6e\u53c2\u6570 <a href=\"/docs/18/runtime-config-client.html#GUC-DEFAULT-TEXT-SEARCH-CONFIG\">default_text_search_config</a> \u6307\u5b9a\u4e86\u9ed8\u8ba4\u914d\u7f6e\u7684\u540d\u79f0\uff0c\u5982\u679c\u7701\u7565\u4e86\u663e\u5f0f\u7684\u914d\u7f6e\u53c2\u6570\uff0c\u6587\u672c\u68c0\u7d22\u51fd\u6570\u5c06\u4f1a\u4f7f\u7528\u5b83\u3002\u5b83\u53ef\u4ee5\u5728 <code>postgresql.conf</code> \u4e2d\u8bbe\u7f6e\uff0c\u6216\u8005\u4f7f\u7528 <code>SET</code> \u547d\u4ee4\u4e3a\u4e00\u4e2a\u5355\u72ec\u7684\u4f1a\u8bdd\u8bbe\u7f6e\u3002\n   </p><p>\n    \u6709\u4e00\u4e9b\u9884\u5b9a\u4e49\u7684\u6587\u672c\u68c0\u7d22\u914d\u7f6e\u53ef\u7528\uff0c\u5e76\u4e14\u4f60\u53ef\u4ee5\u5bb9\u6613\u5730\u521b\u5efa\u81ea\u5b9a\u4e49\u7684\u914d\u7f6e\u3002\u4e3a\u4e86\u4fbf\u4e8e\u7ba1\u7406\u6587\u672c\u68c0\u7d22\u5bf9\u8c61\uff0c\u53ef\u4ee5\u4f7f\u7528\u4e00\u7ec4 SQL \u547d\u4ee4\uff0c\u5e76\u4e14\u6709\u591a\u4e2a <span>psql</span> \u547d\u4ee4\u53ef\u4ee5\u663e\u793a\u6709\u5173\u6587\u672c\u68c0\u7d22\u5bf9\u8c61\uff08<a href=\"/docs/18/textsearch-psql.html\">\u7b2c\u00a012.10\u00a0\u8282</a>\uff09\u7684\u4fe1\u606f\u3002\n   </p><p>\n    \u4f5c\u4e3a\u4e00\u4e2a\u793a\u4f8b\uff0c\u6211\u4eec\u5c06\u521b\u5efa\u4e00\u4e2a\u914d\u7f6e <code>pg</code>\uff0c\u4ece\u590d\u5236\u5185\u7f6e\u7684 <code>english</code> \u914d\u7f6e\u5f00\u59cb\uff1a\n\n</p><p>\n    \u6211\u4eec\u5c06\u4f7f\u7528\u4e00\u4e2a PostgreSQL \u76f8\u5173\u7684\u540c\u4e49\u8bcd\u5217\u8868\uff0c\u5e76\u5c06\u5b83\u5b58\u50a8\u5728 <code>$SHAREDIR/tsearch_data/pg_dict.syn</code> \u4e2d\u3002\u6587\u4ef6\u5185\u5bb9\u770b\u8d77\u6765\u50cf\uff1a\n\n</p><p><a href=\"/docs/18/textsearch-configuration.html\">\u67e5\u770b\u5b8c\u6574\u4e2d\u6587\u624b\u518c\u4e0e\u4e0a\u4e0b\u6587</a>\u3002</p>"}, "comparison": {"left": "17", "right": "18", "status": "unchanged", "diff": ""}}