Open
Description
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.