Search Postgresql Archives

Re: Add Space symbols for TSvector

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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/

-- 
Sent via pgsql-general mailing list (pgsql-general@xxxxxxxxxxxxxx)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux