Re: Simplifying Text Search - Mailing list pgsql-hackers

From Simon Riggs
Subject Re: Simplifying Text Search
Date
Msg-id 1194901657.2644.240.camel@ebony.site
Whole thread Raw
In response to Re: Simplifying Text Search  ("Pavel Stehule" <pavel.stehule@gmail.com>)
List pgsql-hackers
On Mon, 2007-11-12 at 21:59 +0100, Pavel Stehule wrote:

> SELECT  docno
> FROM information
> WHERE document.CONTAINS
>  ('STEMMED FORM OF "standard"
>  IN SAME PARAGRAPH AS
>  SOUNDS LIKE "sequel"') = 1
> 
> it's little bit baroque, It's sample of method.

Seems thats the way Oracle does it too.

The SQLServer syntax is 
WHERE contains(text_column, search_query)

which seems marginally better.

--  Simon Riggs 2ndQuadrant  http://www.2ndQuadrant.com



pgsql-hackers by date:

Previous
From: Martijn van Oosterhout
Date:
Subject: Re: Simplifying Text Search
Next
From: Alvaro Herrera
Date:
Subject: Re: Simplifying Text Search