NAME
KinoSearch::Posting::RichPosting - Posting with per-position boost.
SYNOPSIS
# used indirectly, by specifying in FieldSpec subclass
package MySchema::Category;
use base qw( KinoSearch::FieldSpec::text );
sub posting_type { 'KinoSearch::Posting::RichPosting' }
DESCRIPTION
RichPosting is similar to ScorePosting, but weighting is per-position rather than per-field. To exploit this, you need a custom Analyzer which assigns varying boosts to individual Token objects.
A typical application for RichPosting is an HTMLAnalyzer which assigns boost based on the visual size and weight of the marked up text: H1 blocks get the greatest weight, H2 blocks almost as much, etc.
COPYRIGHT
Copyright 2007 Marvin Humphrey
LICENSE, DISCLAIMER, BUGS, etc.
See KinoSearch version 0.20.