How lucene’s mlt works

less than 1 minute read

###TL;DR It takes the document, computes tf/idf, takes the top 25 (configurable) terms, and queries the DB with these terms with a boost.

The long version is extremly interesting, go read it - it right here

Updated: