Re: [GENERAL] Full Text Search : Parse date

2010-05-12 Thread Craig Ringer
On 11/05/10 21:19, Mickaël DA ROCHA wrote: Hello, We have a document that contains a date (french date for example) : 28-04-2009 (28 April 2009) In the to_tsvector function, it is noted as : ’-04’:2 ‘-2009’:3 ’28’:1 Is it possible to have something like that (a date) : ‘28-04-2009’:1

[GENERAL] Full Text Search : Parse date

2010-05-11 Thread Mickaël DA ROCHA
Hello, We have a document that contains a date (french date for example) : 28-04-2009 (28 April 2009) In the to_tsvector function, it is noted as : '-04':2 '-2009':3 '28':1 Is it possible to have something like that (a date) : '28-04-2009':1 Does a Parser Token Type for date exists ? («

Re: [GENERAL] Full Text Search : Parse date

2010-05-11 Thread Oleg Bartunov
On Tue, 11 May 2010, Micka?l DA ROCHA wrote: Hello, We have a document that contains a date (french date for example) : 28-04-2009 (28 April 2009) In the to_tsvector function, it is noted as : '-04':2 '-2009':3 '28':1 Is it possible to have something like that (a date) : '28-04-2009':1