Full Text Search support for json and jsonb
Andrew Dunstan <andrew@dunslane.net>
Full Text Search support for json and jsonb The new functions are ts_headline() and to_tsvector. Dmitry Dolgov, edited and documented by me.
Files
| Path | Change | +/− |
|---|---|---|
| doc/src/sgml/func.sgml | modified | +18 −0 |
| src/backend/tsearch/to_tsany.c | modified | +138 −0 |
| src/backend/tsearch/wparser.c | modified | +190 −0 |
| src/include/catalog/pg_proc.h | modified | +26 −0 |
| src/include/tsearch/ts_type.h | modified | +9 −0 |
| src/test/regress/expected/jsonb.out | modified | +90 −0 |
| src/test/regress/expected/json.out | modified | +90 −0 |
| src/test/regress/sql/jsonb.sql | modified | +26 −0 |
| src/test/regress/sql/json.sql | modified | +26 −0 |