Highlighter.Net 2.0.0

GradientFormatter Constructor 

Sets the color range for the IDF scores

public GradientFormatter(
   float maxScore,
   string minForegroundColor,
   string maxForegroundColor,
   string minBackgroundColor,
   string maxBackgroundColor
);

Parameters

maxScore
minForegroundColor
maxForegroundColor
minBackgroundColor
maxBackgroundColor

See Also

GradientFormatter Class | Lucene.Net.Highlight Namespace