Re: exposing more parse was: Re: tsearch2: setting weights on tsquery

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Ivan Sergio Borgonovo <mail(at)webthatworks(dot)it>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: exposing more parse was: Re: tsearch2: setting weights on tsquery
Date: 2008-10-21 14:36:20
Message-ID: 20537.1224599780@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Ivan Sergio Borgonovo <mail(at)webthatworks(dot)it> writes:
> It would still be nice to be able to directly work with tsvector
> and tsquery so people could exploit the parser, lexer etc... and
> recycle the config.

> I'd thinking something in the line of
> for lex in select * from to_tsvector('jsjdjd fdsds')

Don't the tsearch debug functions provide what you want?
http://www.postgresql.org/docs/8.3/static/textsearch-debugging.html

regards, tom lane

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Rob Richardson 2008-10-21 14:54:56 Re: When are updates from inside transactions visible?
Previous Message Craig Ringer 2008-10-21 14:21:34 Re: Where are updates from inside transactions visible?