Re: Full Text Indexing and Syntax

From: Michael Glaesemann <grzm(at)myrealbox(dot)com>
To: "flood" <bfd3000(at)gmail(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Full Text Indexing and Syntax
Date: 2006-03-01 02:59:06
Message-ID: E539B164-D39A-4425-9A76-95392E6F6153@myrealbox.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general


On Mar 1, 2006, at 6:54 , flood wrote:

> Unfortunately I can not seem to get my query to use PG's full text
> indexing, it keeps doing a seq scan:

>
> EXPLAIN
> SELECT t1.id, t2.id
> FROM test1 t1, test2 t2
> WHERE lower( t1.keyword ) ~ ( lower ( '^' || t2.article ));

It doesn't appear that you're using tsearch2. PostgreSQL does not
include full text search in the basic installation. Have you
installed tsearch2?

Michael Glaesemann
grzm myrealbox com

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Joshua D. Drake 2006-03-01 03:07:16 Re: Full Text Indexing and Syntax
Previous Message Jim C. Nasby 2006-03-01 00:33:09 Re: majordomo unmaintained, postmaster emails ignored?