| From: | Oleg Bartunov <oleg(at)sai(dot)msu(dot)su> |
|---|---|
| To: | APseudoUtopia <apseudoutopia(at)gmail(dot)com> |
| Cc: | pgsql-general(at)postgresql(dot)org |
| Subject: | Re: tsvector Column Indexing Across Two Tables |
| Date: | 2009-09-07 08:14:03 |
| Message-ID: | Pine.LNX.4.64.0909071212510.6801@sn.sai.msu.ru |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-general |
On Sun, 6 Sep 2009, APseudoUtopia wrote:
> Sorry to post again. I was reading over the documentation and I
> discovered that it is possible to concatenate two tsvector's together.
> So I can concat the subject tsvector index from the forums_topics
> table with the post body in forums_posts.
>
If you read further documentation you'll discover it's wise to assign
different weights for subject and body for better ranking.
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 | Ow Mun Heng | 2009-09-07 09:15:09 | Re: trigger and returning the #of rows affected (partitioning) |
| Previous Message | Sébastien Lardière | 2009-09-07 08:09:53 | Re: [Skytools-users] WAL Shipping + checkpoint |