Search Postgresql Archives

postgresql & Fulltext & ranking & my own functions

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

 



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

[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