Re: Tsvector editing functions
От | Robert Haas |
---|---|
Тема | Re: Tsvector editing functions |
Дата | |
Msg-id | CA+TgmoYAQHp6vgUU-Ma4A-19rpLm4cTSUvfV24z8-0Aupea5gA@mail.gmail.com обсуждение исходный текст |
Ответ на | Tsvector editing functions (Stas Kelvich <s.kelvich@postgrespro.ru>) |
Ответы |
Re: Tsvector editing functions
|
Список | pgsql-hackers |
On Mon, Oct 5, 2015 at 1:29 PM, Stas Kelvich <s.kelvich@postgrespro.ru> wrote: > Hello. > > There is patch that adds some editing routines for tsvector type. > > tsvector delete(tsvector, text) > removes entry from tsvector by lexeme name > set unnest(tsvector) > expands a tsvector to a set of rows. Each row has following columns: lexeme, postings, weights. > text[] to_array(tsvector) > converts tsvector to array of lexemes > tsvector to_tsvector(text[]) > converts array of lexemes to tsvector When submitting a patch, it's a good idea to explain why someone would want the feature you are adding. Maybe that's obvious to you, but it isn't clear to me why we'd want this. -- Robert Haas EnterpriseDB: http://www.enterprisedb.com The Enterprise PostgreSQL Company
В списке pgsql-hackers по дате отправления: