Updated with new information on using new QueryScorer.getMaxWeight

git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@151026 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Mark Harwood 2005-01-07 21:28:34 +00:00
parent ceb895e772
commit 972f2923bb
1 changed files with 3 additions and 1 deletions

View File

@ -40,7 +40,9 @@ A subtle use of color can help emphasise the reasons for matching (useful when d
you want to see what the basis of the similarities are)</p>
<p>The QueryScorer class has a new constructor which can use an IndexReader to derive the IDF (inverse document frequency)
for each term in order to influcence the score. This is useful for helping to extracting the most significant sections
of a document and in supplying scores used by the new GradientFormatter to color significant words more strongly</p>
of a document and in supplying scores used by the new GradientFormatter to color significant words more strongly.
The QueryScorer.getMaxWeight method is useful when passed to the GradientFormatter constructor to define the top score
which is associated with the top color.</p>