{"Entry":{"collection":"func","key":"plainto-tsquery","name":"plainto_tsquery","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":"e25d48b182db3be2879ce8942db5e655dc69b07d28ccd8d061240f879bbe2c25","first_version":"8.3","group":"textsearch","group_label":"Text Search Functions And Operators","groups":["textsearch"],"imported_at":"2026-09-27T17:57:28.698678+08:00","last_version":"20","name":"plainto_tsquery","name_key":"plainto_tsquery","position":12006,"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"],"signature":"plainto_tsquery ( [ config regconfig, ] query text ) → tsquery","signature_count":1,"slug":"plainto-tsquery","source_rev":"b7bd9cda","summary":"Converts text to a tsquery, normalizing words according to the specified or default configuration.","summary_zh":""}},"Definition":{"Collection":"func","Key":"plainto-tsquery","SourceDatabase":"center","Version":"18","SourceTable":"func","SourceKey":"plainto-tsquery","SourceRevision":"b7bd9cda","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 documents 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 documents 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 documents 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 documents containing all non-stopwords in the text.","description_zh":"","description_zh_html":"","examples":[{"expr":"plainto_tsquery('english', 'The Fat Rats')","result":"'fat' \u0026 'rat'"}],"html":"\u003ccode class=\"function\"\u003eplainto_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":"plainto_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":"plainto-tsquery","SourceDatabase":"pgweb","Version":"18","Locale":"zh-Hans","Title":"plainto_tsquery","Summary":"将文本转换为tsquery，根据指定的或默认配置对单词进行正规化。字符串中的任何标点符号都会被忽略（它们不决定查询操作符）。生成的查询匹配包含文本中所有非停用词的文档。","BodyHTML":"将文本转换为\u003ccode\u003etsquery\u003c/code\u003e，根据指定的或默认配置对单词进行正规化。字符串中的任何标点符号都会被忽略（它们不决定查询操作符）。生成的查询匹配包含文本中所有非停用词的文档。\u003cpre\u003eplainto_tsquery ( [ config regconfig, ] query text ) → tsquery\u003c/pre\u003e将文本转换为\u003ccode\u003etsquery\u003c/code\u003e，根据指定的或默认配置对单词进行正规化。字符串中的任何标点符号都会被忽略（它们不决定查询操作符）。生成的查询匹配包含文本中所有非停用词的文档。","SourceRevision":"1b5ca64c","ContentHash":"f720b80f9949f64a15c3c2bc3c4ddd4bc585e6058e4eefc456ed332e662b09e3","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":"plainto_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","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":"3a7a8471a5c559077c8c20fd25a32cc3bb40e000c48ee3dfe36025f63f564d5c","Text":"plainto_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 documents 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 documents containing all non-stopwords in the text.","description_zh":"","description_zh_html":"","examples":[{"expr":"plainto_tsquery('english', 'The Fat Rats')","result":"'fat' \u0026 'rat'"}],"html":"\u003ccode class=\"function\"\u003eplainto_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":"plainto_tsquery ( [ config regconfig, ] query text ) → tsquery","zh_from":""}}],"Spellings":null,"SQLState":null,"Evidence":null}
