Modelling tags

From: cluster <skrald(at)amossen(dot)dk>
To: pgsql-general(at)postgresql(dot)org
Subject: Modelling tags
Date: 2007-08-05 14:21:45
Message-ID: f94mdk$113b$1@news.hub.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

I am thinking about how to model tags for a web site in the database.
(Each site entry is assigned a number of tags and a match can then later
be performed between these tags and tags entered by the visitor).

Is tsearch2 the way to do it? Each site entry could then store its tags
in a tsvector. That would make me able to perform partial matches and
rate them.

Or how would you model tags in the database?

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Merlin Moncure 2007-08-05 14:40:37 Re: WAL Queries
Previous Message cluster 2007-08-05 14:17:07 Re: Safe usage of tsearch2: to_tsquery('<user input>')