Skip to content

Support for PGroonga operators #2028

Open
@steve-chavez

Description

@steve-chavez

PGroonga offers performance and usability advantages over pg native textsearch and pg_trgm.

Tutorial: https://pgroonga.github.io/tutorial/

Reference : https://pgroonga.github.io/reference/

Proposal

Since pgroonga operators work on regular data types like text and jsonb, we can conditionally enable them on a column if it's indexed. This is to prevent expensive searches on unindexed columns.

CREATE INDEX index_name ON table USING pgroonga (column);

Then to do SELECT * FROM table WHERE column &@~ 'PostgreSQL';:

GET /table?column=groonga_query.PostgreSQL

(&@~ is groonga_query for now).

Then we can document this in an integrations(or extensions) page like we did for timescale.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementa feature, ready for implementation

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions