chamkho_parser
Rust full-text-search parser using the Chamkho word-cut engine, ported from pg-search-thai.
chamkho_parser · Rust full-text-search parser using the Chamkho word-cut engine, ported from pg-search-thai.
Overview
| ID | Extension | Package | Version | Category | License | Language |
|---|---|---|---|---|---|---|
| 101313 | chamkho_parser | chamkho_parser | 0.6.0 | FTS | GPL-2.0 | Rust |
Usage
Sources:
- Official upstream README
- Official extension control file (chamkho_parser.control)
- Official implementation source
chamkho_parser — cargo pgrx run — builds and starts a Postgres instance with the extension installed cargo pgrx test — runs the test suite. Use it for the corresponding text-search, parsing, or linguistic workflow. Use the pinned upstream revision linked above as the API boundary and test it on the target PostgreSQL build.
Core Workflow
Install the extension in the intended database, run the smallest upstream example above when available, and verify the installed version and returned values before integrating it into application SQL.
Important Objects
chamkho_parser_endis an extension function.chamkho_parser_get_tokenis an extension function.chamkho_parser_startis an extension function.
Requirements and Caveats
- The catalog records version
0.6.0. - The control file marks the extension as non-relocatable.
- The control file requires a superuser for installation.
- The control file marks the extension as not trusted.
- Confirm privileges, supported PostgreSQL versions, upgrade behavior, and failure cases against the pinned source before production use.