跳转到主要内容

hunspell_fr

Hunspell法语全文检索词典

hunspell · Hunspell法语全文检索词典

概览

ID扩展软件包版本类别许可证编程语言
2283hunspell_frhunspell1.0FTSPostgreSQLData
属性可执行文件动态库需要预加载需要建扩展可迁移可信
----d-r否否否是是否

软件包

类型仓库版本兼容的 PostgreSQL 大版本包名模式依赖
EXTPIGSTY1.019 18 17 16 15hunspell-
RPMPIGSTY1.019 18 17 16 15hunspell_$v-
DEBPIGSTY1.019 18 17 16 15postgresql-$v-hunspell-
Linux / PGPG19PG18PG17PG16PG15
el8.x86_64N/APIGSTY 1.0PIGSTY 1.0PIGSTY 1.0PIGSTY 1.0
el8.aarch64N/APIGSTY 1.0PIGSTY 1.0PIGSTY 1.0PIGSTY 1.0
el9.x86_64PIGSTY 1.0PIGSTY 1.0PIGSTY 1.0PIGSTY 1.0PIGSTY 1.0
el9.aarch64PIGSTY 1.0PIGSTY 1.0PIGSTY 1.0PIGSTY 1.0PIGSTY 1.0
el10.x86_64PIGSTY 1.0PIGSTY 1.0PIGSTY 1.0PIGSTY 1.0PIGSTY 1.0
el10.aarch64PIGSTY 1.0PIGSTY 1.0PIGSTY 1.0PIGSTY 1.0PIGSTY 1.0
d12.x86_64PIGSTY 1.0PIGSTY 1.0PIGSTY 1.0PIGSTY 1.0PIGSTY 1.0
d12.aarch64PIGSTY 1.0PIGSTY 1.0PIGSTY 1.0PIGSTY 1.0PIGSTY 1.0
d13.x86_64PIGSTY 1.0PIGSTY 1.0PIGSTY 1.0PIGSTY 1.0PIGSTY 1.0
d13.aarch64PIGSTY 1.0PIGSTY 1.0PIGSTY 1.0PIGSTY 1.0PIGSTY 1.0
u22.x86_64PIGSTY 1.0PIGSTY 1.0PIGSTY 1.0PIGSTY 1.0PIGSTY 1.0
u22.aarch64PIGSTY 1.0PIGSTY 1.0PIGSTY 1.0PIGSTY 1.0PIGSTY 1.0
u24.x86_64PIGSTY 1.0PIGSTY 1.0PIGSTY 1.0PIGSTY 1.0PIGSTY 1.0
u24.aarch64PIGSTY 1.0PIGSTY 1.0PIGSTY 1.0PIGSTY 1.0PIGSTY 1.0
u26.x86_64PIGSTY 1.0PIGSTY 1.0PIGSTY 1.0PIGSTY 1.0PIGSTY 1.0
u26.aarch64PIGSTY 1.0PIGSTY 1.0PIGSTY 1.0PIGSTY 1.0PIGSTY 1.0

源码

pig build pkg hunspell;		# build rpm/deb

安装

启用 PGDG 和 PIGSTY 仓库并更新缓存。

pig repo add pgsql -u   # add both repo and update cache

使用 pig 安装扩展。

pig install hunspell;		# install by package name
pig install hunspell_fr;		# install by extension name

pig install hunspell_fr -v 19;   # install for PG 19
pig install hunspell_fr -v 18;   # install for PG 18
pig install hunspell_fr -v 17;   # install for PG 17
pig install hunspell_fr -v 16;   # install for PG 16
pig install hunspell_fr -v 15;   # install for PG 15

在数据库中创建扩展。

CREATE EXTENSION hunspell_fr;

用法

hunspell_fr: PostgreSQL 的法语 Hunspell 词典

用于 PostgreSQL 全文搜索的法语 Hunspell 词典和文本搜索配置。

CREATE EXTENSION hunspell_fr;

SELECT ts_lexize('french_hunspell', 'histoires');

SELECT to_tsvector('french_hunspell', 'histoires');

该扩展提供 french_hunspell 词典和文本搜索配置。

表格阅读器