Comments (2)
如果您使用的是阿里云PG12,PG13(对应的zhparser 2.1)。那么只能等待阿里云修复该产品的缺陷。在本文书写时2021-02-23,他们的云数据库有一个自定义词库文件的权限问题,因此无法同步到文件中。
db-test=> select to_tsvector('zh-profile','计算机');
NOTICE: zhparser add dict : "/u01/pgsql/share/tsearch_data/dict_extra.xdb" failed!
db-test=> select sync_zhprs_custom_word();
ERROR: query string argument of EXECUTE is null
CONTEXT: PL/pgSQL function sync_zhprs_custom_word() line 17 at EXECUTE
具体修复时间,据推测是2021年3月以后。您可以选择等待或暂时使用PG11。阿里云PG11可以支持zhparser1.0的自定义词库的更新函数,并可以正常使用。https://help.aliyun.com/document_detail/140894.html?spm=5176.smartservice_service_chat.0.0.1069709aIN5R1g
from zhparser.
使用超级用户执行就可以了.
from zhparser.
Related Issues (20)
- postgresql 9.6编译失败 HOT 1
- windows VS编译错误
- 在postgresql中create extension zhparser;时报错 HOT 1
- PG_CONFIG=/usr/pgsql-11/bin/pg_config make && make install 出错 HOT 9
- 能否支持docker? HOT 3
- 添加自定义分词后,能否避免重建索引? HOT 1
- CentOS 7 安装提示ERROR: extension "zhparser" has no installation script nor update path for version "2.1" HOT 2
- ERROR: incompatible library "/usr/pgsql-9.6/lib/zhparser.so": version mismatch DETAIL: Server is version 9.6, library is version 9.2. HOT 1
- 自定义词库 2.1 并非总是起作用,请看例子。
- 当 zhparser 自定义词库 2.1 添加新词之后,Postgresql stored generated column 中自动重新生成的分词,在 Update 之后却没有生效。 HOT 1
- 请教一个问题,如何查看当前的 zhparser config 开启了那些分词组合?(请看例子) HOT 1
- 自定义词库 2.1 该如何备份,然后在另一个主机上恢复? HOT 2
- 自定义词典没有按长词优先 HOT 2
- 如何自定义rules.ini
- Inexistant default version ? HOT 1
- 重复分词 HOT 4
- 支持postgresql14吗
- 如何设置可以使分词搜索的结果中包含“只有部分关键词”的条目? HOT 1
- 安装成功后无法添加扩展,找不到zhparser.control HOT 1
- to_tsquery 返回结果为FOLLOWBY(<->),而不是 &,是否有配置项调整? HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from zhparser.