云数据库 GAUSSDB-ALTER TEXT SEARCH CONFIGURATION:语法格式

时间:2024-11-02 18:53:02

语法格式

  • 增加文本搜索配置字串类型映射语法
ALTER TEXT SEARCH CONFIGURATION name 
    ADD MAPPING FOR token_type [, ... ] WITH dictionary_name [, ... ];
  • 修改文本搜索配置字典语法
ALTER TEXT SEARCH CONFIGURATION name 
    ALTER MAPPING FOR token_type [, ... ] REPLACE old_dictionary WITH new_dictionary;
  • 修改文本搜索配置字串类型语法
ALTER TEXT SEARCH CONFIGURATION name
    ALTER MAPPING FOR token_type [, ... ] WITH dictionary_name [, ... ];
  • 更改文本搜索配置字典语法
ALTER TEXT SEARCH CONFIGURATION name
    ALTER MAPPING REPLACE old_dictionary WITH new_dictionary;
  • 删除文本搜索配置字串类型映射语法
ALTER TEXT SEARCH CONFIGURATION name
    DROP MAPPING [ IF EXISTS ] FOR token_type [, ... ];
  • 重命名文本搜索配置所有者语法
ALTER TEXT SEARCH CONFIGURATION name OWNER TO new_owner;
  • 重命名文本搜索配置名称语法
ALTER TEXT SEARCH CONFIGURATION name RENAME TO new_name;
  • 重命名文本搜索配置命名空间语法
ALTER TEXT SEARCH CONFIGURATION name SET SCHEMA new_schema;
  • 修改文本搜索配置属性语法
ALTER TEXT SEARCH CONFIGURATION name SET ( { configuration_option = value } [, ...] );
  • 重置文本搜索配置属性语法
ALTER TEXT SEARCH CONFIGURATION name RESET ( {configuration_option} [, ...] );
support.huaweicloud.com/centralized-devg-v2-gaussdb/devg_03_0524.html