Re: tsearch2 in PostgreSQL 8.3?
Oleg Bartunov <oleg@sai.msu.su>
From: Oleg Bartunov <oleg@sai.msu.su>
To: tomas@tuxteam.de
Cc: Josh Berkus <josh@agliodbs.com>, Bruce Momjian <bruce@momjian.us>, pgsql-hackers@postgresql.org, Tom Lane <tgl@sss.pgh.pa.us>
Date: 2007-08-18T05:35:35Z
Lists: pgsql-hackers
On Sat, 18 Aug 2007, tomas@tuxteam.de wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > On Fri, Aug 17, 2007 at 04:06:15PM -0700, Josh Berkus wrote: > > Bruce, > > > > > 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. 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. > > Except that (as I understand Oleg) it even seems to make sense sometimes > to compare a tsvectors constructed with different configs -- so it might > be important not to prevent this use case eihter. Oleg? yes, for example, you have tsvectors obtained from different sources, which require different processing. > > Otherwise your proposal makes the most sense... > > Regards > - -- tomц║s > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.4.1 (GNU/Linux) > > iD8DBQFGxm+DBcgs9XrR2kYRAn7RAJ4u508XQB/W6fMTmTchizlsvKEkEwCfTtTK > R0DMLqNil2VQolFBWE69ZU0= > =Tvh/ > -----END PGP SIGNATURE----- > Regards, Oleg _____________________________________________________________ Oleg Bartunov, Research Scientist, Head of AstroNet (www.astronet.ru), Sternberg Astronomical Institute, Moscow University, Russia Internet: oleg@sai.msu.su, http://www.sai.msu.su/~megera/ phone: +007(495)939-16-83, +007(495)939-23-83