Re: [HACKERS] [PATCH] few fts functions for jsonb
От | Andrew Dunstan |
---|---|
Тема | Re: [HACKERS] [PATCH] few fts functions for jsonb |
Дата | |
Msg-id | 3ed3a754-3bd0-1788-befc-f651dbd8cf64@2ndQuadrant.com обсуждение исходный текст |
Ответ на | Re: [HACKERS] [PATCH] few fts functions for jsonb (Dmitry Dolgov <9erthalion6@gmail.com>) |
Ответы |
Re: [HACKERS] [PATCH] few fts functions for jsonb
|
Список | pgsql-hackers |
On 03/10/2017 11:13 AM, Dmitry Dolgov wrote: > > On 28 February 2017 at 19:21, Oleg Bartunov <obartunov@gmail.com > <mailto:obartunov@gmail.com>> wrote: > > 1. add json support > > I've added json support for all functions. > > > Its_headline should returns the original json with highlighting > > Yes, I see now. I don't think it's worth it to add a special option > for that > purpose, so I've just changed the implementation to return the > original json(b). > This is a pretty good idea. However, I think it should probably be broken up into a couple of pieces - one for the generic json/jsonb transforms infrastructure (which probably needs some more comments) and one for the FTS functions that will use it. cheers andrew -- Andrew Dunstan https://www.2ndQuadrant.com PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services
В списке pgsql-hackers по дате отправления: