tsearch2 setweight

Started by David Gama Rodrí­guezover 20 years ago2 messagesgeneral
Jump to latest
#1David Gama Rodrí­guez
david.gama@inegi.gob.mx

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

tnks!!!

#2Oleg Bartunov
oleg@sai.msu.su
In reply to: David Gama Rodrí­guez (#1)
Re: tsearch2 setweight

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