Re: For full text indexing, which is better, tsearch2 or

From: Dror Matalon <dror(at)zapatec(dot)com>
To: pgsql-performance(at)postgresql(dot)org
Subject: Re: For full text indexing, which is better, tsearch2 or
Date: 2003-11-27 01:03:52
Message-ID: 20031127010352.GT30893@rlx11.zapatec.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-performance


On Thu, Nov 27, 2003 at 08:51:14AM +0800, Christopher Kings-Lynne wrote:
> >Which one is better (performance/easier to use),
> >tsearch2 or fulltextindex?
> >there is an example how to use fulltextindex in the
> >techdocs, but I checked the contrib/fulltextindex
> >package, there is a WARNING that fulltextindex is
> >much slower than tsearch2. but tsearch2 seems
> >complex to use, and I can not find a good example.
> >Which one I should use? Any suggestions?
>
> I believe I wrote that warning :)
>
> Tsearch2 is what you should use. Yes, it's more complicated but it's
> HEAPS faster and seriously powerful.
>

Can you provide some numbers please, both for creating full text indexes
as well as for searching them? I tried to use tsearch and it seemed like
just creating a full text index on million+ records took forever.

> Just read the README file.
>
> You could also try out the original tsearch (V1), but that will probably
> be superceded soon, now that tsearch2 is around.
>
> Chris
>
>
>
> ---------------------------(end of broadcast)---------------------------
> TIP 5: Have you checked our extensive FAQ?
>
> http://www.postgresql.org/docs/faqs/FAQ.html

--
Dror Matalon
Zapatec Inc
1700 MLK Way
Berkeley, CA 94709
http://www.fastbuzz.com
http://www.zapatec.com

In response to

Browse pgsql-performance by date

  From Date Subject
Next Message Steve Atkins 2003-11-27 03:28:31 Re: For full text indexing, which is better, tsearch2 or
Previous Message Christopher Kings-Lynne 2003-11-27 01:03:14 Re: very large db performance question