pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
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&gt; SELECT id, body, MATCH (title,body) AGAINST<br>
-&gt; ('Security implications of running MySQL as root') AS score<br>
-&gt; FROM articles WHERE MATCH (title,body) AGAINST<br>
-&gt; ('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>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
Laurent Patureau<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</font><font size=1>S.A.R.L.</font><font size=2> ID.fr<br>
<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
<a href="mailto:lpatureau@idfr.net" eudora="autourl">mailto:lpatureau@idfr.net</a><br>
<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
<a href="http://www.idfr.net/"; eudora="autourl">http://www.idfr.net</a><br;
<br>
&nbsp;&nbsp;&nbsp; Porter un nouveau regard à votre audience :<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
<a href="http://www.wysistat.com/"; eudora="autourl">http://www.wysistat.com</a><br;
<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
Tel : 03 81 48 03 13<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
Fax : 03 81 48 04 83<br>
<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 16,
Boulevard Winston Churchill<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
25 000 Besançon<br>
___________________________________</font></html>




view thread (2+ messages)  latest in thread

Message-ID: <5.0.0.25.0.20030829123618.02819278@pop.noos.fr>
Permalink:  ../5.0.0.25.0.20030829123618.02819278@pop.noos.fr/
Also on:    postgresql.org/message-id/5.0.0.25.0.20030829123618.02819278@pop.noos.fr

 · 

reply

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