Re: full text searching

From: "Mitch Vincent" <mitch(at)venux(dot)net>
To: "Culley Harrelson" <culleyharrelson(at)yahoo(dot)com>, <pgsql-general(at)postgresql(dot)org>
Subject: Re: full text searching
Date: 2001-02-05 16:28:45
Message-ID: 00aa01c08f90$b5ca4ad0$0200000a@windows
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general pgsql-hackers

> Hi,
>
> OK full text searching. Will the full text index
> catch changes in verb tense? i.e. will a search for
> woman catch women?
>
> I'm researching before I dive in to this later in the
> week so please excuse this incompletely informed
> question: Will I need to rebuild postgresql with the
> full-text index module included? Unfortunately I'm
> away from my linux machine-- would someone be willing
> to email me the README?

Regardless of indexing, you're still searching for a specific string (if you
search using the = operator).

SELECT * from people WHERE whatever = 'woman';

-- Isn't going to catch anything but the literal string "woman".. (it's case
sensitive too, mind you)

SELECT * from people WHERE whatever LIKE 'wom%n';

-- Should check either.

A regex search is going to get more specific but when using the regex
search, you can't use indexes.

Anyone, please correct me if I'm wrong.

-Mitch

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Mitch Vincent 2001-02-05 16:32:55 Re: full text searching
Previous Message Richard Huxton 2001-02-05 16:10:25 Re: ODBC driver for 7.1

Browse pgsql-hackers by date

  From Date Subject
Next Message Mathieu Dube 2001-02-05 16:31:37 Re: 1024 limits??
Previous Message Mathieu Dube 2001-02-05 16:20:47 Re: 1024 limits??