<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Tsvector on BenzHub</title><link>https://benzhub.github.io/tags/tsvector/</link><description>Recent content in Tsvector on BenzHub</description><generator>Hugo</generator><language>zh-TW</language><lastBuildDate>Sat, 27 Jun 2026 00:00:00 +0000</lastBuildDate><atom:link href="https://benzhub.github.io/tags/tsvector/index.xml" rel="self" type="application/rss+xml"/><item><title>全文搜尋：PostgreSQL 內建的文字搜尋引擎 | PostgreSQL</title><link>https://benzhub.github.io/post/postgresql/021-full-text-search/</link><pubDate>Sat, 27 Jun 2026 00:00:00 +0000</pubDate><guid>https://benzhub.github.io/post/postgresql/021-full-text-search/</guid><description>&lt;blockquote&gt;
&lt;p&gt;&lt;strong&gt;全文搜尋（Full-Text Search）&lt;/strong&gt; 是 &lt;strong&gt;PostgreSQL&lt;/strong&gt; 內建的文字搜尋引擎，透過 &lt;strong&gt;tsvector&lt;/strong&gt; 與 &lt;strong&gt;tsquery&lt;/strong&gt; 兩種特殊資料型別，將原始文字轉換為正規化的詞素（lexeme），再以布林或相鄰運算進行高效匹配。無需 &lt;strong&gt;Elasticsearch&lt;/strong&gt; 等外部服務，即可在資料庫內實現生產級的搜尋功能。&lt;/p&gt;
&lt;/blockquote&gt;</description></item></channel></rss>