Re: relaxed full text search? - Mailing list pgsql-novice

From Tom Lane
Subject Re: relaxed full text search?
Date
Msg-id 17780.1454644248@sss.pgh.pa.us
Whole thread Raw
In response to relaxed full text search?  (Steven Marcus <steven@silvertrak.com.au>)
List pgsql-novice
Steven Marcus <steven@silvertrak.com.au> writes:
> My first implementation of full text search is generally working -- but I'd
> like to be able to relax the matching rules.
> For example, searching for "salmon" does not find "salmonella" as
> configured out of the box for postgresql 9.3.10.

Hm, well, I don't think most people would think those were the same
word...

You can get that type of result by searching for "salmon:*", but if your
idea of "match" is "prefix string match" then I wonder whether you want
the FTS machinery at all.  There are other ways to get that behavior with
less overhead.

            regards, tom lane


pgsql-novice by date:

Previous
From: Steven Marcus
Date:
Subject: Re: relaxed full text search?
Next
From: bradg
Date:
Subject: Xcode compile error with postgres.h and pg_type.h