Re: tsearch2 setweight - Mailing list pgsql-general

From Oleg Bartunov
Subject Re: tsearch2 setweight
Date
Msg-id Pine.GSO.4.63.0510290126500.29329@ra.sai.msu.su
Whole thread Raw
In response to tsearch2 setweight  (David Gama Rodrí­guez <david.gama@inegi.gob.mx>)
List 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@sai.msu.su, http://www.sai.msu.su/~megera/
phone: +007(095)939-16-83, +007(095)939-23-83

pgsql-general by date:

Previous
From: Douglas McNaught
Date:
Subject: Re: Function written in C, hangs on one machine and not another...
Next
From: "Jim C. Nasby"
Date:
Subject: Re: Frequency of Analyze?