The following API documents refer to the QueryScorer.getMaxWeight method:
"The QueryScorer.getMaxWeight method is useful when passed to the GradientFormatter constructor to define the top score which is associated with the top color."
"See QueryScorer.getMaxWeight which can be used to calibrate scoring scale"
However, the QueryScorer class does not declare a getMaxWeight method in lucene 4.1, according to its document:
Instead, the class declares a getMaxTermWeight method. Is that the correct method in the preceding two documents? If it is, please revise the two documents.