Re: Shrinking TSvectors
От | Oleg Bartunov |
---|---|
Тема | Re: Shrinking TSvectors |
Дата | |
Msg-id | CAF4Au4yJZLWMhg391DcQ79D5RGTReSeFcyubpVfW8nNdBkSeOQ@mail.gmail.com обсуждение исходный текст |
Ответ на | Shrinking TSvectors (Howard News <howardnews@selestial.com>) |
Ответы |
Re: Shrinking TSvectors
|
Список | pgsql-general |
On Tue, Apr 5, 2016 at 2:37 PM, Howard News <howardnews@selestial.com> wrote:
select strip ('asd:23');
strip
-------
'asd'
(1 row)
Hi,
does anyone have any pointers for shrinking tsvectors
I have looked at the contents of some of these fields and they contain many details that are not needed. For example...
"'+1':935,942 '-0500':72 '-0578':932 '-0667':938 '-266':937 '-873':944 '-9972':945 '/partners/application.html':222 '/partners/program/program-agreement.pdf':271 '/partners/reseller.html':181,1073 '01756':50,1083 '07767':54,1087 '1':753,771 '12':366 '14':66 (...)"
I am not interested in keeping the numbers or urls in the indexes.
select strip ('asd:23');
strip
-------
'asd'
(1 row)
Thanks,
Howard.
--
Sent via pgsql-general mailing list (pgsql-general@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general
В списке pgsql-general по дате отправления: