KinoSearch::Highlight::Formatter - format highlighted bits within excerpts |
KinoSearch::Highlight::Formatter - format highlighted bits within excerpts
# abstract base class
Formatter objects serve one purpose: they highlight pieces of text within an excerpt. The text might be a single term, or it might be a phrase.
my $highlighted = $formatter->highlight($text);
Highlight text by e.g. surrounding it with asterisks, or html ``strong'' tags, etc.
Copyright 2006 Marvin Humphrey
See KinoSearch version 0.15.
KinoSearch::Highlight::Formatter - format highlighted bits within excerpts |