From: Laurent Patureau <lpatureau@idfr.net>
To: pgsql-sql@postgresql.org
Subject: Select Match on PostgreSQL.
Date: Fri, 29 Aug 2003 12:41:57 +0200
Message-ID: <5.0.0.25.0.20030829123618.02819278@pop.noos.fr> (raw)
<html>
<br>
Hi,<br>
<br>
I'm looking for a SELECT request on PostgreSQL for a search engine.<br>
I'd like the request return me the pertinence (relevance) of each
result.<br>
<br>
I've found the MySQL syntax on the web :<br>
mysql> SELECT id, body, MATCH (title,body) AGAINST<br>
-> ('Security implications of running MySQL as root') AS score<br>
-> FROM articles WHERE MATCH (title,body) AGAINST<br>
-> ('Security implications of running MySQL as root');<br>
<br>
But how can I do it on PostgreSQL where Match syntax is not accepted
?<br>
<br>
Thanks to help me.<br>
<br>
Regards.<br>
<x-sigsep><p></x-sigsep>
Laurent Patureau.<br>
Co-gérant / Ingénieur d'Affaire.<br>
____________________________________<br>
<font size=2>
Laurent Patureau<br>
</font><font size=1>S.A.R.L.</font><font size=2> ID.fr<br>
<br>
<a href="mailto:lpatureau@idfr.net" eudora="autourl">mailto:lpatureau@idfr.net</a><br>
<br>
<a href="http://www.idfr.net/"; eudora="autourl">http://www.idfr.net</a><br;
<br>
Porter un nouveau regard à votre audience :<br>
<a href="http://www.wysistat.com/"; eudora="autourl">http://www.wysistat.com</a><br;
<br>
Tel : 03 81 48 03 13<br>
Fax : 03 81 48 04 83<br>
<br>
16,
Boulevard Winston Churchill<br>
25 000 Besançon<br>
___________________________________</font></html>
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-sql@postgresql.org
Cc: lpatureau@idfr.net
Subject: Re: Select Match on PostgreSQL.
In-Reply-To: <5.0.0.25.0.20030829123618.02819278@pop.noos.fr>
References: <5.0.0.25.0.20030829123618.02819278@pop.noos.fr>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox