Re: [GENERAL] joins with text search

2010-09-08 Thread Sam Mason
On Tue, Sep 07, 2010 at 10:42:53PM -0400, p...@slatech.com wrote: > i am currently populating the textsearch column with the following > command: > > UPDATE > products > SET > textsearch=setweight(to_tsvector('english', description), 'A') || > setweight(to_tsvector('english', part_number, 'B')

[GENERAL] joins with text search

2010-09-07 Thread pg
hi- supposing i have the following table structure: vendors - id int - name varchar products - product_list_id int - vendor_id int references vendors - part_number varchar - description varchar - price - textsearch how can i execute some type of join and get the name of the vendor to be inclu