Re: Text search configuration - Mailing list pgsql-general

From Oleg Bartunov
Subject Re: Text search configuration
Date
Msg-id Pine.LNX.4.64.0809021013100.1801@sn.sai.msu.ru
Whole thread Raw
In response to Text search configuration  ("Pedro Stavrinides" <pstavs@gmail.com>)
List 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@sai.msu.su, http://www.sai.msu.su/~megera/
phone: +007(495)939-16-83, +007(495)939-23-83

pgsql-general by date:

Previous
From: "Pedro Stavrinides"
Date:
Subject: Text search configuration
Next
From: Edoardo Panfili
Date:
Subject: Re: immutable functions and enumerate type casts in indexes