Re: tsearch2 setweight

From: Oleg Bartunov <oleg(at)sai(dot)msu(dot)su>
To: David Gama Rodrí­guez <david(dot)gama(at)inegi(dot)gob(dot)mx>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: tsearch2 setweight
Date: 2005-10-28 21:30:33
Message-ID: Pine.GSO.4.63.0510290126500.29329@ra.sai.msu.su
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Fri, 28 Oct 2005, David Gama Rodr??guez wrote:

> Hello List
>
> I' ve installed tsearch2 and is working perfectly
> but I get this thing, I want to index more than 4 fields in one tsvector
> so I think to use the setweight but it can only accept ABCD y need to have 5
> letters or more
>
> Is there any way to change that? or changing the source code, but I want to
> know if this affects tsearch or postgres

currently, no. Do you really need more than 4 classes, not attributes
(different attributes could belong to the same lexem class) ?

In principle, it's possible to have more than 4 classes, but then you'll
increase storage for tsvector.

>
> tnks!!!
>
> ---------------------------(end of broadcast)---------------------------
> TIP 2: Don't 'kill -9' the postmaster
>

Regards,
Oleg
_____________________________________________________________
Oleg Bartunov, sci.researcher, hostmaster of AstroNet,
Sternberg Astronomical Institute, Moscow University (Russia)
Internet: oleg(at)sai(dot)msu(dot)su, http://www.sai.msu.su/~megera/
phone: +007(095)939-16-83, +007(095)939-23-83

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Jim C. Nasby 2005-10-28 21:51:28 Re: Frequency of Analyze?
Previous Message David Gama Rodrí­guez 2005-10-28 21:04:17 tsearch2 setweight