DOKK / manpages / debian 10 / libplucene-perl / Plucene::Search::Similarity.3pm.en
Plucene::Search::Similarity(3pm) User Contributed Perl Documentation Plucene::Search::Similarity(3pm)

Plucene::Search::Similarity - the score of a query

The score of a query for a given document.

        my $norm = $sim->norm($num_term);

        my $byte_norm = $sim->byte_norm($byte);

Computes a score factor based on a term or phrase's frequency in a document.

Computes a score factor for a phrase.

Computes a score factor based on the fraction of all query terms that a document contains.

2018-04-02 perl v5.26.1