From: | xaviergxf <xaviergxf(at)gmail(dot)com> |
---|---|
To: | pgsql-general(at)postgresql(dot)org |
Subject: | Re: Improving Full text performance |
Date: | 2009-08-23 00:21:08 |
Message-ID: | c87a3afb-ce73-429b-88ae-29b608e21209@z31g2000yqd.googlegroups.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
If i strip all html tags and filter more stop words, will the search
be more accurate? Actually my fulltext stats returns some like: font
from <font> tags i guess, and other garbage.
If i do that, will i improve the speed of my search?
Thanks!
Ps: I cannot use other tools like MNOsearch, lucene, etc...because i
have no root pass to my server.
On 22 ago, 02:20, o(dot)(dot)(dot)(at)sai(dot)msu(dot)su (Oleg Bartunov) wrote:
> 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: o(dot)(dot)(dot)(at)sai(dot)msu(dot)su,http://www.sai.msu.su/~megera/
> phone: +007(495)939-16-83, +007(495)939-23-83
>
> --
> Sent via pgsql-general mailing list (pgsql-gene(dot)(dot)(dot)(at)postgresql(dot)org)
> To make changes to your subscription:http://www.postgresql.org/mailpref/pgsql-general
From | Date | Subject | |
---|---|---|---|
Next Message | John DeSoi | 2009-08-23 00:30:42 | Re: join from array or cursor |
Previous Message | Greg Sabino Mullane | 2009-08-22 22:55:59 | Re: How to simulate crashes of PostgreSQL? |