Add Space symbols for TSvector - Mailing list pgsql-general

From Henk van Lingen
Subject Add Space symbols for TSvector
Date
Msg-id 20090625084646.GB13009@uu.nl
Whole thread Raw
Responses Re: Add Space symbols for TSvector
List pgsql-general
Hi,

How can I add a character as space symbol for the full text search indexes?

I'm adding firewall syslog lines in a database (8.3.7), and have a GIN
index on the message field. I'd like the slash considered a space symbol,
so i can search for IPnumbers in test like

world/123.456.192.46(0) -> some-fwsm/123.456.221.121(0)

Regards,
--
Henk van Lingen,                                              (o-      -+
Netwerk & Telefonie, ICT Service Center                       /\        |
Universiteit Utrecht, Jenalaan 18a, kamer 1.40                v_/_
http://henk.vanlingen.net/             http://www.tuxtown.net/netiquette/

pgsql-general by date:

Previous
From: "Albe Laurenz"
Date:
Subject: Re: Bug in ecpg lib ?
Next
From: Oleg Bartunov
Date:
Subject: Re: Add Space symbols for TSvector