Lucene 4.x implementations of good retrieval functions