blob: 0feab6fe0f4cd5e941dd311819ab43049899f3d0 [file] [log] [blame]
package Krawfish::Index::Rank::MultiFields;
use parent 'Krawfish::Index::Rank';
use strict;
use warnings;
# Fields with multiple values need to create
# two ranking vectors: a forward rank and a
# backward rank. To be more flexible regarding
# fields it may be beneficial to only keep
# both directions and do not differ.
#
# The forward ranking takes all lexicographically
# smallest values into account (and ignores the rest),
# while the backward ranking takes the lexicographically
# greatest value into account and ignores the rest.
1;