Re: Improving Full text performance - Mailing list pgsql-general

From Oleg Bartunov
Subject Re: Improving Full text performance
Date
Msg-id Pine.LNX.4.64.0908220918190.26817@sn.sai.msu.ru
Whole thread Raw
In response to Improving Full text performance  (xaviergxf <xaviergxf@gmail.com>)
List pgsql-general
On Fri, 21 Aug 2009, xaviergxf wrote:

> Hi,
>
>
>   I?m using php and full text on postgresql 8.3 for indexing html
> descriptions. I have no acess to postgresql server, since i use a
> shared hosting service.
>    To improve search and performance, i want to do the follow:
>
> Strip all html tags then use my php script to remove more stop words
> (because i can?t edit stop words file on the server).
>
> My question: What i?m thinking to do, has any collateral effects? Any
> suggestions?

You shouldn't bother to strip all html tags, just create your own text search
configuration, which index only what do you want. Read documentation for
details.


     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: Nathan Jahnke
Date:
Subject: Re: bytea corruption?
Next
From: Jorge Daine Quiambao
Date:
Subject: Re: ERROR: could not access file "$libdir/xxid": No such file or directory