From: | Andrew Dunstan <andrew(at)dunslane(dot)net> |
---|---|
To: | pgsql-committers(at)postgresql(dot)org |
Subject: | pgsql: Full Text Search support for json and jsonb |
Date: | 2017-03-31 18:26:42 |
Message-ID: | E1cu1Fy-0002as-9m@gemulon.postgresql.org |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-committers |
Full Text Search support for json and jsonb
The new functions are ts_headline() and to_tsvector.
Dmitry Dolgov, edited and documented by me.
Branch
------
master
Details
-------
http://git.postgresql.org/pg/commitdiff/e306df7f9cd6b4433273e006df11bdc966b7079e
Modified Files
--------------
doc/src/sgml/func.sgml | 18 ++++
src/backend/tsearch/to_tsany.c | 138 ++++++++++++++++++++++++++
src/backend/tsearch/wparser.c | 190 ++++++++++++++++++++++++++++++++++++
src/include/catalog/pg_proc.h | 26 +++++
src/include/tsearch/ts_type.h | 9 ++
src/test/regress/expected/json.out | 90 +++++++++++++++++
src/test/regress/expected/jsonb.out | 90 +++++++++++++++++
src/test/regress/sql/json.sql | 26 +++++
src/test/regress/sql/jsonb.sql | 26 +++++
9 files changed, 613 insertions(+)
From | Date | Subject | |
---|---|---|---|
Next Message | Tom Lane | 2017-03-31 18:38:50 | Re: pgsql: Full Text Search support for json and jsonb |
Previous Message | Magnus Hagander | 2017-03-31 07:01:21 | pgsql: Fix typo in comment |