Search Postgresql Archives

Re: access to lexems or access to parsed elements

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



	Massa, Harald Armin wrote:

> select ts_parse('default','the quick brown fox jumped over the lazy fox')
> 
> (1,the)
> (12," ")
> (1,quick)
> [...]
> (1,fox)
> 
> is a set-returning-function, giving me 17 records of type pseudo-record.
> Stopwords still in there, so what. But: No chance of accessing the second
> field in that record.

What about:
select w from ts_parse('default','the quick brown fox jumped over the lazy
fox')
  as lexems(i,w);


Best regards,
-- 
Daniel
PostgreSQL-powered mail user agent and storage: http://www.manitou-mail.org

-- 
Sent via pgsql-general mailing list (pgsql-general@xxxxxxxxxxxxxx)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux