pgroonga
pgroonga
Use Groonga as index, fast full text search platform for all languages!
Overview
| ID | Extension | Package | Version | Category | License | Language |
|---|---|---|---|---|---|---|
| 2110 | pgroonga | pgroonga | 4.0.4 | FTS | PostgreSQL | C |
| Attribute | Has Binary | Has Library | Need Load | Has DDL | Relocatable | Trusted |
|---|---|---|---|---|---|---|
--s-dtr | No | Yes | No | Yes | yes | yes |
| Relationships | |
|---|---|
| See Also | pg_search pg_bigm zhparser pg_bestmatch pg_tokenizer pg_trgm rum vchord_bm25 |
| Siblings | pgroonga_database |
require xxHash vendor repo to build
Packages
| Type | Repo | Version | PG Major Availability | Package Pattern | Dependencies |
|---|---|---|---|---|---|
| EL | PIGSTY | 4.0.4 | 18 17 16 15 14 13 | pgroonga_$v* | groonga-libs |
| Debian | PIGSTY | 4.0.4 | 18 17 16 15 14 13 | postgresql-$v-pgroonga | libgroonga0 |
| Linux / PG | PG18 | PG17 | PG16 | PG15 | PG14 | PG13 |
|---|---|---|---|---|---|---|
el8.x86_64 | PIGSTY 4.0.4 | PIGSTY 4.0.4 | PIGSTY 4.0.4 | PIGSTY 4.0.4 | PIGSTY 4.0.4 | PIGSTY 4.0.4 |
el8.aarch64 | PIGSTY 4.0.4 | PIGSTY 4.0.4 | PIGSTY 4.0.4 | PIGSTY 4.0.4 | PIGSTY 4.0.4 | PIGSTY 4.0.4 |
el9.x86_64 | PIGSTY 4.0.4 | PIGSTY 4.0.4 | PIGSTY 4.0.4 | PIGSTY 4.0.4 | PIGSTY 4.0.4 | PIGSTY 4.0.4 |
el9.aarch64 | PIGSTY 4.0.4 | PIGSTY 4.0.4 | PIGSTY 4.0.4 | PIGSTY 4.0.4 | PIGSTY 4.0.4 | PIGSTY 4.0.4 |
el10.x86_64 | PIGSTY 4.0.4 | PIGSTY 4.0.4 | PIGSTY 4.0.4 | PIGSTY 4.0.4 | PIGSTY 4.0.4 | PIGSTY 4.0.4 |
el10.aarch64 | PIGSTY 4.0.4 | PIGSTY 4.0.4 | PIGSTY 4.0.4 | PIGSTY 4.0.4 | PIGSTY 4.0.4 | PIGSTY 4.0.4 |
d12.x86_64 | MISS | PIGSTY 4.0.0 | PIGSTY 4.0.0 | PIGSTY 4.0.0 | PIGSTY 4.0.0 | PIGSTY 4.0.0 |
d12.aarch64 | MISS | PIGSTY 4.0.0 | PIGSTY 4.0.0 | PIGSTY 4.0.0 | PIGSTY 4.0.0 | PIGSTY 4.0.0 |
d13.x86_64 | MISS | MISS | MISS | MISS | MISS | MISS |
d13.aarch64 | MISS | MISS | MISS | MISS | MISS | MISS |
u22.x86_64 | MISS | PIGSTY 4.0.0 | PIGSTY 4.0.0 | PIGSTY 4.0.0 | PIGSTY 4.0.0 | PIGSTY 4.0.0 |
u22.aarch64 | MISS | PIGSTY 4.0.0 | PIGSTY 4.0.0 | PIGSTY 4.0.0 | PIGSTY 4.0.0 | PIGSTY 4.0.0 |
u24.x86_64 | MISS | PIGSTY 4.0.0 | PIGSTY 4.0.0 | PIGSTY 4.0.0 | PIGSTY 4.0.0 | PIGSTY 4.0.0 |
u24.aarch64 | MISS | PIGSTY 4.0.0 | PIGSTY 4.0.0 | PIGSTY 4.0.0 | PIGSTY 4.0.0 | PIGSTY 4.0.0 |
| Package | Version | OS | ORG | SIZE | File URL |
|---|---|---|---|---|---|
pgroonga_18 | 4.0.4 | el8.x86_64 | pigsty | 360.6 KiB | pgroonga_18-4.0.4-1.el8.x86_64.rpm |
pgroonga_18 | 4.0.4 | el8.aarch64 | pigsty | 348.8 KiB | pgroonga_18-4.0.4-1.el8.aarch64.rpm |
pgroonga_18 | 4.0.4 | el9.x86_64 | pigsty | 345.3 KiB | pgroonga_18-4.0.4-1.el9.x86_64.rpm |
pgroonga_18 | 4.0.4 | el9.aarch64 | pigsty | 337.0 KiB | pgroonga_18-4.0.4-1.el9.aarch64.rpm |
pgroonga_18 | 4.0.4 | el10.x86_64 | pigsty | 347.4 KiB | pgroonga_18-4.0.4-1.el10.x86_64.rpm |
pgroonga_18 | 4.0.4 | el10.aarch64 | pigsty | 339.4 KiB | pgroonga_18-4.0.4-1.el10.aarch64.rpm |
| Package | Version | OS | ORG | SIZE | File URL |
|---|---|---|---|---|---|
pgroonga_17 | 4.0.4 | el8.x86_64 | pigsty | 360.3 KiB | pgroonga_17-4.0.4-1.el8.x86_64.rpm |
pgroonga_17 | 4.0.4 | el8.aarch64 | pigsty | 348.4 KiB | pgroonga_17-4.0.4-1.el8.aarch64.rpm |
pgroonga_17 | 4.0.4 | el9.x86_64 | pigsty | 345.3 KiB | pgroonga_17-4.0.4-1.el9.x86_64.rpm |
pgroonga_17 | 4.0.4 | el9.aarch64 | pigsty | 337.3 KiB | pgroonga_17-4.0.4-1.el9.aarch64.rpm |
pgroonga_17 | 4.0.4 | el10.x86_64 | pigsty | 347.1 KiB | pgroonga_17-4.0.4-1.el10.x86_64.rpm |
pgroonga_17 | 4.0.4 | el10.aarch64 | pigsty | 339.3 KiB | pgroonga_17-4.0.4-1.el10.aarch64.rpm |
postgresql-17-pgroonga | 4.0.0 | d12.x86_64 | pigsty | 697.4 KiB | postgresql-17-pgroonga_4.0.0-1PIGSTY~bookworm_amd64.deb |
postgresql-17-pgroonga | 4.0.0 | d12.aarch64 | pigsty | 693.0 KiB | postgresql-17-pgroonga_4.0.0-1PIGSTY~bookworm_arm64.deb |
postgresql-17-pgroonga | 4.0.0 | u22.x86_64 | pigsty | 736.2 KiB | postgresql-17-pgroonga_4.0.0-1PIGSTY~jammy_amd64.deb |
postgresql-17-pgroonga | 4.0.0 | u22.aarch64 | pigsty | 739.9 KiB | postgresql-17-pgroonga_4.0.0-1PIGSTY~jammy_arm64.deb |
postgresql-17-pgroonga | 4.0.0 | u24.x86_64 | pigsty | 649.9 KiB | postgresql-17-pgroonga_4.0.0-1PIGSTY~noble_amd64.deb |
postgresql-17-pgroonga | 4.0.0 | u24.aarch64 | pigsty | 653.1 KiB | postgresql-17-pgroonga_4.0.0-1PIGSTY~noble_arm64.deb |
| Package | Version | OS | ORG | SIZE | File URL |
|---|---|---|---|---|---|
pgroonga_16 | 4.0.4 | el8.x86_64 | pigsty | 357.8 KiB | pgroonga_16-4.0.4-1.el8.x86_64.rpm |
pgroonga_16 | 4.0.4 | el8.aarch64 | pigsty | 346.3 KiB | pgroonga_16-4.0.4-1.el8.aarch64.rpm |
pgroonga_16 | 4.0.4 | el9.x86_64 | pigsty | 342.6 KiB | pgroonga_16-4.0.4-1.el9.x86_64.rpm |
pgroonga_16 | 4.0.4 | el9.aarch64 | pigsty | 335.5 KiB | pgroonga_16-4.0.4-1.el9.aarch64.rpm |
pgroonga_16 | 4.0.4 | el10.x86_64 | pigsty | 344.9 KiB | pgroonga_16-4.0.4-1.el10.x86_64.rpm |
pgroonga_16 | 4.0.4 | el10.aarch64 | pigsty | 337.1 KiB | pgroonga_16-4.0.4-1.el10.aarch64.rpm |
postgresql-16-pgroonga | 4.0.0 | d12.x86_64 | pigsty | 684.9 KiB | postgresql-16-pgroonga_4.0.0-1PIGSTY~bookworm_amd64.deb |
postgresql-16-pgroonga | 4.0.0 | d12.aarch64 | pigsty | 681.1 KiB | postgresql-16-pgroonga_4.0.0-1PIGSTY~bookworm_arm64.deb |
postgresql-16-pgroonga | 4.0.0 | u22.x86_64 | pigsty | 723.3 KiB | postgresql-16-pgroonga_4.0.0-1PIGSTY~jammy_amd64.deb |
postgresql-16-pgroonga | 4.0.0 | u22.aarch64 | pigsty | 727.5 KiB | postgresql-16-pgroonga_4.0.0-1PIGSTY~jammy_arm64.deb |
postgresql-16-pgroonga | 4.0.0 | u24.x86_64 | pigsty | 642.4 KiB | postgresql-16-pgroonga_4.0.0-1PIGSTY~noble_amd64.deb |
postgresql-16-pgroonga | 4.0.0 | u24.aarch64 | pigsty | 646.1 KiB | postgresql-16-pgroonga_4.0.0-1PIGSTY~noble_arm64.deb |
| Package | Version | OS | ORG | SIZE | File URL |
|---|---|---|---|---|---|
pgroonga_15 | 4.0.4 | el8.x86_64 | pigsty | 360.6 KiB | pgroonga_15-4.0.4-1.el8.x86_64.rpm |
pgroonga_15 | 4.0.4 | el8.aarch64 | pigsty | 349.2 KiB | pgroonga_15-4.0.4-1.el8.aarch64.rpm |
pgroonga_15 | 4.0.4 | el9.x86_64 | pigsty | 346.6 KiB | pgroonga_15-4.0.4-1.el9.x86_64.rpm |
pgroonga_15 | 4.0.4 | el9.aarch64 | pigsty | 339.9 KiB | pgroonga_15-4.0.4-1.el9.aarch64.rpm |
pgroonga_15 | 4.0.4 | el10.x86_64 | pigsty | 349.2 KiB | pgroonga_15-4.0.4-1.el10.x86_64.rpm |
pgroonga_15 | 4.0.4 | el10.aarch64 | pigsty | 339.4 KiB | pgroonga_15-4.0.4-1.el10.aarch64.rpm |
postgresql-15-pgroonga | 4.0.0 | d12.x86_64 | pigsty | 687.5 KiB | postgresql-15-pgroonga_4.0.0-1PIGSTY~bookworm_amd64.deb |
postgresql-15-pgroonga | 4.0.0 | d12.aarch64 | pigsty | 683.7 KiB | postgresql-15-pgroonga_4.0.0-1PIGSTY~bookworm_arm64.deb |
postgresql-15-pgroonga | 4.0.0 | u22.x86_64 | pigsty | 729.8 KiB | postgresql-15-pgroonga_4.0.0-1PIGSTY~jammy_amd64.deb |
postgresql-15-pgroonga | 4.0.0 | u22.aarch64 | pigsty | 738.1 KiB | postgresql-15-pgroonga_4.0.0-1PIGSTY~jammy_arm64.deb |
postgresql-15-pgroonga | 4.0.0 | u24.x86_64 | pigsty | 651.6 KiB | postgresql-15-pgroonga_4.0.0-1PIGSTY~noble_amd64.deb |
postgresql-15-pgroonga | 4.0.0 | u24.aarch64 | pigsty | 654.5 KiB | postgresql-15-pgroonga_4.0.0-1PIGSTY~noble_arm64.deb |
| Package | Version | OS | ORG | SIZE | File URL |
|---|---|---|---|---|---|
pgroonga_14 | 4.0.4 | el8.x86_64 | pigsty | 341.1 KiB | pgroonga_14-4.0.4-1.el8.x86_64.rpm |
pgroonga_14 | 4.0.4 | el8.aarch64 | pigsty | 332.6 KiB | pgroonga_14-4.0.4-1.el8.aarch64.rpm |
pgroonga_14 | 4.0.4 | el9.x86_64 | pigsty | 328.2 KiB | pgroonga_14-4.0.4-1.el9.x86_64.rpm |
pgroonga_14 | 4.0.4 | el9.aarch64 | pigsty | 322.9 KiB | pgroonga_14-4.0.4-1.el9.aarch64.rpm |
pgroonga_14 | 4.0.4 | el10.x86_64 | pigsty | 331.0 KiB | pgroonga_14-4.0.4-1.el10.x86_64.rpm |
pgroonga_14 | 4.0.4 | el10.aarch64 | pigsty | 322.9 KiB | pgroonga_14-4.0.4-1.el10.aarch64.rpm |
postgresql-14-pgroonga | 4.0.0 | d12.x86_64 | pigsty | 630.7 KiB | postgresql-14-pgroonga_4.0.0-1PIGSTY~bookworm_amd64.deb |
postgresql-14-pgroonga | 4.0.0 | d12.aarch64 | pigsty | 627.3 KiB | postgresql-14-pgroonga_4.0.0-1PIGSTY~bookworm_arm64.deb |
postgresql-14-pgroonga | 4.0.0 | u22.x86_64 | pigsty | 670.2 KiB | postgresql-14-pgroonga_4.0.0-1PIGSTY~jammy_amd64.deb |
postgresql-14-pgroonga | 4.0.0 | u22.aarch64 | pigsty | 678.7 KiB | postgresql-14-pgroonga_4.0.0-1PIGSTY~jammy_arm64.deb |
postgresql-14-pgroonga | 4.0.0 | u24.x86_64 | pigsty | 595.1 KiB | postgresql-14-pgroonga_4.0.0-1PIGSTY~noble_amd64.deb |
postgresql-14-pgroonga | 4.0.0 | u24.aarch64 | pigsty | 600.1 KiB | postgresql-14-pgroonga_4.0.0-1PIGSTY~noble_arm64.deb |
| Package | Version | OS | ORG | SIZE | File URL |
|---|---|---|---|---|---|
pgroonga_13 | 4.0.4 | el8.x86_64 | pigsty | 340.2 KiB | pgroonga_13-4.0.4-1.el8.x86_64.rpm |
pgroonga_13 | 4.0.4 | el8.aarch64 | pigsty | 332.6 KiB | pgroonga_13-4.0.4-1.el8.aarch64.rpm |
pgroonga_13 | 4.0.4 | el9.x86_64 | pigsty | 327.8 KiB | pgroonga_13-4.0.4-1.el9.x86_64.rpm |
pgroonga_13 | 4.0.4 | el9.aarch64 | pigsty | 323.1 KiB | pgroonga_13-4.0.4-1.el9.aarch64.rpm |
pgroonga_13 | 4.0.4 | el10.x86_64 | pigsty | 330.4 KiB | pgroonga_13-4.0.4-1.el10.x86_64.rpm |
pgroonga_13 | 4.0.4 | el10.aarch64 | pigsty | 322.9 KiB | pgroonga_13-4.0.4-1.el10.aarch64.rpm |
postgresql-13-pgroonga | 4.0.0 | d12.x86_64 | pigsty | 738.3 KiB | postgresql-13-pgroonga_4.0.0-1PIGSTY~bookworm_amd64.deb |
postgresql-13-pgroonga | 4.0.0 | d12.aarch64 | pigsty | 730.7 KiB | postgresql-13-pgroonga_4.0.0-1PIGSTY~bookworm_arm64.deb |
postgresql-13-pgroonga | 4.0.0 | u22.x86_64 | pigsty | 786.0 KiB | postgresql-13-pgroonga_4.0.0-1PIGSTY~jammy_amd64.deb |
postgresql-13-pgroonga | 4.0.0 | u22.aarch64 | pigsty | 786.5 KiB | postgresql-13-pgroonga_4.0.0-1PIGSTY~jammy_arm64.deb |
postgresql-13-pgroonga | 4.0.0 | u24.x86_64 | pigsty | 695.4 KiB | postgresql-13-pgroonga_4.0.0-1PIGSTY~noble_amd64.deb |
postgresql-13-pgroonga | 4.0.0 | u24.aarch64 | pigsty | 695.5 KiB | postgresql-13-pgroonga_4.0.0-1PIGSTY~noble_arm64.deb |
Source
pig build get pgroonga; # get pgroonga source code
pig build dep pgroonga; # install build dependencies
pig build pkg pgroonga; # build extension rpm or deb
pig build ext pgroonga; # build extension rpmsInstall
To add the required PGDG / PIGSTY upstream repository, use:
pig repo add pgsql -u # add PGDG + Pigsty repo and update cache (leave existing repos)Install this extension with:
pig ext install pgroonga; # install by extension name, for the current active PG version
pig ext install pgroonga; # install via package alias, for the active PG version
pig ext install pgroonga -v 18; # install for PG 18
pig ext install pgroonga -v 17; # install for PG 17
pig ext install pgroonga -v 16; # install for PG 16
pig ext install pgroonga -v 15; # install for PG 15
pig ext install pgroonga -v 14; # install for PG 14
pig ext install pgroonga -v 13; # install for PG 13Create this extension with:
CREATE EXTENSION pgroonga;Usage
- https://pgroonga.github.io/
- News: It lists release information.
- Overview: It describes about PGroonga.
- Install: It describes how to install PGroonga.
- Upgrade: It describes how to upgrade PGroonga.
- Uninstall: It describes how to uninstall PGroonga.
- Tutorial: It describes how to use PGroonga step by step.
- FAQ: Frequently asked questions.
- How to: It describes about useful information for specific situations.
- Reference: It describes details for each features such as options, functions and operators.
- Troubleshooting: It describes how to fix troubles.
- Community: It introduces about PGroonga community.
- Users: It lists PGroonga users.
- Development: It describes how to develop PGroonga.
Here’s a quick tutorial about how to use PGroonga:
CREATE EXTENSION IF NOT EXISTS pgroonga;
CREATE TABLE memos
(
id integer,
content text
);
CREATE INDEX pgroonga_content_index ON memos USING pgroonga (content);
INSERT INTO memos VALUES (1, 'PostgreSQL is a relational database management system.');
INSERT INTO memos VALUES (2, 'Groonga is a fast full text search engine that supports all languages.');
INSERT INTO memos VALUES (3, 'PGroonga is a PostgreSQL extension that uses Groonga as index.');
INSERT INTO memos VALUES (4, 'There is groonga command.');
SET enable_seqscan = off;
-- now let's query pgroonga
SELECT * FROM memos WHERE content &@ 'engine';
-- id | content
-- ----+------------------------------------------------------------------------
-- 2 | Groonga is a fast full text search engine that supports all languages.
-- (1 row)
SELECT * FROM memos WHERE content &@~ 'PGroonga OR PostgreSQL';
-- id | content
-- ----+----------------------------------------------------------------
-- 3 | PGroonga is a PostgreSQL extension that uses Groonga as index.
-- 1 | PostgreSQL is a relational database management system.
-- (2 rows)
SELECT * FROM memos WHERE content LIKE '%engine%';
-- id | content
-- ----+------------------------------------------------------------------------
-- 2 | Groonga is a fast full text search engine that supports all languages.
-- (1 row)Last updated on