Re: Updated tsearch documentation

From: Oleg Bartunov <oleg(at)sai(dot)msu(dot)su>
To: Bruce Momjian <bruce(at)momjian(dot)us>
Cc: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, Teodor Sigaev <teodor(at)sigaev(dot)ru>, pgsql-hackers(at)postgresql(dot)org
Subject: Re: Updated tsearch documentation
Date: 2007-07-19 04:59:06
Message-ID: Pine.LNX.4.64.0707190838200.18739@sn.sai.msu.ru
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-advocacy pgsql-hackers

On Wed, 18 Jul 2007, Bruce Momjian wrote:

> Oleg, Teodor,
>
> I am confused by the following example. How does gin know to create a
> tsvector, or does it? Does gist know too?

No, gist doesn't know. I don't remember why, Teodor ?

For GIN see http://archives.postgresql.org/pgsql-hackers/2007-05/msg00625.php
for discussion

>
> FYI, at some point we need to chat via instant messenger or IRC to
> discuss the open items. My chat information is here:
>
> http://momjian.us/main/contact.html

I send you invitation for google talk, I use only chat in gmail.
My gmail account is obartunov(at)gmail(dot)com

>
> ---------------------------------------------------------------------------
>
> SELECT title
> FROM pgweb
> WHERE textcat(title,body) @@ plainto_tsquery('create table')
> ORDER BY dlm DESC LIMIT 10;
>
> CREATE INDEX pgweb_idx ON pgweb USING gin(textcat(title,body));
>
>

Regards,
Oleg
_____________________________________________________________
Oleg Bartunov, Research Scientist, Head of AstroNet (www.astronet.ru),
Sternberg Astronomical Institute, Moscow University, Russia
Internet: oleg(at)sai(dot)msu(dot)su, http://www.sai.msu.su/~megera/
phone: +007(495)939-16-83, +007(495)939-23-83

In response to

Responses

Browse pgsql-advocacy by date

  From Date Subject
Next Message Jim Nasby 2007-07-20 04:58:35 8.2 -> 8.3 performance numbers
Previous Message Bruce Momjian 2007-07-19 03:27:59 Re: Updated tsearch documentation

Browse pgsql-hackers by date

  From Date Subject
Next Message Magnus Hagander 2007-07-19 07:33:56 Re: Future of krb5 authentication
Previous Message Bruce Momjian 2007-07-19 03:27:59 Re: Updated tsearch documentation