See [this post](https://stackoverflow.com/questions/3060636/lucene-score-calculation-with-a-prefixquery). Requires rewrite method of PrefixQuery explicitly set to MultiTermQuery.SCORING_BOOLEAN_QUERY_REWRITE, which has a performance impact.