-
"健康生活,陪伴有我" 分词成了 "'健康':2 '健康生活':1 '有':5 '生活':3 '陪伴':4"
其中 "'健康" 被重复分词,造成使用ts_headline时文本重复 "健康生活健康生活,陪伴有我"
-
RDS comes with pre-packaged extensions... are there any talks with AWS to include timescale in their supported extensions, given that timescaledb uses the Apache 2.0 license?
-
#### Summary
When the error happened, can not access mattersmost service.
It would redirect to login page and show "Token Error", like https://forum.gitlab.com/t/mattermost-token-error/65279/2.
C…
-
折腾主要是想弄这个中文搜索过滤。但遇到问题,搜索后尝试一番无果只能求助。除了端口和ip以外,所有都是默认配置。
![image](https://user-images.githubusercontent.com/822795/174563224-7edfb7d8-5a1b-4edf-be77-926b5c6fb220.png)
zhparser:
psql -U ttrss -d ttrs…
-
CentOS Linux release 7.9.2009 (Core)
postgresql 13
安装一切顺利,没有指定PG_CONFIG
添加扩展报错
could not open extension control file "/usr/pgsql-13/share/extension/zhparser.control": No such file or directory…
-
localhost fimatrix@cnstock=# create extension zhparser;
ERROR: could not open file "/home/postgres/12/data/base/35282/zhprs_dict_cnstock.txt" for writing: No such file or directory
HINT: COPY TO i…
-
#### Summary
Chinese search doesn't work.
#### Steps to reproduce
Following with the setup doc: https://docs.mattermost.com/install/i18n.html#id1
You can't see the sql trace debug with `to_tsvec…
-
#./bin/gd_config --libdir
/home/greatdbdata/greatdb_p/lib
#ll /home/greatdbdata/greatdb_p/lib/zhparser.so
/home/greatdbdata/greatdb_p/lib/zhparser.so
#/home/greatdbdata/greatdb_p/bin/psql -…
-
export PG_CONFIG=/usr/lib/postgresql/13/bin/pg_config
make & make install
错误如下:
```
r.o zhparser.c
zhparser.c:10:10: fatal error: postgres.h: No such file or directory
#include "postgres.h"
…
-
默认是不支持 _ 切词的,我在 postgres.conf 开启了 zhparser.multi_duality=on 选项后,切得的词包括原始文字,不知为何。
```
vt=# SELECT * FROM ts_parse('zhparser', 'hello world');
tokid | token
-------+-------
101 | hello
10…