max-mapper / sqlite-search

2 stars 1 forks source link

ORDER BY relevance #7

Open blahah opened 8 years ago

blahah commented 8 years ago

For most full-text (or all-fields see #4) search situations we're looking for a relevance metric.

Possibly this should be a separate module as an sqlite extension, but once that's done how about offering the feature in sqlite-search?

blahah commented 8 years ago

This sqlite extension should do it: https://github.com/neozenith/sqlite-okapi-bm25

max-mapper commented 8 years ago

FTS5 supports BM25 I believe

blahah commented 8 years ago

OK great, so wait for #6 ?

max-mapper commented 8 years ago

yea

On Tuesday, March 1, 2016, Richard Smith-Unna notifications@github.com wrote:

OK great, so wait for #6 https://github.com/maxogden/sqlite-search/issues/6 ?

— Reply to this email directly or view it on GitHub https://github.com/maxogden/sqlite-search/issues/7#issuecomment-190828920 .

Sent from my phone