数据仓库服务 GaussDB(DWS)-文本检索调试函数:ts_stat(sqlquery text, [ weights text, ] OUT word text, OUT ndoc integer, OUT nentry integer)

时间:2025-02-12 15:05:10

ts_stat(sqlquery text, [ weights text, ] OUT word text, OUT ndoc integer, OUT nentry integer)

描述:获取tsvector列的统计数据。

返回类型:setof record

示例:

123456
SELECT ts_stat('select ''hello world''::tsvector');   ts_stat   ------------- (world,1,1) (hello,1,1)(2 rows)
support.huaweicloud.com/sqlreference-dws/dws_06_0321.html
推荐文章