Remix.run Logo
Tin: full-text search for Postgres(planetscale.com)
6 points by ibobev a day ago | 2 comments
torutofu a day ago | parent [-]

Curious how the ranking holds up on messy product text versus something like ParadeDB.

dukepiki 17 hours ago | parent [-]

BM25 is pretty similar everywhere: if a word in your query appears a lot in a document, the score for that document (for that one query) goes up, especially if that word isn't in very many other documents.

There are a couple of tuning parameters, and the notion of what a "word" is varies based on the tokenizer and stemming you use.

So it won't be exactly the same, but it's likely to be close.