zhparser
zhparser copied to clipboard
zhparser is a PostgreSQL extension for full-text search of Chinese language
CentOS 7 安装提示ERROR: extension "zhparser" has no installation script nor update path for version "2.1",请问怎么解决
make问题
os:ubuntu18.04 gcc version 7.5.0 (Ubuntu 7.5.0-3ubuntu1~18.04) 执行make后 make: *** 无目标。 停止。
分词结果缺失
不知道是因为忽略了停止词还是什么原因,会丢失结果,比如"批量处理"的分词结果只有"处理"这个词,"自动提交"的结果也只有"提交",然而在调试分词结果的网页里测试是正常的。
initdb -k启用checksum后, pg_checksum.c里面有逻辑检查datadir/base中文件名; zhparser会把.tag, .txt文件放在datadir/base中; pg_basebackup可以触发(重现)这个问题: ``` initdb -k -D primary # 端口5432 pg_basebackup -h localhost -p 5432 -D standby_dir ```
os: windows10 pg: 14.2.7 ----------------------------------------- 使用cygwin编译,报如下错误:  我尝试添加该缺失文件,了解到需要安装postgresql-server-devel,但是没有找到windows系统的安装方式,请问如何解决呢?或者有朋友能分享编译后的插件吗?不胜感激。
pg version:15.2 os:Red Hat 4.8.5-39 执行命令:make && make install编译的时候报错如下: gcc -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Werror=vla -Wendif-labels -Wmissing-format-attribute -Wimplicit-fallthrough=3 -Wcast-function-type -Wformat-security -fno-strict-aliasing -fwrapv -fexcess-precision=standard -Wno-format-truncation -Wno-stringop-truncation -g -g -O2 -fstack-protector-strong -Wformat...
insert into zhparser.zhprs_custom_word values('支付宝'); select sync_zhprs_custom_word(); zhprs_custom_word 里面有这个词了,但是不生效
在匹配的数据记录中,"blogs"."title"字段值为"计算机 网络" 执行sql语句中,highlight_title字段搜索配置如下: ts_headline('zh'::regconfig, "blogs"."title", plainto_tsquery('zh'::regconfig, '计算机'), '') AS "highlight_title", highlight_title字段: 期望返回:"计算机 网络" 实际返回:"计算机网络" (空格没有了)
rag 中文 混合搜索需要vector 和 文本搜索 https://docs.llamaindex.ai/en/latest/examples/vector_stores/postgres/ pgvector项目已经提供了pgvector镜像