It appears the API is flexible, and you can write your own query scoring algorithm, though it looks like it does come with a simple vector based TF/IDF scoring system:
http://jakarta.apache.org/lucene/docs/api/org/apache/lucene/search/DefaultSimilarity.html |