Re: tsearch2 in PostgreSQL 8.3?

From: Oleg Bartunov <oleg(at)sai(dot)msu(dot)su>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: josh(at)agliodbs(dot)com, Bruce Momjian <bruce(at)momjian(dot)us>, pgsql-hackers(at)postgresql(dot)org
Subject: Re: tsearch2 in PostgreSQL 8.3?
Date: 2007-08-18 05:53:34
Message-ID: Pine.LNX.4.64.0708180935450.18739@sn.sai.msu.ru
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Tom and Bruce, what version of patch you're using ?
Bruce complained about using OID in arguments of functions, but
AFAIR, it was removed in 0.58 version of patch.

I and Teodor are very busy and just can't follow all discussions, so
we have to rely on people's wisdom. If we have so many problem with
integration, that probably we could just integrate support of data types
(tsquery, tsvector), index support for them and set of support functions
like to_tsquery, to_tsvector and leave everything remaining in
contrib/tsearch2 as an example of text search engine design.
Then, after fixing design problem as well as some backend's issues we could
come with much better conclusions.

Oleg
On Fri, 17 Aug 2007, Tom Lane wrote:

> Josh Berkus <josh(at)agliodbs(dot)com> writes:
>>> Oh, so you want the config inside each tsvector value. Interesting
>>> idea.
>
>> Yeah, hasn't anyone suggested this before? It seems like the obvious
>> solution.
>
> It might be an obvious solution, but to some other problem than the one
> we have. The problem we are trying to address is how to know which
> config to use to construct a *new* tsvector.
>
>> A TSvector constructed with en_US is NOT the same as a vector
>> constructed with fr_FR and it's silly to pretend that they are comparable.
>
> Um, actually I think Oleg and Teodor believe that they *are* comparable.
> If we try to force them not to be then we'll break multi-language
> situations.
>
> regards, tom lane
>
> ---------------------------(end of broadcast)---------------------------
> TIP 2: Don't 'kill -9' the postmaster
>

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-hackers by date

  From Date Subject
Next Message Oleg Bartunov 2007-08-18 05:54:59 Re: tsearch2 in PostgreSQL 8.3?
Previous Message Oleg Bartunov 2007-08-18 05:35:35 Re: tsearch2 in PostgreSQL 8.3?