KinoSearch::Highlight::Formatter(3pm)

KinoSearch::Highlight::Formatter3pm

Format highlighted bits within excerpts

Usage

        # abstract base class

Overview

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.

Methods

highlight

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

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

LICENSE, DISCLAIMER, BUGS, etc.

See KinoSearch version 0.165.

From libkinosearch-perl 0.165-2 in Debian 6.0 (Squeeze). Parsed by carta from the page's man source.