diff options
author | dan <dan@noemail.net> | 2015-03-07 11:50:31 +0000 |
---|---|---|
committer | dan <dan@noemail.net> | 2015-03-07 11:50:31 +0000 |
commit | 6f876c339dfc8c39aebbcf43adef3ff215402a68 (patch) | |
tree | c3da00700587f4e78ef8888e7a6513a5d0d3f9a8 /src/expr.c | |
parent | 47c467c80e8719d0284adb6d95b999b51b9b080c (diff) | |
download | sqlite-6f876c339dfc8c39aebbcf43adef3ff215402a68.tar.gz sqlite-6f876c339dfc8c39aebbcf43adef3ff215402a68.zip |
Fix the bm25() function so that it multiplies scores by -1 before returning them. This means better matches have a lower numerical score, so "ORDER BY rank" (not "ORDER BY rank DESC") does what you want.
FossilOrigin-Name: 3ee7b5a9f987c269251620ae7cc0fc7876b58ee5
Diffstat (limited to 'src/expr.c')
0 files changed, 0 insertions, 0 deletions