Redrock Postgres 搜索 英文
版本: 9.3 / 9.4 / 9.5 / 9.6 / 10 / 11 / 12 / 13 / 14 / 15 / 16 / 17

51.61. pg_ts_dict #

pg_ts_dict 目录包含定义文本搜索词典的条目。词典取决于一个文本搜索模板,该模板指定所需的所有实现函数;词典自身为模板支持的用户可设置参数提供值。这种工作分配允许非特权用户创建词典。这些参数由一个文本字符串 dictinitoption 指定,其格式和含义根据模板而有所不同。

PostgreSQL 中的文本搜索功能在 第 12 章 中有详细描述。

表 51.61。 pg_ts_dict

列类型

说明

oid oid

行标识符

dictname name

文本搜索词典名称

dictnamespace oid (引用 pg_namespace.oid)

包含此词典的命名空间的 OID

dictowner oid (引用 pg_authid.oid)

此词典的所有者

dicttemplate oid (引用 pg_ts_template.oid)

此词典的文本搜索模板的 OID

dictinitoption text

模板的初始化选项字符串