{"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","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"],"signature":"phraseto_tsquery ( [ config regconfig, ] query text ) → tsquery","signature_count":1,"slug":"phraseto-tsquery","source_rev":"2026-09-14T13:14:25.684213+00:00@99e6866c","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":"2026-09-14T13:14:25.684213+00:00@99e6866c","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":"","description_zh_html":"","doc":{"anchor":"TEXTSEARCH-FUNCTIONS-TABLE","file":"functions-textsearch.html","slug":"18"},"group":"textsearch","group_label":"Text Search Functions And Operators","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":"","description_zh_html":"","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":""}],"zh_from":""},"ManualEvidence":{"doc":{"anchor":"TEXTSEARCH-FUNCTIONS-TABLE","file":"functions-textsearch.html","slug":"18"}},"MeasuredEvidence":{}},"Text":{"Collection":"func","Key":"phraseto-tsquery","SourceDatabase":"pgweb","Version":"18","Locale":"zh-Hans","Title":"phraseto_tsquery","Summary":"将文本转换为tsquery，根据指定的或默认配置对单词进行正规化。字符串中的任何标点符号都会被忽略（它不决定查询操作符）。结果查询匹配包含文本中所有非停用词的短语。","BodyHTML":"将文本转换为\u003ccode\u003etsquery\u003c/code\u003e，根据指定的或默认配置对单词进行正规化。字符串中的任何标点符号都会被忽略（它不决定查询操作符）。结果查询匹配包含文本中所有非停用词的短语。\u003cpre\u003ephraseto_tsquery ( [ config regconfig, ] query text ) → tsquery\u003c/pre\u003e将文本转换为\u003ccode\u003etsquery\u003c/code\u003e，根据指定的或默认配置对单词进行正规化。字符串中的任何标点符号都会被忽略（它不决定查询操作符）。结果查询匹配包含文本中所有非停用词的短语。","SourceRevision":"1b5ca64c","ContentHash":"54ff175e7dfcb75e4fd585150f0753dab91c09262bc1e10ffe02223729e177a8","Payload":{"description_zh":"将文本转换为tsquery，根据指定的或默认配置对单词进行正规化。字符串中的任何标点符号都会被忽略（它不决定查询操作符）。结果查询匹配包含文本中所有非停用词的短语。","description_zh_html":"将文本转换为\u003ccode class=\"type\"\u003etsquery\u003c/code\u003e，根据指定的或默认配置对单词进行正规化。字符串中的任何标点符号都会被忽略（它不决定查询操作符）。结果查询匹配包含文本中所有非停用词的短语。","signatures":[{"description_zh":"将文本转换为tsquery，根据指定的或默认配置对单词进行正规化。字符串中的任何标点符号都会被忽略（它不决定查询操作符）。结果查询匹配包含文本中所有非停用词的短语。","description_zh_html":"将文本转换为\u003ccode class=\"type\"\u003etsquery\u003c/code\u003e，根据指定的或默认配置对单词进行正规化。字符串中的任何标点符号都会被忽略（它不决定查询操作符）。结果查询匹配包含文本中所有非停用词的短语。","returns":"tsquery","text":"phraseto_tsquery ( [ config regconfig, ] query text ) → tsquery","zh_from":"doc"}],"zh_from":"doc"}},"RequestedLocale":"zh-Hans","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":"1cc502d397241a4595c448726efad13c542672c293b2a7b992e34b33d3f6558b","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":"","description_zh_html":"","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":""}}],"Spellings":null,"SQLState":null,"Evidence":null}
