Re: tsvector extraction patch

Поиск
Список
Период
Сортировка
От Alvaro Herrera
Тема Re: tsvector extraction patch
Дата
Msg-id 20090708193815.GN5053@alvh.no-ip.org
обсуждение исходный текст
Ответ на Re: tsvector extraction patch  (Mike Rylander <mrylander@gmail.com>)
Список pgsql-hackers
Mike Rylander escribió:
> On Fri, Jul 3, 2009 at 3:49 AM, Hans-Juergen Schoenig --
> PostgreSQL<postgres@cybertec.at> wrote:

> > test=# SELECT * FROM tsvcontent(to_tsvector('english', 'i am pretty sure
> > this is a good patch'));
> > lex   | rank
> > --------+------
> > good   |    8
> > patch  |    9
> > pretti |    3
> > sure   |    4
> > (4 rows)
> >
> 
> This looks very useful!  I wonder if providing a "weight" column would
> be relatively simple?  I think this would present problems with the
> cast-to-text[] idea that Peter suggests, though.

Where would the weight come from?

-- 
Alvaro Herrera                                http://www.CommandPrompt.com/
PostgreSQL Replication, Consulting, Custom Development, 24x7 support


В списке pgsql-hackers по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Does EXEC_BACKEND mode still need to propagate setlocale settings?
Следующее
От: Andrew Gierth
Дата:
Сообщение: hstore patch