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-r | No | Yes | No | Yes | yes | no |
| Relationships | |
|---|---|
| See Also | dict_int unaccent pg_tokenizer pgroonga pg_kazsearch pg_jieba pg_cjk_parser zhparser |
Packages
| PG19 | PG18 | PG17 | PG16 | PG15 |
|---|---|---|---|---|
| 1.0 | 1.0 | 1.0 | 1.0 | 1.0 |
This contrib extension ships with PostgreSQL.
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.