{"Entry":{"collection":"func","key":"phraseto-tsquery","name":"phraseto_tsquery","aliases":[],"metadata":{"changed_in":[],"changes":[{"descriptions_changed":false,"doc_overhaul":false,"from":"9.5","group_changed":null,"signatures":{"added":[],"removed":[]},"status":"added","to":"9.6"},{"descriptions_changed":false,"doc_overhaul":true,"from":"12","group_changed":null,"signatures":{"added":[],"removed":[]},"status":"changed","to":"13"}],"content_hash":"d7463aea2a763a6607ccda11d9fd37bcf1a8033d96f9e9daab2702fa220c6e67","derived_content_hash":"d384c6a7266dfbf4f5035ea26da0d0cd4acfebb97350153a0de11a361490c87f","documentation_refresh":{"batch":"20261113","original_source_rev":"wiki-repair-20261023:ab9d4d1d8feb4950fa0931f7e1be666dd47c26b43611b9b30ccf063bc4d5cee0","versions":{"14":"14.25","15":"15.20","16":"16.16","17":"17.12","18":"18.7","19":"19rc2"}},"first_version":"9.6","group":"textsearch","group_label":"Text Search Functions And Operators","groups":["textsearch"],"imported_at":"2026-09-14T21:49:48.739004+08:00","last_version":"20","name":"phraseto_tsquery","name_key":"phraseto_tsquery","position":12005,"present_in":["9.6","10","11","12","13","14","15","16","17","18","19","20"],"repair_provenance":{"original_source_revision":"2026-09-14T13:14:25.684213+00:00@99e6866c","receipt_sha256":"4566a2435449c5ef32f3c29e8ed93b700d52d369c2fd3fe13b0078c76880a3c6","repair":"wiki-repair-20261023"},"signature":"phraseto_tsquery ( [ config regconfig, ] query text ) → tsquery","signature_count":1,"slug":"phraseto-tsquery","source_rev":"wiki-repair-20261023:ab9d4d1d8feb4950fa0931f7e1be666dd47c26b43611b9b30ccf063bc4d5cee0","summary":"Converts text to a tsquery, normalizing words according to the specified or default configuration.","summary_zh":""}},"Definition":{"Collection":"func","Key":"phraseto-tsquery","SourceDatabase":"center","Version":"18","SourceTable":"func","SourceKey":"phraseto-tsquery","SourceRevision":"wiki-repair-20261023:ab9d4d1d8feb4950fa0931f7e1be666dd47c26b43611b9b30ccf063bc4d5cee0","Facts":{"description":"Converts text to a tsquery, normalizing words according to the specified or default configuration. Any punctuation in the string is ignored (it does not determine query operators). The resulting query matches phrases containing all non-stopwords in the text.","description_html":"Converts text to a \u003ccode class=\"type\"\u003etsquery\u003c/code\u003e, normalizing words according to the specified or default configuration. Any punctuation in the string is ignored (it does not determine query operators). The resulting query matches phrases containing all non-stopwords in the text.","description_zh":"将文本转换为 tsquery，根据指定的或默认配置对单词进行正规化。字符串中的任何标点符号都会被忽略（它不决定查询操作符）。结果查询匹配包含文本中所有非停用词的短语。","description_zh_html":"将文本转换为 \u003ccode class=\"type\"\u003etsquery\u003c/code\u003e，根据指定的或默认配置对单词进行正规化。字符串中的任何标点符号都会被忽略（它不决定查询操作符）。结果查询匹配包含文本中所有非停用词的短语。","doc":{"anchor":"TEXTSEARCH-FUNCTIONS-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":"Converts text to a tsquery, normalizing words according to the specified or default configuration. Any punctuation in the string is ignored (it does not determine query operators). The resulting query matches phrases containing all non-stopwords in the text.","description_html":"Converts text to a \u003ccode class=\"type\"\u003etsquery\u003c/code\u003e, normalizing words according to the specified or default configuration. Any punctuation in the string is ignored (it does not determine query operators). The resulting query matches phrases containing all non-stopwords in the text.","description_zh":"将文本转换为 tsquery，根据指定的或默认配置对单词进行正规化。字符串中的任何标点符号都会被忽略（它不决定查询操作符）。结果查询匹配包含文本中所有非停用词的短语。","description_zh_html":"将文本转换为 \u003ccode class=\"type\"\u003etsquery\u003c/code\u003e，根据指定的或默认配置对单词进行正规化。字符串中的任何标点符号都会被忽略（它不决定查询操作符）。结果查询匹配包含文本中所有非停用词的短语。","examples":[{"expr":"phraseto_tsquery('english', 'The Fat Rats')","result":"'fat' \u003c-\u003e 'rat'"},{"expr":"phraseto_tsquery('english', 'The Cat and Rats')","result":"'cat' \u003c2\u003e 'rat'"}],"html":"\u003ccode class=\"function\"\u003ephraseto_tsquery\u003c/code\u003e ( [\u003cspan class=\"optional\"\u003e\u003cem class=\"parameter\"\u003e\u003ccode\u003econfig\u003c/code\u003e\u003c/em\u003e \u003ccode class=\"type\"\u003eregconfig\u003c/code\u003e, \u003c/span\u003e] \u003cem class=\"parameter\"\u003e\u003ccode\u003equery\u003c/code\u003e\u003c/em\u003e \u003ccode class=\"type\"\u003etext\u003c/code\u003e ) → \u003ccode class=\"returnvalue\"\u003etsquery\u003c/code\u003e","returns":"tsquery","text":"phraseto_tsquery ( [config regconfig, ] query text ) → tsquery","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-TABLE","file":"functions-textsearch.html","sha256":"2383d74fd6eee4b71e1b97dec9754623081103120b67a9793f8deac5fff77727","slug":"18"}},"MeasuredEvidence":{}},"Text":{"Collection":"func","Key":"phraseto-tsquery","SourceDatabase":"center","Version":"18","Locale":"en","Title":"phraseto_tsquery","Summary":"Converts text to a tsquery, normalizing words according to the specified or default configuration. Any punctuation in the string is ignored (it does not determine query operators). The resulting query matches phrases containing all non-stopwords in the text.","BodyHTML":"Converts text to a \u003ccode\u003etsquery\u003c/code\u003e, normalizing words according to the specified or default configuration. Any punctuation in the string is ignored (it does not determine query operators). The resulting query matches phrases containing all non-stopwords in the text.","SourceRevision":"wiki-repair-20261023:ab9d4d1d8feb4950fa0931f7e1be666dd47c26b43611b9b30ccf063bc4d5cee0","ContentHash":"92cc3212ace61cfd7761f33264c288366067685419b73fad4895e2aa9af998d7","Payload":{"description":"Converts text to a tsquery, normalizing words according to the specified or default configuration. Any punctuation in the string is ignored (it does not determine query operators). The resulting query matches phrases containing all non-stopwords in the text.","description_html":"Converts text to a \u003ccode class=\"type\"\u003etsquery\u003c/code\u003e, normalizing words according to the specified or default configuration. Any punctuation in the string is ignored (it does not determine query operators). The resulting query matches phrases containing all non-stopwords in the text.","signatures":[{"description":"Converts text to a tsquery, normalizing words according to the specified or default configuration. Any punctuation in the string is ignored (it does not determine query operators). The resulting query matches phrases containing all non-stopwords in the text.","description_html":"Converts text to a \u003ccode class=\"type\"\u003etsquery\u003c/code\u003e, normalizing words according to the specified or default configuration. Any punctuation in the string is ignored (it does not determine query operators). The resulting query matches phrases containing all non-stopwords in the text.","description_zh":"将文本转换为 tsquery，根据指定的或默认配置对单词进行正规化。字符串中的任何标点符号都会被忽略（它不决定查询操作符）。结果查询匹配包含文本中所有非停用词的短语。","description_zh_html":"将文本转换为 \u003ccode class=\"type\"\u003etsquery\u003c/code\u003e，根据指定的或默认配置对单词进行正规化。字符串中的任何标点符号都会被忽略（它不决定查询操作符）。结果查询匹配包含文本中所有非停用词的短语。","examples":[{"expr":"phraseto_tsquery('english', 'The Fat Rats')","result":"'fat' \u003c-\u003e 'rat'"},{"expr":"phraseto_tsquery('english', 'The Cat and Rats')","result":"'cat' \u003c2\u003e 'rat'"}],"html":"\u003ccode class=\"function\"\u003ephraseto_tsquery\u003c/code\u003e ( [\u003cspan class=\"optional\"\u003e\u003cem class=\"parameter\"\u003e\u003ccode\u003econfig\u003c/code\u003e\u003c/em\u003e \u003ccode class=\"type\"\u003eregconfig\u003c/code\u003e, \u003c/span\u003e] \u003cem class=\"parameter\"\u003e\u003ccode\u003equery\u003c/code\u003e\u003c/em\u003e \u003ccode class=\"type\"\u003etext\u003c/code\u003e ) → \u003ccode class=\"returnvalue\"\u003etsquery\u003c/code\u003e","returns":"tsquery","text":"phraseto_tsquery ( [config regconfig, ] query text ) → tsquery","zh_from":"same-version-manual"}]}},"RequestedLocale":"en","Fallback":false,"Versions":["10","11","12","13","14","15","16","17","18","19","20","9.6"],"Locales":["en","zh-Hans"],"Signatures":[{"Version":"18","Ordinal":0,"Hash":"c35a2d5740472e334dfa33150edd2b80a741c570882d97bcc549f621b6f6ccf9","Text":"phraseto_tsquery ( [config regconfig, ] query text ) → tsquery","Returns":"tsquery","Payload":{"description":"Converts text to a tsquery, normalizing words according to the specified or default configuration. Any punctuation in the string is ignored (it does not determine query operators). The resulting query matches phrases containing all non-stopwords in the text.","description_html":"Converts text to a \u003ccode class=\"type\"\u003etsquery\u003c/code\u003e, normalizing words according to the specified or default configuration. Any punctuation in the string is ignored (it does not determine query operators). The resulting query matches phrases containing all non-stopwords in the text.","description_zh":"将文本转换为 tsquery，根据指定的或默认配置对单词进行正规化。字符串中的任何标点符号都会被忽略（它不决定查询操作符）。结果查询匹配包含文本中所有非停用词的短语。","description_zh_html":"将文本转换为 \u003ccode class=\"type\"\u003etsquery\u003c/code\u003e，根据指定的或默认配置对单词进行正规化。字符串中的任何标点符号都会被忽略（它不决定查询操作符）。结果查询匹配包含文本中所有非停用词的短语。","examples":[{"expr":"phraseto_tsquery('english', 'The Fat Rats')","result":"'fat' \u003c-\u003e 'rat'"},{"expr":"phraseto_tsquery('english', 'The Cat and Rats')","result":"'cat' \u003c2\u003e 'rat'"}],"html":"\u003ccode class=\"function\"\u003ephraseto_tsquery\u003c/code\u003e ( [\u003cspan class=\"optional\"\u003e\u003cem class=\"parameter\"\u003e\u003ccode\u003econfig\u003c/code\u003e\u003c/em\u003e \u003ccode class=\"type\"\u003eregconfig\u003c/code\u003e, \u003c/span\u003e] \u003cem class=\"parameter\"\u003e\u003ccode\u003equery\u003c/code\u003e\u003c/em\u003e \u003ccode class=\"type\"\u003etext\u003c/code\u003e ) → \u003ccode class=\"returnvalue\"\u003etsquery\u003c/code\u003e","returns":"tsquery","text":"phraseto_tsquery ( [config regconfig, ] query text ) → tsquery","zh_from":"same-version-manual"}}],"Spellings":null,"SQLState":null,"Evidence":null}
