Re: full text index / search

From: "Albe Laurenz" <laurenz(dot)albe(at)wien(dot)gv(dot)at>
To: "Philipp Kraus *EXTERN*" <philipp(dot)kraus(at)flashpixx(dot)de>, <pgsql-general(at)postgresql(dot)org>
Subject: Re: full text index / search
Date: 2012-06-18 09:04:53
Message-ID: D960CB61B694CF459DCFB4B0128514C20808CB96@exadv11.host.magwien.gv.at
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Philipp Kraus wrote:
> I have created a table with a text field under PG 9.1, that should
store source codes. I would like to
> search in this text field with regular expressions. I think I need a
full-text-index, do I?
> How can I create this index, do I need some additional extensions? The
PG server runs under OSX
> (installed on the DMG package).

A full text index won't help you with regular expressions.
It will only help with full text search using the match operator @@.

Yours,
Laurenz Albe

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Tomas Vondra 2012-06-18 09:13:56 Re: full text index / search
Previous Message Léa Massiot 2012-06-18 07:46:46 Re: Starting a cluster as a service