Hi Svetlomir, You can use ClassifierContext class ( https://builds.apache.org/hudson/job/Mahout-Quality/javadoc/index.html?org/apache/mahout/common/StringTuple.html) to get the top N matching result and their respective scores.
Hope it helps. Thanks Gaurav