pgroonga_database
pgroonga_database
pgroonga : PGroonga database management module
Overview
| ID | Extension | Package | Version | Category | License | Language |
|---|---|---|---|---|---|---|
| 2111 | pgroonga_database
|
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
zhparser
pg_bigm
pg_tokenizer
pg_trgm
fuzzystrmatch
rum
unaccent
|
| Siblings | pgroonga
|
Packages
| Type | Repo | Version | PG Major Compatibility | Package Pattern | Dependencies |
|---|---|---|---|---|---|
| EXT | PIGSTY
|
4.0.4 |
18
17
16
15
14
|
pgroonga |
- |
| RPM | PIGSTY
|
4.0.4 |
18
17
16
15
14
|
pgroonga_$v |
groonga-libs |
| DEB | PIGSTY
|
4.0.4 |
18
17
16
15
14
|
postgresql-$v-pgroonga |
libgroonga0 |
| Linux / PG | PG18 | PG17 | PG16 | PG15 | PG14 |
|---|---|---|---|---|---|
el8.x86_64
|
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
|
el9.x86_64
|
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
|
el10.x86_64
|
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
|
d12.x86_64
|
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
|
d13.x86_64
|
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
|
u22.x86_64
|
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
|
u24.x86_64
|
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
|
Source
pig build pkg pgroonga; # build rpm/debInstall
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_database; # install by extension name, for the current active PG version
pig install pgroonga_database -v 18; # install for PG 18
pig install pgroonga_database -v 17; # install for PG 17
pig install pgroonga_database -v 16; # install for PG 16
pig install pgroonga_database -v 15; # install for PG 15
pig install pgroonga_database -v 14; # install for PG 14Create this extension with:
CREATE EXTENSION pgroonga_database;Usage
pgroonga_database is a sub-extension of the PGroonga project. It provides database management functionality for PGroonga, which makes PostgreSQL a fast full text search platform for all languages.
PGroonga is a comprehensive full text search solution that uses Groonga as a backend. It supports all languages including CJK (Chinese, Japanese, Korean) out of the box, and provides rich features such as:
- Fast full text search with all language support
- Rich query syntax (query language, script syntax)
- JSON search
- HTML/XML tag aware highlighting
- Similar search
- Synonym expansion
- Autocomplete
- Query log analysis
The PGroonga documentation is extensive and spans hundreds of pages. For detailed usage, API reference, operators, functions, and tuning guides, please refer to the official documentation site:
Quick Start
CREATE EXTENSION pgroonga_database;
CREATE EXTENSION pgroonga;
-- Create a table with text content
CREATE TABLE memos (
id integer,
content text
);
-- Create a PGroonga index
CREATE INDEX pgroonga_content_index ON memos USING pgroonga (content);
-- Insert data
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 its backend.');
-- Full text search
SELECT * FROM memos WHERE content &@~ 'PostgreSQL OR Groonga';Last updated on