Skip to content

pg_glot

CJK text-search parsers and reciprocal-rank fusion.

pg_glot · CJK text-search parsers and reciprocal-rank fusion.

Overview

IDExtensionPackageVersionCategoryLicenseLanguage
102081pg_glotpg_glot0.0.1FTSPostgreSQLRust

PostgreSQL · 17

Usage

Sources:

pg_glot provides Korean, Japanese and Chinese PostgreSQL text-search configurations with embedded Lindera dictionaries, plus the glot.rrf fusion primitive. The independently installed hybrid companion is optional.

Core Workflow

CREATE EXTENSION pg_glot;
SELECT to_tsvector('japanese', '東京都に住む');
SELECT * FROM glot.rrf(ARRAY[10,20,30]::bigint[], ARRAY[20,40]::bigint[], 60);

Operational Boundaries

Install as a superuser. The base extension has no extension dependency or preload requirement. The workspace defaults to PostgreSQL 17; Cargo feature switches alone are not evidence of a tested compatibility matrix. Korean is the most thoroughly validated language upstream. Text search uses standard PostgreSQL matching/ranking and can use application-created GIN indexes. glot.rrf merges ranked identifier arrays; no embedding model is supplied.

Table reader