KinoSearch::Highlight::HeatMap - Density of relevant data in a string.
Density of relevant data in a string.
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.
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.
KinoSearch::Highlight::HeatMap isa KinoSearch::Object::Obj.
Copyright 2005-2010 Marvin Humphrey
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.