{"Entry":{"collection":"func","key":"ts-filter","name":"ts_filter","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":"df22fc3cd85484f53959071d06f5f88ffcb147535105799097af7eccc4cc3a7e","derived_content_hash":"ea9c7688bc002b7872c38a0c656b9ec8ab92d628129fed038d113507b934300e","documentation_refresh":{"batch":"20261113","original_source_rev":"wiki-repair-20261023:8c968c14a6a176a9f5b01862539892b585468536eae99ea5ed3be206ddc88b47","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.744739+08:00","last_version":"20","name":"ts_filter","name_key":"ts_filter","position":12014,"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":"b349051110ce0554270a7e9427948dd9b9e56c79593f4b63f1270e275476e983","repair":"wiki-repair-20261023"},"signature":"ts_filter ( vector tsvector, weights \"char\"[] ) → tsvector","signature_count":1,"slug":"ts-filter","source_rev":"wiki-repair-20261023:8c968c14a6a176a9f5b01862539892b585468536eae99ea5ed3be206ddc88b47","summary":"Selects only elements with the given weights from the vector.","summary_zh":""}},"Definition":{"Collection":"func","Key":"ts-filter","SourceDatabase":"center","Version":"18","SourceTable":"func","SourceKey":"ts-filter","SourceRevision":"wiki-repair-20261023:8c968c14a6a176a9f5b01862539892b585468536eae99ea5ed3be206ddc88b47","Facts":{"description":"Selects only elements with the given weights from the vector.","description_html":"Selects only elements with the given \u003cem class=\"parameter\"\u003e\u003ccode\u003eweights\u003c/code\u003e\u003c/em\u003e from the \u003cem class=\"parameter\"\u003e\u003ccode\u003evector\u003c/code\u003e\u003c/em\u003e.","description_zh":"只从 vector 中选择具有给定 weights 的元素。","description_zh_html":"只从 \u003cem class=\"parameter\"\u003e\u003ccode\u003evector\u003c/code\u003e\u003c/em\u003e 中选择具有给定 \u003cem class=\"parameter\"\u003e\u003ccode\u003eweights\u003c/code\u003e\u003c/em\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":"Selects only elements with the given weights from the vector.","description_html":"Selects only elements with the given \u003cem class=\"parameter\"\u003e\u003ccode\u003eweights\u003c/code\u003e\u003c/em\u003e from the \u003cem class=\"parameter\"\u003e\u003ccode\u003evector\u003c/code\u003e\u003c/em\u003e.","description_zh":"只从 vector 中选择具有给定 weights 的元素。","description_zh_html":"只从 \u003cem class=\"parameter\"\u003e\u003ccode\u003evector\u003c/code\u003e\u003c/em\u003e 中选择具有给定 \u003cem class=\"parameter\"\u003e\u003ccode\u003eweights\u003c/code\u003e\u003c/em\u003e 的元素。","examples":[{"expr":"ts_filter('fat:2,4 cat:3b,7c rat:5A'::tsvector, '{a,b}')","result":"'cat':3B 'rat':5A"}],"html":"\u003ccode class=\"function\"\u003ets_filter\u003c/code\u003e ( \u003cem class=\"parameter\"\u003e\u003ccode\u003evector\u003c/code\u003e\u003c/em\u003e \u003ccode class=\"type\"\u003etsvector\u003c/code\u003e, \u003cem class=\"parameter\"\u003e\u003ccode\u003eweights\u003c/code\u003e\u003c/em\u003e \u003ccode class=\"type\"\u003e\"char\"[]\u003c/code\u003e ) → \u003ccode class=\"returnvalue\"\u003etsvector\u003c/code\u003e","returns":"tsvector","text":"ts_filter ( vector tsvector, weights \"char\"[] ) → tsvector","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":"ts-filter","SourceDatabase":"center","Version":"18","Locale":"en","Title":"ts_filter","Summary":"Selects only elements with the given weights from the vector.","BodyHTML":"Selects only elements with the given \u003cem\u003e\u003ccode\u003eweights\u003c/code\u003e\u003c/em\u003e from the \u003cem\u003e\u003ccode\u003evector\u003c/code\u003e\u003c/em\u003e.","SourceRevision":"wiki-repair-20261023:8c968c14a6a176a9f5b01862539892b585468536eae99ea5ed3be206ddc88b47","ContentHash":"21cfe63e1c5993cf30b9a8c34786f50847cf347fdfa717f338fe46b1e4b05b66","Payload":{"description":"Selects only elements with the given weights from the vector.","description_html":"Selects only elements with the given \u003cem class=\"parameter\"\u003e\u003ccode\u003eweights\u003c/code\u003e\u003c/em\u003e from the \u003cem class=\"parameter\"\u003e\u003ccode\u003evector\u003c/code\u003e\u003c/em\u003e.","signatures":[{"description":"Selects only elements with the given weights from the vector.","description_html":"Selects only elements with the given \u003cem class=\"parameter\"\u003e\u003ccode\u003eweights\u003c/code\u003e\u003c/em\u003e from the \u003cem class=\"parameter\"\u003e\u003ccode\u003evector\u003c/code\u003e\u003c/em\u003e.","description_zh":"只从 vector 中选择具有给定 weights 的元素。","description_zh_html":"只从 \u003cem class=\"parameter\"\u003e\u003ccode\u003evector\u003c/code\u003e\u003c/em\u003e 中选择具有给定 \u003cem class=\"parameter\"\u003e\u003ccode\u003eweights\u003c/code\u003e\u003c/em\u003e 的元素。","examples":[{"expr":"ts_filter('fat:2,4 cat:3b,7c rat:5A'::tsvector, '{a,b}')","result":"'cat':3B 'rat':5A"}],"html":"\u003ccode class=\"function\"\u003ets_filter\u003c/code\u003e ( \u003cem class=\"parameter\"\u003e\u003ccode\u003evector\u003c/code\u003e\u003c/em\u003e \u003ccode class=\"type\"\u003etsvector\u003c/code\u003e, \u003cem class=\"parameter\"\u003e\u003ccode\u003eweights\u003c/code\u003e\u003c/em\u003e \u003ccode class=\"type\"\u003e\"char\"[]\u003c/code\u003e ) → \u003ccode class=\"returnvalue\"\u003etsvector\u003c/code\u003e","returns":"tsvector","text":"ts_filter ( vector tsvector, weights \"char\"[] ) → tsvector","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":"c25d441be92c9f14b68b8075511ba8cfbc9bd34416dcf6969031426e93f6b0e0","Text":"ts_filter ( vector tsvector, weights \"char\"[] ) → tsvector","Returns":"tsvector","Payload":{"description":"Selects only elements with the given weights from the vector.","description_html":"Selects only elements with the given \u003cem class=\"parameter\"\u003e\u003ccode\u003eweights\u003c/code\u003e\u003c/em\u003e from the \u003cem class=\"parameter\"\u003e\u003ccode\u003evector\u003c/code\u003e\u003c/em\u003e.","description_zh":"只从 vector 中选择具有给定 weights 的元素。","description_zh_html":"只从 \u003cem class=\"parameter\"\u003e\u003ccode\u003evector\u003c/code\u003e\u003c/em\u003e 中选择具有给定 \u003cem class=\"parameter\"\u003e\u003ccode\u003eweights\u003c/code\u003e\u003c/em\u003e 的元素。","examples":[{"expr":"ts_filter('fat:2,4 cat:3b,7c rat:5A'::tsvector, '{a,b}')","result":"'cat':3B 'rat':5A"}],"html":"\u003ccode class=\"function\"\u003ets_filter\u003c/code\u003e ( \u003cem class=\"parameter\"\u003e\u003ccode\u003evector\u003c/code\u003e\u003c/em\u003e \u003ccode class=\"type\"\u003etsvector\u003c/code\u003e, \u003cem class=\"parameter\"\u003e\u003ccode\u003eweights\u003c/code\u003e\u003c/em\u003e \u003ccode class=\"type\"\u003e\"char\"[]\u003c/code\u003e ) → \u003ccode class=\"returnvalue\"\u003etsvector\u003c/code\u003e","returns":"tsvector","text":"ts_filter ( vector tsvector, weights \"char\"[] ) → tsvector","zh_from":"same-version-manual"}}],"Spellings":null,"SQLState":null,"Evidence":null}
