pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Jocelyn Callier <callier@vdl2.ca>
To: pgsql-sql@postgresql.org
Subject: Full text search
Date: Tue, 13 Nov 2001 15:26:48 -0500
Message-ID: <3BF18208.7040000@vdl2.ca> (raw)

Hi all.
I'm using Postgres 7.1 to store emails archives. I want to perform a 
full text search in emails' contents. Emails' content can be quite big 
(up to 15000 characters). I've already seen that Regex match function 
'~' is way faster than the classical sql 'LIKE' function.

Is there another tip to make the search faster ? Something like 
automatic indexation of words when insering the text ? Or, I don't know, 
optimization stuff... ?

Any help would be appreciate.

Thanks.

--------------
Jocelyn Callier
callier@vdl2.ca





view thread (5+ messages)  latest in thread

Message-ID: <3BF18208.7040000@vdl2.ca>
Permalink:  ../3BF18208.7040000@vdl2.ca/
Also on:    postgresql.org/message-id/3BF18208.7040000@vdl2.ca

 · 

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 using the --to and --cc options:
  reply via email

  To: pgsql-sql@postgresql.org
  Cc: callier@vdl2.ca
  Subject: Re: Full text search
  In-Reply-To: <3BF18208.7040000@vdl2.ca>

* 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