Author image Marvin Humphrey
and 1 contributors

NAME

KinoSearch::Highlight::HeatMap - Density of relevant data in a string.

SYNOPSIS

    # TODO.

DESCRIPTION

A HeatMap stores a number for each location in a string, indicating the "heat" (density) of relevant data in areas which match a search query.

CONSTRUCTORS

new( [labeled params] )

    my $heat_map = KinoSearch::Highlight::HeatMap->new(
        spans  => \@highlight_spans,
        window => 100,
    );
  • spans - An array of Spans, which need not be sorted and will not be modified.

  • window - The greatest distance between which heat points may reinforce each other.

INHERITANCE

KinoSearch::Highlight::HeatMap isa KinoSearch::Obj.

COPYRIGHT

Copyright 2005-2009 Marvin Humphrey

LICENSE, DISCLAIMER, BUGS, etc.

See KinoSearch version 0.30.