Re: exposing more parse was: Re: tsearch2: setting weights on tsquery - Mailing list pgsql-general

From Tom Lane
Subject Re: exposing more parse was: Re: tsearch2: setting weights on tsquery
Date
Msg-id 20537.1224599780@sss.pgh.pa.us
Whole thread Raw
In response to Re: exposing more parse was: Re: tsearch2: setting weights on tsquery  (Ivan Sergio Borgonovo <mail@webthatworks.it>)
Responses Re: exposing more parse was: Re: tsearch2: setting weights on tsquery  (Ivan Sergio Borgonovo <mail@webthatworks.it>)
List pgsql-general
Ivan Sergio Borgonovo <mail@webthatworks.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

pgsql-general by date:

Previous
From: Craig Ringer
Date:
Subject: Re: Where are updates from inside transactions visible?
Next
From: "Rob Richardson"
Date:
Subject: Re: When are updates from inside transactions visible?