Apache Lucene open-source search software
Updated with new information on using new QueryScorer.getMaxWeight
Mark Harwood972f2923bbde
diff --git a/sandbox/contributions/highlighter/src/java/org/apache/lucene/search/highlight/package.html b/sandbox/contributions/highlighter/src/java/org/apache/lucene/search/highlight/package.htmlindex 9b1b0b3db7f..541a05ee0d8 100755--- a/sandbox/contributions/highlighter/src/java/org/apache/lucene/search/highlight/package.html+++ b/sandbox/contributions/highlighter/src/java/org/apache/lucene/search/highlight/package.html@@ -40,7 +40,9 @@ A subtle use of color can help emphasise the reasons for matching (useful when dyou 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>