blob: 0dcf95f45707dd488463e981b242981b579ac61c [file] [log] [blame]
package Krawfish::Index::Rank::SubTerms;
use parent 'Krawfish::Index::Rank';
use strict;
use warnings;
warn 'DEPRECATED';
# While FieldsRank is defined per Segment,
# TermRank is defined per Dictionary.
# That means per node there are two Term-Ranks
# per direction (prefix and suffix):
# One static and one dynamic.
#
# TODO:
# should have a similar API as FieldsRank!
# TODO:
# There are two possible rank value types:
# 1 VALUE IS EVEN: The global rank from
# the static dictionary
# 2 VALUE IS ODD: The prerank, means,
# it is sorted based on the rank and takes the place
# between the two rank values, but it may occurr
# multiple types for different values.
# This comes from the dynamic dictionary.
1;