| From: | Oleg Bartunov <oleg(at)sai(dot)msu(dot)su> |
|---|---|
| To: | tomas(at)tuxteam(dot)de |
| Cc: | Bruce Momjian <bruce(at)momjian(dot)us>, Heikki Linnakangas <heikki(at)enterprisedb(dot)com>, Ron Mayer <rm_pg(at)cheapcomplexdevices(dot)com>, pgsql-hackers(at)postgresql(dot)org |
| Subject: | Re: default_text_search_config and expression indexes |
| Date: | 2007-08-09 10:03:13 |
| Message-ID: | Pine.LNX.4.64.0708091358260.18739@sn.sai.msu.ru |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-advocacy pgsql-hackers |
On Thu, 9 Aug 2007, tomas(at)tuxteam(dot)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(at)sai(dot)msu(dot)su, http://www.sai.msu.su/~megera/
phone: +007(495)939-16-83, +007(495)939-23-83
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Robert Treat | 2007-08-09 16:20:25 | Re: EnterpriseDB Postgres |
| Previous Message | tomas | 2007-08-09 09:36:40 | Re: default_text_search_config and expression indexes |
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Pavan Deolasee | 2007-08-09 10:16:30 | Re: HOT patch, missing things |
| Previous Message | Omar Bettin | 2007-08-09 09:52:02 | Re: comunication protocol |