org.apache.lucene.search.highlight

Class SpanGradientFormatter

  • All Implemented Interfaces:
    Formatter


    public class SpanGradientFormatter
    extends GradientFormatter
    Formats text with different color intensity depending on the score of the term using the span tag. GradientFormatter uses a bgcolor argument to the font tag which doesn't work in Mozilla, thus this class.
    See Also:
    GradientFormatter