pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Steve Atkins <steve@blighty.com>
To: pgsql-performance@postgresql.org
Subject: Re: For full text indexing, which is better, tsearch2 or
Date: Wed, 26 Nov 2003 19:28:31 -0800
Message-ID: <20031127032831.GA4836@gp.word-to-the-wise.com> (raw)
In-Reply-To: <3FC54A82.2040605@familyhealth.com.au>
References: <4c0ccf4c27ff.4c27ff4c0ccf@jhmimail.jhmi.edu>
	<3FC54A82.2040605@familyhealth.com.au>

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.

Does anyone have any metrics on how fast tsearch2 actually is?

I tried it on a synthetic dataset of a million documents of a hundred
words each and while insertions were impressively fast I gave up on
the search after 10 minutes.

Broken? Unusable slow? This was on the last 7.4 release candidate.

Cheers,
  Steve



view thread (11+ messages)  latest in thread

Message-ID: <20031127032831.GA4836@gp.word-to-the-wise.com>
Permalink:  ../20031127032831.GA4836@gp.word-to-the-wise.com/
Also on:    postgresql.org/message-id/20031127032831.GA4836@gp.word-to-the-wise.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-performance@postgresql.org
  Cc: steve@blighty.com
  Subject: Re: For full text indexing, which is better, tsearch2 or
  In-Reply-To: <20031127032831.GA4836@gp.word-to-the-wise.com>
  References: <4c0ccf4c27ff.4c27ff4c0ccf@jhmimail.jhmi.edu> <3FC54A82.2040605@familyhealth.com.au> <20031127032831.GA4836@gp.word-to-the-wise.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox