I wrote an in-depth tutorial describing how to implement a modern learning to rank system in Apache Solr - "From Zero to Learning to Rank in Apache Solr".