diff options
author | Teodor Sigaev <teodor@sigaev.ru> | 2006-03-02 19:07:19 +0000 |
---|---|---|
committer | Teodor Sigaev <teodor@sigaev.ru> | 2006-03-02 19:07:19 +0000 |
commit | 38c4fe87ac86965253235edf46a5908e49c8478e (patch) | |
tree | 51b68da465c5c0a314594cc2e583de2673a63eea /src/backend/access/gist/gistutil.c | |
parent | 85fa9f516c6e1d0fd30303a7cf1b182e1d7d69d9 (diff) | |
download | postgresql-38c4fe87ac86965253235edf46a5908e49c8478e.tar.gz postgresql-38c4fe87ac86965253235edf46a5908e49c8478e.zip |
Significantly improve ranking:
1) rank_cd now use weight of lexemes
2) rank_cd and rank can use any combination of normalization methods:
no normalization
normalization by log(length of document)
-----/------- by length of document
-----/------- by number of unique word in document
-----/------- by log(number of unique word in document)
-----/------- by number of covers (only rank_cd)
Improve cover's search.
TODO: changes in documentation
Diffstat (limited to 'src/backend/access/gist/gistutil.c')
0 files changed, 0 insertions, 0 deletions