Re: Full Text Search : Parse date

Поиск
Список
Период
Сортировка
От Craig Ringer
Тема Re: Full Text Search : Parse date
Дата
Msg-id 4BEB6475.3060608@postnewspapers.com.au
обсуждение исходный текст
Ответ на Full Text Search : Parse date  (Mickaël DA ROCHA <MICKAEL@documentnumerique.fr>)
Список pgsql-general
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

You'll probably *also* want to continue to output the current year,
month and day (though probably without hyphens), so people can still
search for (eg) "2009".

--
Craig Ringer

В списке pgsql-general по дате отправления:

Предыдущее
От: "Joshua D. Drake"
Дата:
Сообщение: Re: pg_dump custom format across versions
Следующее
От:
Дата:
Сообщение: Unpivot / uncrosstab support?