Clarity score calculations on to of a Lucene index