aboutsummaryrefslogtreecommitdiff
path: root/src/expr.c
diff options
context:
space:
mode:
authordan <dan@noemail.net>2015-03-07 11:50:31 +0000
committerdan <dan@noemail.net>2015-03-07 11:50:31 +0000
commit6f876c339dfc8c39aebbcf43adef3ff215402a68 (patch)
treec3da00700587f4e78ef8888e7a6513a5d0d3f9a8 /src/expr.c
parent47c467c80e8719d0284adb6d95b999b51b9b080c (diff)
downloadsqlite-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