Re: Text search configuration

From: Oleg Bartunov <oleg(at)sai(dot)msu(dot)su>
To: Pedro Stavrinides <pstavs(at)gmail(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Text search configuration
Date: 2008-09-02 06:15:59
Message-ID: Pine.LNX.4.64.0809021013100.1801@sn.sai.msu.ru
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Tue, 2 Sep 2008, Pedro Stavrinides wrote:

> Hi All,
>
> This is my first post to this mailing list, so apologies if I am sending my
> message to the incorrect place...
>
> My question: I have configured a very basic text search for our application,
> but got stuck at the point where I need the search vector to filter out some
> unwanted text (HTML tags and special characters etc.). I have been through
> the docs and think I have a basic understanding... it appears that I need
> to write a parser? Or is there something simpler? I couldn't find an
> examples, so any advise would be much appreciated before I start.

you don't need special parser, just to *include* what you need into your
configuration. See example
http://www.postgresql.org/docs/8.3/static/textsearch-configuration.html

>
> Thanks,
> Peter
>

Regards,
Oleg
_____________________________________________________________
Oleg Bartunov, Research Scientist, Head of AstroNet (www.astronet.ru),
Sternberg Astronomical Institute, Moscow University, Russia
Internet: oleg(at)sai(dot)msu(dot)su, http://www.sai.msu.su/~megera/
phone: +007(495)939-16-83, +007(495)939-23-83

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Edoardo Panfili 2008-09-02 08:53:03 Re: immutable functions and enumerate type casts in indexes
Previous Message Pedro Stavrinides 2008-09-02 06:03:45 Text search configuration