postgresql & Fulltext & ranking & my own functions

Поиск
Список
Период
Сортировка
От Nicolas Paris
Тема postgresql & Fulltext & ranking & my own functions
Дата
Msg-id CA+ssMOSctexYMQj7PPYqNVF6iKipmpwp6Rjb=1vC1sEpCQ2v2A@mail.gmail.com
обсуждение исходный текст
Ответы Re: postgresql & Fulltext & ranking & my own functions  (Oleg Bartunov <obartunov@gmail.com>)
Список pgsql-general
Hello,

Documentation says : (http://www.postgresql.org/docs/9.5/static/textsearch-controls.html#TEXTSEARCH-RANKING)
"The built-in ranking functions are only examples. You can write your own ranking functions and/or combine their results with additional factors to fit your specific needs."

The build-in seems not enough for my use case. How to write my own ranking functions ?

I would like to create something like  ts_rank_cd( tsv, 'foo & bar', my_new_normalization_integer)

----
pg 9.5

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

Предыдущее
От: Albe Laurenz
Дата:
Сообщение: Re: Does the initial postgres user have a password?
Следующее
От: uğur Karabin
Дата:
Сообщение: Re: Does the initial postgres user have a password?