pgroonga
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 Compatibility | Package Pattern | Dependencies |
|---|---|---|---|---|---|
| EXT | PIGSTY | 4.0.4 | 18 17 16 15 14 13 | pgroonga | - |
| RPM | PIGSTY | 4.0.4 | 18 17 16 15 14 13 | pgroonga_$v* | groonga-libs |
| DEB | 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 | 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.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 |
d13.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 |
d13.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 |
u22.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 |
u22.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 |
u24.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 |
u24.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 |
Source
pig build pkg pgroonga; # build rpm / deb with pigInstall
Make sure PGDG and PIGSTY repo available:
pig repo add pgsql -u # add both repo and update cacheInstall this extension with pig:
pig install pgroonga; # install via package name, for the active PG version
pig install pgroonga -v 18; # install for PG 18
pig install pgroonga -v 17; # install for PG 17
pig install pgroonga -v 16; # install for PG 16
pig install pgroonga -v 15; # install for PG 15
pig install pgroonga -v 14; # install for PG 14
pig 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