{"Entry":{"collection":"func","key":"querytree","name":"querytree","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":"185c31194f546dc6882550a887f97ac498c46369822448b7511e9d564b8e0cd8","derived_content_hash":"32b828c0b09e0e493cb5c8dd776a1ac069e09b3b7e13a601e1f65e2c57a5f021","documentation_refresh":{"batch":"20261113","original_source_rev":"wiki-repair-20261023:495a45cd4e9ce30341eb99ddce22263d27fbffab0d2e5e8df38bb395e50fe0eb","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.701419+08:00","last_version":"20","name":"querytree","name_key":"querytree","position":12007,"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:5a19f73a2536afba192986636d29f4ed30397948f83b8b82f126ecceea02e8fa","receipt_sha256":"57c1bd279081d1ec89ad16b05ffbc9e49dddf664d461e9a037a18bde4fe8a87f","repair":"wiki-repair-20261023"},"signature":"querytree ( tsquery ) → text","signature_count":1,"slug":"querytree","source_rev":"wiki-repair-20261023:495a45cd4e9ce30341eb99ddce22263d27fbffab0d2e5e8df38bb395e50fe0eb","summary":"Produces a representation of the indexable portion of a tsquery.","summary_zh":""}},"Definition":{"Collection":"func","Key":"querytree","SourceDatabase":"center","Version":"18","SourceTable":"func","SourceKey":"querytree","SourceRevision":"wiki-repair-20261023:495a45cd4e9ce30341eb99ddce22263d27fbffab0d2e5e8df38bb395e50fe0eb","Facts":{"description":"Produces a representation of the indexable portion of a tsquery. A result that is empty or just T indicates a non-indexable query.","description_html":"Produces a representation of the indexable portion of a \u003ccode class=\"type\"\u003etsquery\u003c/code\u003e. A result that is empty or just \u003ccode class=\"literal\"\u003eT\u003c/code\u003e indicates a non-indexable query.","description_zh":"生成 tsquery 中可索引部分的表示。结果为空或仅为 T 表示该查询不可索引。","description_zh_html":"生成 \u003ccode class=\"type\"\u003etsquery\u003c/code\u003e 中可索引部分的表示。结果为空或仅为 \u003ccode class=\"literal\"\u003eT\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":"Produces a representation of the indexable portion of a tsquery. A result that is empty or just T indicates a non-indexable query.","description_html":"Produces a representation of the indexable portion of a \u003ccode class=\"type\"\u003etsquery\u003c/code\u003e. A result that is empty or just \u003ccode class=\"literal\"\u003eT\u003c/code\u003e indicates a non-indexable query.","description_zh":"生成 tsquery 中可索引部分的表示。结果为空或仅为 T 表示该查询不可索引。","description_zh_html":"生成 \u003ccode class=\"type\"\u003etsquery\u003c/code\u003e 中可索引部分的表示。结果为空或仅为 \u003ccode class=\"literal\"\u003eT\u003c/code\u003e 表示该查询不可索引。","examples":[{"expr":"querytree('foo \u0026 ! bar'::tsquery)","result":"'foo'"}],"html":"\u003ccode class=\"function\"\u003equerytree\u003c/code\u003e ( \u003ccode class=\"type\"\u003etsquery\u003c/code\u003e ) → \u003ccode class=\"returnvalue\"\u003etext\u003c/code\u003e","returns":"text","text":"querytree ( tsquery ) → 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-TABLE","file":"functions-textsearch.html","sha256":"2383d74fd6eee4b71e1b97dec9754623081103120b67a9793f8deac5fff77727","slug":"18"}},"MeasuredEvidence":{}},"Text":{"Collection":"func","Key":"querytree","SourceDatabase":"center","Version":"18","Locale":"en","Title":"querytree","Summary":"Produces a representation of the indexable portion of a tsquery. A result that is empty or just T indicates a non-indexable query.","BodyHTML":"Produces a representation of the indexable portion of a \u003ccode\u003etsquery\u003c/code\u003e. A result that is empty or just \u003ccode\u003eT\u003c/code\u003e indicates a non-indexable query.","SourceRevision":"wiki-repair-20261023:495a45cd4e9ce30341eb99ddce22263d27fbffab0d2e5e8df38bb395e50fe0eb","ContentHash":"b4797a181351f1fc418ff2ab81ce3877ad6578229cc9e9fa539748f1662f1b97","Payload":{"description":"Produces a representation of the indexable portion of a tsquery. A result that is empty or just T indicates a non-indexable query.","description_html":"Produces a representation of the indexable portion of a \u003ccode class=\"type\"\u003etsquery\u003c/code\u003e. A result that is empty or just \u003ccode class=\"literal\"\u003eT\u003c/code\u003e indicates a non-indexable query.","signatures":[{"description":"Produces a representation of the indexable portion of a tsquery. A result that is empty or just T indicates a non-indexable query.","description_html":"Produces a representation of the indexable portion of a \u003ccode class=\"type\"\u003etsquery\u003c/code\u003e. A result that is empty or just \u003ccode class=\"literal\"\u003eT\u003c/code\u003e indicates a non-indexable query.","description_zh":"生成 tsquery 中可索引部分的表示。结果为空或仅为 T 表示该查询不可索引。","description_zh_html":"生成 \u003ccode class=\"type\"\u003etsquery\u003c/code\u003e 中可索引部分的表示。结果为空或仅为 \u003ccode class=\"literal\"\u003eT\u003c/code\u003e 表示该查询不可索引。","examples":[{"expr":"querytree('foo \u0026 ! bar'::tsquery)","result":"'foo'"}],"html":"\u003ccode class=\"function\"\u003equerytree\u003c/code\u003e ( \u003ccode class=\"type\"\u003etsquery\u003c/code\u003e ) → \u003ccode class=\"returnvalue\"\u003etext\u003c/code\u003e","returns":"text","text":"querytree ( tsquery ) → 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":"a1b712a571d356c7380db3f221cce0a9ef885d38d60eae5bd8ad2b4545a515bf","Text":"querytree ( tsquery ) → text","Returns":"text","Payload":{"description":"Produces a representation of the indexable portion of a tsquery. A result that is empty or just T indicates a non-indexable query.","description_html":"Produces a representation of the indexable portion of a \u003ccode class=\"type\"\u003etsquery\u003c/code\u003e. A result that is empty or just \u003ccode class=\"literal\"\u003eT\u003c/code\u003e indicates a non-indexable query.","description_zh":"生成 tsquery 中可索引部分的表示。结果为空或仅为 T 表示该查询不可索引。","description_zh_html":"生成 \u003ccode class=\"type\"\u003etsquery\u003c/code\u003e 中可索引部分的表示。结果为空或仅为 \u003ccode class=\"literal\"\u003eT\u003c/code\u003e 表示该查询不可索引。","examples":[{"expr":"querytree('foo \u0026 ! bar'::tsquery)","result":"'foo'"}],"html":"\u003ccode class=\"function\"\u003equerytree\u003c/code\u003e ( \u003ccode class=\"type\"\u003etsquery\u003c/code\u003e ) → \u003ccode class=\"returnvalue\"\u003etext\u003c/code\u003e","returns":"text","text":"querytree ( tsquery ) → text","zh_from":"same-version-manual"}}],"Spellings":null,"SQLState":null,"Evidence":null}
