KinoSearch::Highlight::Formatter - format highlighted bits within excerpts


NAME

KinoSearch::Highlight::Formatter - format highlighted bits within excerpts

Back to Top


SYNOPSIS

        # abstract base class

Back to Top


DESCRIPTION

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.

Back to Top


METHODS

highlight

        my $highlighted = $formatter->highlight($text);

Highlight text by e.g. surrounding it with asterisks, or html ``strong'' tags, etc.

Back to Top


COPYRIGHT

Copyright 2006 Marvin Humphrey

Back to Top


LICENSE, DISCLAIMER, BUGS, etc.

See KinoSearch version 0.15.

Back to Top

 KinoSearch::Highlight::Formatter - format highlighted bits within excerpts