Name

sum_rank — combine full-text rank vector elements into a single score

Synopsis

double precision sum_rank( in rank_vector any);
 

Description

sum_rank computes a combined score for full-text search rank aggregation. It expects a 3-element vector of (rank, total, hit-count) and returns a single double precision score. Used by Virtuoso's free-text search machinery and not normally called directly by applications.

Parameters

rank_vector

A 3-element vector (rank, total, hit-count) as produced by free-text ranking.

Return Types

A double precision combined rank score.


© 1992 - OpenLink Software. All rights reserved.

Making Technology Work for You®