.. _sys_ts_dict(KES):

sys_ts_dict
^^^^^^^^^^^^^^^^^^

``sys_ts_dict``\ 视图包含定义文本搜索字典的项。一个字典依赖于一个文本搜索模板，它指定了所有需要的函数实现，字典本身则为模板支持的用户可设置参数提供值。这种分工允许无权限的用户创建字典。参数由一个文本串\ ``dictinitoption``\ 定义，其格式和意义随着模板而变化。

KingbaseES的文本搜索特性在 :ref:`文本搜索类型` 中有更详尽的描述。

.. table:: sys_ts_dict列
      :widths: 2 2 3
      :class: longtable

      +--------------------+----------+------------------+
      | 名称               | 类型     | 描述             |
      +====================+==========+==================+
      | ``oid``            | ``oid``  | 行标识符         |
      +--------------------+----------+------------------+
      | ``dictname``       | ``name`` | 文本搜索字典名   |
      +--------------------+----------+------------------+
      | ``dictnamespace``  | ``oid``  | 包含该字         |
      |                    |          | 典的名字空间OID  |
      +--------------------+----------+------------------+
      | ``dictowner``      | ``oid``  | 字典的拥有者     |
      +--------------------+----------+------------------+
      | ``dicttemplate``   | ``oid``  | 该字典的文       |
      |                    |          | 本搜索模板的OID  |
      +--------------------+----------+------------------+
      | ``dictinitoption`` | ``text`` | 模               |
      |                    |          | 板的初始化选项串 |
      +--------------------+----------+------------------+

