On Thu, Jun 25, 2009 at 01:05:41PM +0400, Oleg Bartunov wrote:
>>
>> 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)
>
> preprocess text, for example, using replace(), regexp_replace() functions
Oke, you mean at the time the insert in de db is done, i suppose.
However, I'm using the new syslog-ng 3 feature which does the
insert directly. So I have to change the syslogd for that.
I understand the ts_search parser is not configurable?
Thanks,
--
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/