Module: Blur::ScoreType

Defined in:
lib/active_blur/thrift/blur_types.rb

Constant Summary collapse

SUPER =

During a multi Record match, a calculation of the best match Record plus how often it occurs within the match Row produces the score that is used in the scoring of the SuperQuery.

0
AGGREGATE =

During a multi Record match, the aggregate score of all the Records within a ColumnFamily is used in the scoring of the SuperQuery.

1
BEST =

During a multi Record match, the best score of all the Records within a ColumnFamily is used in the scoring of the SuperQuery.

2
CONSTANT =

A constant score of 1 is used in the scoring of the SuperQuery.

3
VALUE_MAP =
{0 => "SUPER", 1 => "AGGREGATE", 2 => "BEST", 3 => "CONSTANT"}
VALID_VALUES =
Set.new([SUPER, AGGREGATE, BEST, CONSTANT]).freeze