{"Entry":{"collection":"func","key":"ts-lexize","name":"ts_lexize","aliases":[],"metadata":{"changed_in":[],"changes":[{"descriptions_changed":false,"doc_overhaul":false,"from":"8.2","group_changed":null,"signatures":{"added":[],"removed":[]},"status":"added","to":"8.3"},{"descriptions_changed":false,"doc_overhaul":true,"from":"12","group_changed":null,"signatures":{"added":[],"removed":[]},"status":"changed","to":"13"}],"content_hash":"84933e9168f47cfd1ed39441680699df8d9b4f314048536da4c6871a53e8d2f1","derived_content_hash":"2531a9e3ee2337b3028de3809db6a744b748b39d87e9fdeee94927619ddf65a8","documentation_refresh":{"batch":"20261113","original_source_rev":"wiki-repair-20261023:b8eec04871f6fdbe47e8c7b83c02139ee9c63ec8ded68db331bab2d3ab3c7bb9","versions":{"14":"14.25","15":"15.20","16":"16.16","17":"17.12","18":"18.7","19":"19rc2"}},"first_version":"8.3","group":"textsearch","group_label":"Text Search Functions And Operators","groups":["textsearch"],"imported_at":"2026-09-27T17:57:28.723648+08:00","last_version":"20","name":"ts_lexize","name_key":"ts_lexize","position":12016,"present_in":["8.3","8.4","9.0","9.1","9.2","9.3","9.4","9.5","9.6","10","11","12","13","14","15","16","17","18","19","20"],"repair_provenance":{"original_source_revision":"wiki-repair-20261023:6e51373781d338ed5513e40f2dfa9f7837fa22e652217a3ba8712c3bd3e70dc2","receipt_sha256":"55d4dedf9bd4dc15dfeabc1af39c24f290d55cf8ad65cd8d158c027abd81e530","repair":"wiki-repair-20261023"},"signature":"ts_lexize ( dict regdictionary, token text ) → text[]","signature_count":1,"slug":"ts-lexize","source_rev":"wiki-repair-20261023:b8eec04871f6fdbe47e8c7b83c02139ee9c63ec8ded68db331bab2d3ab3c7bb9","summary":"Returns an array of replacement lexemes if the input token is known to the dictionary, or an empty array if the token is known to the dictionary but it is a stop word, or NULL if it is not a known word.","summary_zh":""}},"Definition":{"Collection":"func","Key":"ts-lexize","SourceDatabase":"center","Version":"18","SourceTable":"func","SourceKey":"ts-lexize","SourceRevision":"wiki-repair-20261023:b8eec04871f6fdbe47e8c7b83c02139ee9c63ec8ded68db331bab2d3ab3c7bb9","Facts":{"description":"Returns an array of replacement lexemes if the input token is known to the dictionary, or an empty array if the token is known to the dictionary but it is a stop word, or NULL if it is not a known word. See Section 12.8.3 for details.","description_html":"Returns an array of replacement lexemes if the input token is known to the dictionary, or an empty array if the token is known to the dictionary but it is a stop word, or NULL if it is not a known word. See \u003ca href=\"/docs/18/textsearch-debugging.html#TEXTSEARCH-DICTIONARY-TESTING\" title=\"12.8.3. Dictionary Testing\"\u003eSection 12.8.3\u003c/a\u003e for details.","description_zh":"如果词典识别输入词元，则返回由替换词位组成的数组；如果词典识别该词元，但它是停用词，则返回空数组；如果词典无法识别该词元，则返回 NULL。详情参见第 12.8.3 节。","description_zh_html":"如果词典识别输入词元，则返回由替换词位组成的数组；如果词典识别该词元，但它是停用词，则返回空数组；如果词典无法识别该词元，则返回 NULL。详情参见\u003ca href=\"/docs/18/textsearch-debugging.html#TEXTSEARCH-DICTIONARY-TESTING\" title=\"12.8.3. 词典测试\"\u003e第 12.8.3 节\u003c/a\u003e。","doc":{"anchor":"TEXTSEARCH-FUNCTIONS-DEBUG-TABLE","file":"functions-textsearch.html","sha256":"2383d74fd6eee4b71e1b97dec9754623081103120b67a9793f8deac5fff77727","slug":"18"},"documentation_revision":{"inputs":[{"file":"functions-textsearch.html","kind":"same-version-reviewed-manual","locale":"en","sha256":"2383d74fd6eee4b71e1b97dec9754623081103120b67a9793f8deac5fff77727","version":"18.7"},{"file":"functions-textsearch.html","kind":"same-version-reviewed-manual","locale":"zh-Hans","sha256":"d8d1661c6d67bb109c5266be16236950471c11d91181aafa96e9055792c4fa78","version":"18.7"}],"release":"18.7","runtime_remeasured":false,"source_revision":"pgdoc:b9f0e7232f60f380d642ac9b99226606c254b552"},"group":"textsearch","group_label":"文本搜索函数和操作符","lang":"en","layout":"table-new","pages":["functions-textsearch.html"],"prose_only":false,"signatures":[{"description":"Returns an array of replacement lexemes if the input token is known to the dictionary, or an empty array if the token is known to the dictionary but it is a stop word, or NULL if it is not a known word. See Section 12.8.3 for details.","description_html":"Returns an array of replacement lexemes if the input token is known to the dictionary, or an empty array if the token is known to the dictionary but it is a stop word, or NULL if it is not a known word. See \u003ca href=\"/docs/18/textsearch-debugging.html#TEXTSEARCH-DICTIONARY-TESTING\" title=\"12.8.3. Dictionary Testing\"\u003eSection 12.8.3\u003c/a\u003e for details.","description_zh":"如果词典识别输入词元，则返回由替换词位组成的数组；如果词典识别该词元，但它是停用词，则返回空数组；如果词典无法识别该词元，则返回 NULL。详情参见第 12.8.3 节。","description_zh_html":"如果词典识别输入词元，则返回由替换词位组成的数组；如果词典识别该词元，但它是停用词，则返回空数组；如果词典无法识别该词元，则返回 NULL。详情参见\u003ca href=\"/docs/18/textsearch-debugging.html#TEXTSEARCH-DICTIONARY-TESTING\" title=\"12.8.3. 词典测试\"\u003e第 12.8.3 节\u003c/a\u003e。","examples":[{"expr":"ts_lexize('english_stem', 'stars')","result":"{star}"}],"html":"\u003ccode class=\"function\"\u003ets_lexize\u003c/code\u003e ( \u003cem class=\"parameter\"\u003e\u003ccode\u003edict\u003c/code\u003e\u003c/em\u003e \u003ccode class=\"type\"\u003eregdictionary\u003c/code\u003e, \u003cem class=\"parameter\"\u003e\u003ccode\u003etoken\u003c/code\u003e\u003c/em\u003e \u003ccode class=\"type\"\u003etext\u003c/code\u003e ) → \u003ccode class=\"returnvalue\"\u003etext[]\u003c/code\u003e","returns":"text[]","text":"ts_lexize ( dict regdictionary, token text ) → text[]","zh_from":"same-version-manual"}],"translation_provenance":{"inputs":[{"kind":"current-pgdoc-translation","path":"/Users/vonng/pgsty/pgdoc/zh/18/html/functions-textsearch.html","sha256":"8401bb0d06633da86885cceee001a41a7bc026a1e7cb38731a171ec09f7e10a4"}],"kind":"same-version-pgdoc","locale":"zh-Hans","source_revision":"b1b500221dbe5437cfca004d6b04d3f6e422765d","version":"18"},"zh_from":"same-version-manual"},"ManualEvidence":{"doc":{"anchor":"TEXTSEARCH-FUNCTIONS-DEBUG-TABLE","file":"functions-textsearch.html","sha256":"2383d74fd6eee4b71e1b97dec9754623081103120b67a9793f8deac5fff77727","slug":"18"}},"MeasuredEvidence":{}},"Text":{"Collection":"func","Key":"ts-lexize","SourceDatabase":"center","Version":"18","Locale":"en","Title":"ts_lexize","Summary":"Returns an array of replacement lexemes if the input token is known to the dictionary, or an empty array if the token is known to the dictionary but it is a stop word, or NULL if it is not a known word. See Section 12.8.3 for details.","BodyHTML":"Returns an array of replacement lexemes if the input token is known to the dictionary, or an empty array if the token is known to the dictionary but it is a stop word, or NULL if it is not a known word. See \u003ca href=\"/docs/18/textsearch-debugging.html#TEXTSEARCH-DICTIONARY-TESTING\" rel=\"nofollow\"\u003eSection 12.8.3\u003c/a\u003e for details.","SourceRevision":"wiki-repair-20261023:b8eec04871f6fdbe47e8c7b83c02139ee9c63ec8ded68db331bab2d3ab3c7bb9","ContentHash":"4ff1a37b69d5867d6f63075b0047539a3d53a58bd910ecfcf103da9c4c4873b7","Payload":{"description":"Returns an array of replacement lexemes if the input token is known to the dictionary, or an empty array if the token is known to the dictionary but it is a stop word, or NULL if it is not a known word. See Section 12.8.3 for details.","description_html":"Returns an array of replacement lexemes if the input token is known to the dictionary, or an empty array if the token is known to the dictionary but it is a stop word, or NULL if it is not a known word. See \u003ca href=\"/docs/18/textsearch-debugging.html#TEXTSEARCH-DICTIONARY-TESTING\" title=\"12.8.3. Dictionary Testing\"\u003eSection 12.8.3\u003c/a\u003e for details.","signatures":[{"description":"Returns an array of replacement lexemes if the input token is known to the dictionary, or an empty array if the token is known to the dictionary but it is a stop word, or NULL if it is not a known word. See Section 12.8.3 for details.","description_html":"Returns an array of replacement lexemes if the input token is known to the dictionary, or an empty array if the token is known to the dictionary but it is a stop word, or NULL if it is not a known word. See \u003ca href=\"/docs/18/textsearch-debugging.html#TEXTSEARCH-DICTIONARY-TESTING\" title=\"12.8.3. Dictionary Testing\"\u003eSection 12.8.3\u003c/a\u003e for details.","description_zh":"如果词典识别输入词元，则返回由替换词位组成的数组；如果词典识别该词元，但它是停用词，则返回空数组；如果词典无法识别该词元，则返回 NULL。详情参见第 12.8.3 节。","description_zh_html":"如果词典识别输入词元，则返回由替换词位组成的数组；如果词典识别该词元，但它是停用词，则返回空数组；如果词典无法识别该词元，则返回 NULL。详情参见\u003ca href=\"/docs/18/textsearch-debugging.html#TEXTSEARCH-DICTIONARY-TESTING\" title=\"12.8.3. 词典测试\"\u003e第 12.8.3 节\u003c/a\u003e。","examples":[{"expr":"ts_lexize('english_stem', 'stars')","result":"{star}"}],"html":"\u003ccode class=\"function\"\u003ets_lexize\u003c/code\u003e ( \u003cem class=\"parameter\"\u003e\u003ccode\u003edict\u003c/code\u003e\u003c/em\u003e \u003ccode class=\"type\"\u003eregdictionary\u003c/code\u003e, \u003cem class=\"parameter\"\u003e\u003ccode\u003etoken\u003c/code\u003e\u003c/em\u003e \u003ccode class=\"type\"\u003etext\u003c/code\u003e ) → \u003ccode class=\"returnvalue\"\u003etext[]\u003c/code\u003e","returns":"text[]","text":"ts_lexize ( dict regdictionary, token text ) → text[]","zh_from":"same-version-manual"}]}},"RequestedLocale":"en","Fallback":false,"Versions":["10","11","12","13","14","15","16","17","18","19","20","8.3","8.4","9.0","9.1","9.2","9.3","9.4","9.5","9.6"],"Locales":["en","zh-Hans"],"Signatures":[{"Version":"18","Ordinal":0,"Hash":"703b0ea499d9dc39a096a708f97cbecb24516b7b9e602705f423947143cece9c","Text":"ts_lexize ( dict regdictionary, token text ) → text[]","Returns":"text[]","Payload":{"description":"Returns an array of replacement lexemes if the input token is known to the dictionary, or an empty array if the token is known to the dictionary but it is a stop word, or NULL if it is not a known word. See Section 12.8.3 for details.","description_html":"Returns an array of replacement lexemes if the input token is known to the dictionary, or an empty array if the token is known to the dictionary but it is a stop word, or NULL if it is not a known word. See \u003ca href=\"/docs/18/textsearch-debugging.html#TEXTSEARCH-DICTIONARY-TESTING\" title=\"12.8.3. Dictionary Testing\"\u003eSection 12.8.3\u003c/a\u003e for details.","description_zh":"如果词典识别输入词元，则返回由替换词位组成的数组；如果词典识别该词元，但它是停用词，则返回空数组；如果词典无法识别该词元，则返回 NULL。详情参见第 12.8.3 节。","description_zh_html":"如果词典识别输入词元，则返回由替换词位组成的数组；如果词典识别该词元，但它是停用词，则返回空数组；如果词典无法识别该词元，则返回 NULL。详情参见\u003ca href=\"/docs/18/textsearch-debugging.html#TEXTSEARCH-DICTIONARY-TESTING\" title=\"12.8.3. 词典测试\"\u003e第 12.8.3 节\u003c/a\u003e。","examples":[{"expr":"ts_lexize('english_stem', 'stars')","result":"{star}"}],"html":"\u003ccode class=\"function\"\u003ets_lexize\u003c/code\u003e ( \u003cem class=\"parameter\"\u003e\u003ccode\u003edict\u003c/code\u003e\u003c/em\u003e \u003ccode class=\"type\"\u003eregdictionary\u003c/code\u003e, \u003cem class=\"parameter\"\u003e\u003ccode\u003etoken\u003c/code\u003e\u003c/em\u003e \u003ccode class=\"type\"\u003etext\u003c/code\u003e ) → \u003ccode class=\"returnvalue\"\u003etext[]\u003c/code\u003e","returns":"text[]","text":"ts_lexize ( dict regdictionary, token text ) → text[]","zh_from":"same-version-manual"}}],"Spellings":null,"SQLState":null,"Evidence":null}
