Re: default_text_search_config and expression indexes
Oleg Bartunov <oleg@sai.msu.su>
From: Oleg Bartunov <oleg@sai.msu.su>
To: tomas@tuxteam.de
Cc: Bruce Momjian <bruce@momjian.us>, Heikki Linnakangas <heikki@enterprisedb.com>, Ron Mayer <rm_pg@cheapcomplexdevices.com>, pgsql-hackers@postgresql.org
Date: 2007-08-09T10:03:13Z
Lists: pgsql-hackers
On Thu, 9 Aug 2007, tomas@tuxteam.de wrote: > Maybe I'm missing something, but it seems to me that the configuration > is more attached to a column/index thatn to the whole database. If > there's a default in an expression, I'd rather expect this default to be > drawn from the index involved than from a global value (like a functional > index does now). 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. 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