-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Thu, Aug 09, 2007 at 02:03:13PM +0400, Oleg Bartunov wrote: > On Thu, 9 Aug 2007, [EMAIL PROTECTED] wrote: > > >Maybe I'm missing something [...]
> I'm tired to repeat - index itself doesn't know about configuration ! > It just index tsvector data type. tsvector in turn can be obtained > using various ways: > 1. manually > 2. to_tsvector > > tsvector can be stored in a separate attribute or be fully virtual > like in expressional index. > > Moreover, tsvector can be obtained using various configurations depending > on your application. Yep. I think I got that. Now what will be the "normal" case for a new user? * build an index with a virtual tsvector (using a configuration). Then I would expect the "index" to know the "whole" function to calculate its entries -- that would include the config used. This would be more "compatible" with the approach stated elsewhere to always mention explicitly the config. * manually. Would a novice do that? Or is that advanced stuff? Regards -- and sorry for my stupid questions :) - -- tomás -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.1 (GNU/Linux) iD8DBQFGu1ciBcgs9XrR2kYRAnVqAJ9mSc463I44JxLLDPpUZ/JirUVH5ACeOhUr 2/4aXs0ukMnvP8YCq8pamwQ= =IgfC -----END PGP SIGNATURE----- ---------------------------(end of broadcast)--------------------------- TIP 4: Have you searched our list archives? http://archives.postgresql.org