dict_xsyn
text search dictionary template for extended synonym processing
dict_xsyn : text search dictionary template for extended synonym processing
Overview
| ID | Extension | Package | Version | Category | License | Language |
|---|---|---|---|---|---|---|
| 4900 | dict_xsyn | dict_xsyn | 1.0 |
FUNC | PostgreSQL | C |
| Attribute | Has Binary | Has Library | Need Load | Has DDL | Relocatable | Trusted |
|---|---|---|---|---|---|---|
| --s-d-- | No | Yes | No | Yes | no | no |
| Relationships | |
|---|---|
| See Also | dict_int unaccent pg_tokenizer pgroonga pg_kazsearch pg_jieba pg_cjk_parser zhparser |
Packages
| PG18 | PG17 | PG16 | PG15 | PG14 |
|---|---|---|---|---|
| 1.0 | 1.0 | 1.0 | 1.0 | 1.0 |
This is a built-in contrib extension ship with the PostgreSQL kernel
Install
Create this extension with:
Usage
Provides an extended synonym dictionary template for text search, replacing words with groups of synonyms.
Configuration Parameters
| Parameter | Description | Default |
|---|---|---|
matchorig |
Accept original word | true |
matchsynonyms |
Accept synonyms as input | false |
keeporig |
Include original in output | true |
keepsynonyms |
Include synonyms in output | true |
rules |
Base name of synonym file in $SHAREDIR/tsearch_data/ (.rules extension) |
– |
Rules File Format
Lines starting with # are comments.